Page 1 of 1

SOAP

Posted: Tue Dec 09, 2008 3:10 am
by live4eva_2
hi...

To make constructor methods available to a php SOAP client script do i just add the constructor method to the server script as I would a normal function?
ie.
$server = new SoapServer("SOAPY.wsdl");
$server->addFunction("constructorMethod");


Also how do I send arrays/objects via SOAP because I see that there is not
xsd:array or xsd:object type in the W3C spec....