WSDL proxy code tweaking
| From: | Mike Carter | Date: | Thu, 25 Sep 2003 15:18:08 +0000 |
| Subject: | WSDL proxy code tweaking | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1075@lists.php.net to get a copy of this message | ||
Hi,
I currently build my proxy code by manually calling the
generateProxyCode() method and then saving the output to a php file.
I then tweak the proxy generated code to change the class definition to
make it extend from a private class rather than 'SOAP_Client'.
My annoyance at the moment is the .Net webservices are expanding and new
methods pop up each week meaning I need to re-build my proxy scripts.
I was wondeirng if it would be possible to have the WSDL class extended
so that a user could pass in an optional alternative class name to
extend? The constructor of the optional class would also need to be
called.
My reason for this is all my webservices need to have some data from my
session added to their SOAP envelope header - which is done in my
private classes constructor.
Have I missed an alternative way to achieve the header declaration?
Regards,
--
Mike Carter
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________