Re: [SOAP] Re: PHP4 SOAP Request problem logging in to salesforce.com

From: Date: Wed, 26 Oct 2005 22:31:17 +0000
Subject: Re: [SOAP] Re: PHP4 SOAP Request problem logging in to salesforce.com
References: 1 2 3 4 5 6 7  Groups: php.soap 
Request: Send a blank email to php-soap+get-2038@lists.php.net to get a copy of this message
On Wed, 26 Oct 2005 16:39:28 -0400, Colin Goldberg wrote: > (The wsdl - suitable for the "partner" API - is located at > Mµø±2a~x/+ÇñMÄ > http://www.thebizconnector.com/web_services/wsdl/sforce_partner.wsdl) > This client works on my computer. Of course I cannot verify the actual login since I dont have an account. #!/usr/bin/php <?php require 'SOAP/Client.php'; $client = new SOAP_WSDL('http://www.thebizconnector.com/web_services/wsdl/sforce_partner.wsdl'); $client->trace = 1; // print_r($client->generateProxyCode()); // exit; $proxy = $client->getProxy(); $res = $proxy->login('foo', 'bar'); if (PEAR::isError($res)) echo $res->message() . "\n"; else print_r($res); echo $proxy->__last_request . "\n"; echo $proxy->__last_response . "\n"; ?> PS. Could you please stop top posting and insert your answers where the belong? It makes it a lot more easy to navigate and follow the thread. Thanks in advance. -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

« previous php.soap (#2038) next »