Re: [SOAP] PHP5 SoapClient and Apache Axis interop
| From: | George Schlossnagle | Date: | Sun, 10 Apr 2005 22:43:26 +0000 |
| Subject: | Re: [SOAP] PHP5 SoapClient and Apache Axis interop | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1838@lists.php.net to get a copy of this message | ||
On Apr 10, 2005, at 3:02 PM, Mark Slater wrote:
=================================================== Using the SoapClient, I've done this: $msgParams = array(The namespacing in the above request looks correct for your wsdl. Your wsdl's types section sets the targetNamespace to http://rpc.whisper.ucsc.edu, and username/password are not explicitly namespaced, so they should also be in http://rpc.whisper.ucsc.edu. Can you post the response you get to that message? George'username' => $this->username, 'password' => $this->password );$result = $userService->confirmCredentials( (object) $msgParams ); which generates this request: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelopexmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://rpc.whisper.ucsc.edu"><SOAP-ENV:Body> <ns1:confirmCredentials><ns1:username>123</ns1:username> <ns1:password>poi</ns1:password></ns1:confirmCredentials> </SOAP-ENV:Body> </SOAP-ENV:Envelope>