ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using the Salesforce.com API
Subject:   create works but update errors
Date:   2007-03-20 10:34:22
From:   thvv
My code is a minor mod to the example.


$sfresult = $sforce->update(%lead);


I get the message
Expected a hash with key 'type' as first argument at soaptest6.pl line 49
Can't call method "result" without a package or object reference at soaptest6.pl line 50.


I dumped the hash %lead and it has a key 'type'.


this is recent CPAN code. $VERSION = '0.082';


am I missing something obvious?


1 to 1 of 1
  1. Re: create works but update errors
    2007-07-30 06:12:24  JanTheofel [View]

    • Re: create works but update errors
      2008-08-01 09:04:35  sb4oreilly [View]

1 to 1 of 1