note 92589 rejected from book.soap by thiago
| From: | thiago@php.net | Date: | Thu, 30 Jul 2009 17:01:47 +0000 |
| Subject: | note 92589 rejected from book.soap by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158926@lists.php.net to get a copy of this message | ||
Note Submitter: mwolff at ltutech dot com
----
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