Hi Deiter,
Internal structure of Zend_Soap_Client was a bit changed with just released ZF 1.6.0 RC3
Zend_Soap_Client has _doRequest() method which may be overridden in children.
See Zend_Soap_Client_Local as an example.
PS Two additional methods intended to customize client behavior are _preProcessArguments() and _preProcessResult(). They are automatically invoked during a request.
With best regards,
Alexander Veremyev.
From: Dieter Devlieghere [mailto:dieter.devlieghere@extendit.be]
Sent: Wednesday, August 20, 2008 6:34 PM
To: fw-webservices@lists.zend.com
Subject: [fw-webservices] Zend_Soap_Client: use custom _soapClient object?
Hi,
Is it possible to somehow override the __doRequest method of the _soapClient property of Zend_Soap_Client?
We have an issue where the soap server has problems with empty nodes and I would like to remove possible empty nodes on __doRequest()…
It seems kind of stupid to subclass Zend_Soap_Client only to use a different object as _soapClient (and rewrite the entire Zend_Soap_Client::_initSoapClientObject method)?
Regards,
Dieter Devlieghere
没有评论:
发表评论