Hey!.
I'm trying to add some soap headers using SoapHeader class, so I
create a new class that extends from Zend_Soap_Client, I'm using the
callback (_doRequest) to get the current SoapClient instance and add
my soap headers, but cause the method method returns void I got an
exception: "SoapClient::__doRequest() returned non string value" what
do I need to return? the $client?, here's my class:
class My_Client extends Zend_Soap_Client
{
public function _doRequest( Zend_Soap_Client_Common $client,
$request, $location, $action, $version, $one_way = null )
{
// ... extra headers logic.
$client->__setSoapHeaders( $this->getWsSecurityHeader() );
}
}
Thanks.