function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PerlPerl 

Not able to connect to Saleforce from Perl using www::salesforce

All , I am new to salesforce , We are trying to connect to salesforce from PERL using WWW::Salesforce::Simple;
 
I am getting the following error when i run the code
500 Server closed connection without sending any data back at //pkgs/linux/intel/perl/5.8.8.rhas3.x86/lib/site_perl/5.8.8/WWW/Salesforce.pm line 469
 
But we are able to connec to the salesforce site using the same username and password and also we are able to ping the salesforce site from the unix machine.
 
Is there any steps i should follow before coding , i used the steps mentioned in http://www.oreillynet.com/pub/a/network/2006/11/27/using-the-salesforcecom-api.html  , Do i need to put any wsdl file in the perl path , if yes can you tell me where should i place the wsdl file and the steps to connect to salesforce.
 
Thanks,
Prasanna
gmacgmac
Did you add the 'security token' to the end of your password?
gmacgmac
Edit the [perllib]/WWW/Salesforce.pm file to
  use SOAP::Lite +trace => 'all';
may help
PerlPerl

Hi Gmac,

  We are able to connect to salesforce after we changed the https:// to http:// , But now we are getting error in

getting_session_header.

"500 Connect failed: connect: Connection refused; Connection refused at //pkgs/linux/intel/perlmods_intcrm/5.8.8.rhas3.x86/lib/site_perl//5.8.8/WWW/Salesforce.pm line 169"
 
Thanks,
Prasanna
PerlPerl

Hi Gmac,

  We are able to connect to salesforce after we changed the https:// to http:// , But now we are getting error in

getting_session_header.

"500 Connect failed: connect: Connection refused; Connection refused at //pkgs/linux/intel/perlmods_intcrm/5.8.8.rhas3.x86/lib/site_perl//5.8.8/WWW/Salesforce.pm line 169"
 
Thanks,
Prasanna
PerlPerl
I have added the security token also , but no luck. the code aborts while trying to get the session header