SOAP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
live4eva_2
Forum Newbie
Posts: 4
Joined: Tue Dec 09, 2008 12:18 am

SOAP

Post 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....
Post Reply