Re: [SOAP] PHP5 SoapClient and Apache Axis interop
| From: | WAJSBERG Julien RD-BIZZ | Date: | Mon, 11 Apr 2005 07:42:03 +0000 |
| Subject: | Re: [SOAP] PHP5 SoapClient and Apache Axis interop | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1843@lists.php.net to get a copy of this message | ||
George Schlossnagle a écrit :
>
> On Apr 10, 2005, at 3:02 PM, Mark Slater wrote:
>
>>
>> ===================================================
>>
>> Using the SoapClient, I've done this:
>>
>> $msgParams = array(
>> 'username' => $this->username,
>> 'password' => $this->password );
>> $result = $userService->confirmCredentials( (object) $msgParams );
>>
>> which generates this request:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <SOAP-ENV:Envelope
>>
>> xmlns: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>
>
>
> 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 ^íõkÄ™w
> ªŸdofÂhttp://rpc.whisper.ucsc.edu.
>
> Can you post the response you get to that message?
I agree with this answer...
Mark, did you try to call this Web Service with an Axis client ? and if
so, which request did it generate ?
--
Julien