Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Help with Salesforce.pm module

by frieduck (Hermit)
on May 21, 2013 at 13:37 UTC ( #1034534=note: print w/ replies, xml ) Need Help??


in reply to Help with Salesforce.pm module

That looks like a bug that was fixed in the latest version of SOAP-Lite. From the changelog:

 ! #78692 / #84724 / #83715 Sending large object (many levels deep) throws error Incorrect parameter


Comment on Re: Help with Salesforce.pm module
Replies are listed 'Best First'.
Re^2: Help with Salesforce.pm module
by Mulga (Initiate) on May 21, 2013 at 21:55 UTC

    Added Carp::Always as suggested.

    It doesn't appear to have given anything more

    main::(test-salesforce-03-cpan.pl:7): 7: my $uid = 'uid@domain.trial.sandbox1'; DB<1> c Incorrect parameter at c:/Perl64/site/lib/SOAP/Lite.pm line 1993. SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +e8e8)', 10, '', 'loginResponse ', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm li +ne 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495e1a8)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +e1d8)', 5, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495db60)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +de78)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495ed20)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +dde8)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495eb28)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +dc50)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495ee40)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +dd58)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 1985 SOAP::SOM::match('SOAP::SOM=HASH(0x4960d10)', '//loginResponse +/result/sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm line 1910 SOAP::SOM::valueof('SOAP::SOM=HASH(0x4960d10)', '//loginRespon +se/result/sessionId') called a t c:/Perl64/site/lib/WWW/Salesforce.pm line 505 WWW::Salesforce::login('WWW::Salesforce::Simple', 'username', +'uid@domain.trial.sandbox 1', 'password', 'passwordtoken') called at c:/Perl64/site/lib/WWW/Sale +sforce/S imple.pm line 19 WWW::Salesforce::Simple::new('WWW::Salesforce::Simple', 'usern +ame', 'uid@domain.trial.s andbox1', 'password', 'passwordtoken') called at test-salesforce-03-cp +an.pl li ne 17 Debugged program terminated. Use q to quit or R to restart,
      um, carp::always is not for inside the debugger

        Ok, be kind, how should I be using it to get the output that's needed?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2015-07-31 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls