PHP SOAP_WSDL() clients & dotNET web services

From: Date: Wed, 22 Jun 2005 21:27:02 +0000
Subject: PHP SOAP_WSDL() clients & dotNET web services
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19727@lists.php.net to get a copy of this message
Hello, I've modified a short PEAR::SOAP client that I found on the web to access my web service written in dotNET. I get no errors in my logs, but the "subtract" function always returns "0". (My dotNET client returns the correct result) Here's the PHP client code: <?php require_once 'SOAP/Client.php'; // Modify the URL here - note the "?wsdl" at the end $wsdl = new SOAP_WSDL ('https://secure.cpsloans.net/cpswebservice/Service1.asmx?wsdl'); $client = $wsdl->getProxy(); $client->setOpt('curl',CURLOPT_SSL_VERIFYPEER,0); echo ( $client->subtract("10","23") ); ?> And here are my packages installed: pear list Installed packages: =================== Package Version State Archive_Tar 0.9 stable Cache 1.5.5RC3 beta Cache_Lite 1.5.0 beta Console_Getopt 1.0 stable DB 1.3 stable HTTP 1.3.6 stable HTTP_Request 1.2.4 stable Log 1.8.7 stable Mail 1.0.1 stable Net_SMTP 1.0 stable Net_Socket 1.0.1 stable Net_URL 1.0.14 stable PEAR 1.1 stable SOAP 0.9.1 beta Savant2 2.3.3 stable XML_Parser 1.0.1 stable XML_RPC 1.0.4 stable # rpm -q -a | grep -i php php-mysql-4.3.2-23.ent php-ldap-4.3.2-23.ent php-imap-4.3.2-23.ent php-odbc-4.3.2-23.ent php-4.3.2-23.ent php-pgsql-4.3.2-23.ent Is this an issue with document/literal format vs RPC format? If so, is there an easy solution? What's the best way to go about debugging this? Any help appreciated. Thanks! -- Jesse Guardiani jesse@wingnet.net

« previous php.pear.general (#19727) next »