note 82113 added to function.soap-soapclient-soapcall
| From: | owidjaya at gmail dot com | Date: | Thu, 27 Mar 2008 22:48:28 +0000 |
| Subject: | note 82113 added to function.soap-soapclient-soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137647@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 66.207.199.35
Probable Submitter: 207.194.15.23
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-soapcall.php
Edit -- https://master.php.net/note/edit/82113
Del: integrated -- https://master.php.net/note/delete/82113/integrated
Del: useless -- https://master.php.net/note/delete/82113/useless
Del: bad code -- https://master.php.net/note/delete/82113/bad+code
Del: spam -- https://master.php.net/note/delete/82113/spam
Del: non-english -- https://master.php.net/note/delete/82113/non-english
Del: in docs -- https://master.php.net/note/delete/82113/in+docs
Del: other reasons-- https://master.php.net/note/delete/82113
Reject -- https://master.php.net/note/reject/82113
Search -- https://master.php.net/manage/user-notes.php