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


AddThis Social Bookmark Button
  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 to 1 of 1