PHP can only suggest, can decide to make on it.
This code connects to a web service and generates an authorization (authorization and receives a token)
Very common problem of not working code in the parameters passed to the function, look carefully!
$client = new
", array("trace" => 1,'cache_wsdl' => WSDL_CACHE_NONE)
$authenticator = $client->AuthenticateUser(
array( 'Credentials' =>
'IntegrationID' => '1234567890',
'Username' => 'user',
'Password' => 'name'
And that's part of the documentation on this method AuthenticateUser:
www.w3.org/2001/XMLSchema-instance" xmlns:xsd="www.w3.org/2001/XMLSchema" xmlns:soap12="www.w3.org/2003/05/soap-envelope">
What we are interested in is the set of parameters
if translated into php this is the array: array('Credentials' => array('IntegrationID', 'Username', 'Password'))
According to this principle, the whole SOAP works.
P. S. Write to the PM as a code to register on habré...