Re: [SOAP] Web service with several operations : only the first one works
| From: | Michael Rasmussen | Date: | Wed, 08 Jun 2005 22:17:04 +0000 |
| Subject: | Re: [SOAP] Web service with several operations : only the first one works | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1928@lists.php.net to get a copy of this message | ||
On Wed, 08 Jun 2005 12:28:57 -0400, George Schlossnagle wrote:
> Are 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.
I would suggest Guillaume, with his present setup, to switch to
rpc/encoded instead.
--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917