Menu
hi…
I tried to add a class to my SOAP server script that the client can instantiate.
I tried using addClass(“classNAme”) and also by adding the constructor as if it were a normal method like this:
$server = new SoapServer(“SOAPY.wsdl”);
$server->addFunction(“constructorMethod”);
I think there must be a special WSDL entry for defining classes or constructors,does anybody know?
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….