Posted on 2008-09-26 06:45:59-07 by prasanna
Not able to querry the salesforce after connecting to it - Program aborts
Hi

We are using the PERL www::salesforce module to connect to the salesforce , Previously i had difficulty in connecting to salesforce , I connected to salesforce after changing the proxy from https:// to http://. (I am able to get the session ID)

Now my code aborts while getting the session header, I got the session id , but when there is call to get the session header using the session id , the code abort.

Because of this i am not able to do any query, could you please help me to overcome this issue

Thanks, prasanna

My Code:
use WWW::Salesforce; #use salesforce; use Crypt::SSLeay; my $sforce = WWW::Salesforce->login( username => 'username', password => 'password' ) or die "not c +onnectedte $!"; print "connected \n"; my $query = "SELECT Id,Name FROM Account"; my $result = $sforce->search('searchString' => $query);
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.