Re: PHP5 SoapClient and Apache Axis interop

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

 




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 http://rpc.whisper.ucsc.edu.


Can you post the response you get to that message?


George

--
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