#42692 [Opn->Asn]: Procedure 'int1' not present with doc/lit SoapServer

From: Date: Tue, 18 Sep 2007 18:57:48 +0000
Subject: #42692 [Opn->Asn]: Procedure 'int1' not present with doc/lit SoapServer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-117659@lists.php.net to get a copy of this message
ID: 42692 Updated by: iliaa@php.net Reported By: michael dot tutty at gmail dot com -Status: Open +Status: Assigned Bug Type: SOAP related Operating System: SuSE 10.2 PHP Version: 5CVS-2007-09-18 (snap) -Assigned To: +Assigned To: dmitry Previous Comments: ------------------------------------------------------------------------ [2007-09-18 03:26:01] michael dot tutty at gmail dot com Description: ------------ Calling AddNumbers on the sample SOAP server class yields the familiar "Procedure 'xxx' not present" exception when calling $server->handle(). Calling the reflectString(string) method works. It seems as though the number of parameters makes a difference. This seems like a pretty big problem, as it prevents PHP from acting as a WS-I-compliant service to .NET and Java-based consumers. I tested with this service class as part of verifying bug 42086. It is not fixed in this example. Since I'm not the owner of 42086, I am submitting this report instead. Reproduce code: --------------- http://pastebin.com/m786a07d4 Expected result: ---------------- The SoapServer class should recognize the method being called. Actual result: -------------- The SoapServer class appears to look for an implementation method that matches the name of the first Xml tag in the SOAP envelope. I think this would be correct for rpc/encoded usage, but not for doc/lit. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42692&edit=1

« previous php.bugs (#117659) next »