Re: Web service with several operations : only the first one works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jun 8, 2005, at 6:17 PM, Michael Rasmussen wrote:

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.

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.

George

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux