How to call PHP services with multiple Binding

1

I need to connect PHP to a webservice .net that has multiple bindings and both with methods of the same name. SoapClient is always calling the first one even when Action and location have been set explicitly.

 $options = array(
           'login' => $login,
            'password' => $password,
            'trace' => true,
            'Action'=> $server.'/'.$service.'/'.$operation,
            "location" => $server.'/'.$binding
);
$client = new SoapClient($server.'?wsdl', $options);

$response = $client->operation($inputObject);
    
asked by anonymous 18.02.2016 / 11:02

0 answers