Mapping incoming object to PHP class
| From: | Ville Mattila | Date: | Sat, 31 Dec 2005 11:23:56 +0000 |
| Subject: | Mapping incoming object to PHP class | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2064@lists.php.net to get a copy of this message | ||
Hello list members,
I'd like to send a CustomerEntry object to the PHP5 SoapServer and call the CustomerEntry->SaveToDb() function to save this customer information to the database. With proper WSDL definitions, I am able to get CustomerEntry properties available in the client side (at .NET framework) and can set them and build a CustomerEntry object. Sending the object in an input message to SoapServer works and data moves, but the object is typed as stdClass at PHP - even I define a classmap for SoapServer. Is there any possibility to map or copy the incoming object to an existing PHP class to get all class functions available?
Thanks and happy new year!
Ville