2008年9月23日星期二

RE: [fw-webservices] Zend_Soap_Client: use custom _soapClient object?

Hello,

 

I don’t understand why you give a Zend_Soap_Client_Common object in the _dorequest method. We are in the context of a soap client, so why do I need to pass that object? It doesn’t make sense to me.

 

Can someone provide me with a sample of how to use Zend_Soap_Client::_doRequest in a child class of Zend_Soap_Client?

 

Dieter

 

From: Dieter Devlieghere [mailto:dieter.devlieghere@extendit.be]
Sent: donderdag 28 augustus 2008 11:38
To: Alexander Veremyev; fw-webservices@lists.zend.com
Subject: RE: [fw-webservices] Zend_Soap_Client: use custom _soapClient object?

 

This seems to be just what I needed!

 

I will check it out soon.

 

Dieter

 

From: Alexander Veremyev [mailto:alexander.v@zend.com]
Sent: woensdag 27 augustus 2008 9:47
To: Dieter Devlieghere; fw-webservices@lists.zend.com
Subject: RE: [fw-webservices] Zend_Soap_Client: use custom _soapClient object?

 

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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.6/1621 - Release Date: 19.08.2008 18:53

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.9/1636 - Release Date: 26/08/2008 19:09

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.10/1638 - Release Date: 27/08/2008 19:06

没有评论: