I have tried everywhere to achieve it but it has been impossible for me, I do not want to use NuSoap and the only thing I need to match everything with the PHP SoapClient is to be able to indicate the soapaction as I can mount it in the NuSoap.
In NuSoap I have it like this:
$result = $this->proxy->call('getData', array($data), 'http://tempuri.org/','server.com.co/service.asmx/getData', false);
There it works perfectly note that I must put the soapaction as a REST type "server.com.co/service.asmx/getData"
In pure PHP I've tried it this way:
$header = new SoapHeader('http://tempuri.org/','server.com.co/service.asmx/getData',$data,false);
$this->client->__setSoapHeaders(array($header));
// Se realiza la solicitud
$result = $this->client->getData($data);
But it returns me error. Can someone tell me if there is a way to achieve this? Thanks