#42086 [NEW]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
| From: | sanderovich at avaya dot com | Date: | Tue, 24 Jul 2007 14:13:07 +0000 |
| Subject: | #42086 [NEW]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-115378@lists.php.net to get a copy of this message | ||
From: sanderovich at avaya dot com
Operating system: linux
PHP version: 5.2.3
PHP Bug Type: SOAP related
Bug description: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
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 bug report at http://bugs.php.net/?id=42086&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42086&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42086&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42086&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42086&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42086&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42086&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42086&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42086&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42086&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42086&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42086&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42086&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42086&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42086&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42086&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42086&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42086&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42086&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42086&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42086&r=mysqlcfg