When you need to get SOAP headers from request the module does not implement this feature.

A possible solution would be (in wsclient_soap.module):

$output_headers = array();
$body = $client->__soapCall($operation, $arguments,$options = NULL,$input_headers = NULL,$output_headers);
$response = new stdClass;
$response->body = $body;
$response->header = $output_headers;
return $response;

Then you could handle the header and body wherever you want.

Thoughts about this?

Comments

druvision’s picture

Status: Active » Closed (duplicate)