Re: Passing objects to soap server, complexType, classmap

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

 



On Mon, 19 Jun 2006 10:17:06 +1200, Morgan Pyne wrote:

> 
> I have defined a classmap on both the client & server for the object that
> I am trying to pass as a parameter.
If you are building your server and client from a WSDL you do not need to
use classmap. Simple wrap the response inside a SoapParam:

$obj = new someObj();

return SoapParam($obj, 'name_of_comlexType_from_WSDL');

The server/client will automatically lookup the definition in the WSDL to
be able to serialize or deserialize.

-- 
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

-- 
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