WWW-Salesforce - Not able to querry the salesforce after connecting to it - Program aborts

Posted on Fri Sep 26 09:45:59 2008 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);
Write a response