Привел к такому виду:
$client = new SoapClient("http://a2services.cloudapp.net:19321/SimpleService?wsdl", array(
"trace" => 1,
'soap_version' => SOAP_1_2,
"exceptions" => true
));
$actionHeader = new SoapHeader('http://www.w3.org/2005/08/addressing',
'Action',
'http://a2services.cloudapp.net:19321/SimpleService');
$client->__setSoapHeaders($actionHeader);
print($client-> __call('GetString',array()));
Выдает ошибку:
"Fatal error: Uncaught SoapFault exception: [s:Sender] The SOAP action specified on the message, '
a2services.cloudapp.net:19321/SimpleService', does not match the HTTP SOAP Action, '
tempuri.org/ISimpleService/GetString'. in...."
Возможно я пишу не тот адрес третьим параметром в SoapHeader?