Re: [SOAP] Web service with several operations : only the first one works
| From: | George Schlossnagle | Date: | Thu, 09 Jun 2005 01:16:53 +0000 |
| Subject: | Re: [SOAP] Web service with several operations : only the first one works | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1929@lists.php.net to get a copy of this message | ||
On Jun 8, 2005, at 6:17 PM, Michael Rasmussen wrote:
On Wed, 08 Jun 2005 12:28:57 -0400, George Schlossnagle wrote:That's not correct. The operation is inferred from the passed types. So as long as they are all prototyped uniquely (which you can do via named parts), you're fine. GeorgeAre you talking doc/lit? Doc lit infers the methodname from the datatypes passed to the methods. So if your input and output types for the two functions are identical, it will always call the first method. It might help with diagnostics if you post a link to your full wsdl file.Is it not in fact so that if you are doing doc/literal you cannot have methods? To the best of my knowledge a doc/literal service can return an xml-file which then has to be parsed. In that xml-file can ofcourse be any number of methods but the service can only hold one method if you are doing doc/literal.