note 82113 rejected from function.soap-soapclient-soapcall by nlopess
| From: | nlopess@php.net | Date: | Sun, 30 Mar 2008 11:28:05 +0000 |
| Subject: | note 82113 rejected from function.soap-soapclient-soapcall by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-137749@lists.php.net to get a copy of this message | ||
Note Submitter: owidjaya at gmail dot com
----
I have the following
<message name="sendLoginRequest">
<part name="login_id" type="xsd:string" />
<part name="password" type="xsd:string" />
</message>
<message name="sendLoginResponse">
<part name="login_response" type="xsd:string" />
</message>
...
<binding name="OtsLoginServiceBinding"
type="tns:OtsLoginServicePortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"
/>
<operation name="performLogin">
<soap:operation
soapAction="http://schema.seacorcanada.com/performLogin"
/>
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
...
and I want to call on the server
Like so:
$client->__soapCall("performLogin",array("43","Test"));
When I execute I got the following error message:
SoapFault exception: [SOAP-ENV:Server] Procedure 'login_id' not present in
/home/oscar/service.php:6
Stack trace:
#0 /home/oscar/service.php(6): SoapClient->__soapCall('performLogin', Array)
#1 {main}
Can anyone help me?