#42086 [Asn->Fbk]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
| From: | dmitry@php.net | Date: | Wed, 01 Aug 2007 11:10:27 +0000 |
| Subject: | #42086 [Asn->Fbk]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115638@lists.php.net to get a copy of this message | ||
ID: 42086
Updated by: dmitry@php.net
Reported By: sanderovich at avaya dot com
-Status: Assigned
+Status: Feedback
Bug Type: SOAP related
Operating System: linux
PHP Version: 5.2.3
Assigned To: dmitry
New Comment:
I am not able to get code. Link doesn't work. "The file you are
requesting is not accesible due to a hardware or ISP problem. Please
retry Later".
Previous Comments:
------------------------------------------------------------------------
[2007-07-24 14:13:07] sanderovich at avaya dot com
Description:
------------
When using WSI Basic compliant wsdl, a call to functions without
parameters return procedure xxx not found despite the fact that the
function exist(they exist both in the wsdl and in the array returned by
SoapServer::getFunctions()).
Functions with parameters are being executed correctly.
For example:
A Soap call to : firstFunctionWithoutParam()
return the following SoapFault:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Procedure 'firstFunctionWithoutParam' not present
</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
despite the fact that the function exist in the return
SoapServer::getFunctions()
Array
(
[0] => firstFunctionWithoutParam
[1] => secondFunctionWithoutParam
[2] => firstFunctionClassParam
[3] => secondFunctionClassParam
)
Soap Data (from $HTTP_RAW_POST_DATA):
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<firstFunctionWithoutParam/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Soap data for Soap call with parameters:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<firstFunctionClassParam>
<param>oren</param>
<vectparam>one</vectparam>
<vectparam>two</vectparam>
</firstFunctionClassParam>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Thanks for your help
Reproduce code:
---------------
A zip file file SoapClient\Server can be found in following link
http://myfreefilehosting.com/f/bf039ff168_0.1MB
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42086&edit=1