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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Oct 2005 16:39:28 -0400, Colin Goldberg wrote:

> (The wsdl - suitable for the "partner" API - is located at
> 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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux