note 92589 added to book.soap
| From: | mwolff at ltutech dot com | Date: | Thu, 30 Jul 2009 15:39:06 +0000 |
| Subject: | note 92589 added to book.soap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158920@lists.php.net to get a copy of this message | ||
Hi!
I am new to SOAP and really like it. But I have a problem with a soap call which is
$param = array(
'param1'=>$key,
'param2'=>$content2,
'param3'=>$content3,
);
$soapClient->MyFunction($param);
My wsdl file looks like this and some other methods called like this are working fine on another
server; is it a server problem or only a PHP issue (the same call is working in Perl)!
Thanks a lot
WSDL
<xs:complexType name="MyFunction">
<xs:sequence>
<xs:element name="param1" type="xs:string"/>
<xs:element name="content2" type="xs:base64Binary"/>
<xs:element name="content3" type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>
Error message
Fatal error: Uncaught SoapFault exception: [HTTP] Not Found in /var/www/PHP/Sample.php:208
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml
version="...', 'https://server2...',
'MyFunction...', 1, 0)
#1 [internal function]: SoapClient->__call('MyFunction...', Array)
#2 /var/www/PHP/Sample.php(208): SoapClient->MyFunction(Array)
#3 {main}
thrown in /var/www/PHP/LSample.php on line 208
----
Server IP: 209.41.74.194
Probable Submitter: 216.254.92.242
----
Manual Page -- http://www.php.net/manual/en/book.soap.php
Edit -- https://master.php.net/note/edit/92589
Del: integrated -- https://master.php.net/note/delete/92589/integrated
Del: useless -- https://master.php.net/note/delete/92589/useless
Del: bad code -- https://master.php.net/note/delete/92589/bad+code
Del: spam -- https://master.php.net/note/delete/92589/spam
Del: non-english -- https://master.php.net/note/delete/92589/non-english
Del: in docs -- https://master.php.net/note/delete/92589/in+docs
Del: other reasons-- https://master.php.net/note/delete/92589
Reject -- https://master.php.net/note/reject/92589
Search -- https://master.php.net/manage/user-notes.php