Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 806 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 806 Bytes

PHP WSA SOAP Client

WsaSoapClient extends SoapClient to add support for web services that require Web Services Addressing (WS-A) and WSSE authentication.

Example

The example below connects to a web service using WSSE authentication and calls the GetSomething method:

$wsdl = "https://my.example.com/MyWebService?wsdl";

$options = array
(
	'login' => 'my_username',
	'password' => 'my_password'
);

$client = new \Mesmotronic\Soap\WsaSoapClient($wsdl, $options);
$result = $client->GetSomething(array("foo"=>"bar"));

Make a donation

If you find this project useful, why not buy us a coffee (or as many as you think it's worth)?

Make a donation