#42086 [Opn->Asn]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl

From: Date: Tue, 31 Jul 2007 12:53:42 +0000
Subject: #42086 [Opn->Asn]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-115597@lists.php.net to get a copy of this message
ID: 42086 Updated by: iliaa@php.net Reported By: sanderovich at avaya dot com -Status: Open +Status: Assigned Bug Type: SOAP related Operating System: linux PHP Version: 5.2.3 -Assigned To: +Assigned To: dmitry 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

« previous php.bugs (#115597) next »