Answer the question
In order to leave comments, you need to log in
Authorization via SOAP WSDL how?
There is:
Array
(
[0] => LoginResponse Login(LoginRequest $parameters)
)
Array
(
[0] => struct LoginRequest {
string Password;
string User;
}
[1] => struct LoginResponse {
TLoginResponseData ResponseData;
TResponseStatusData ResponseStatus;
}
[2] => struct TLoginResponseData {
string SessionToken;
}
[3] => struct TResponseStatusData {
integer ErrorCode;
string ErrorMessage;
}
ini_set('display_errors', 1);
error_reporting(E_ALL);
$client = new SoapClient('https://aisws.ingos.ru/sales-test/SalesService.svc?wsdl', array('trace' => 1));
//print_r($client->__getFunctions());
//print_r($client->__getTypes());
$parameters = array ('Password' => 'passsword', 'User' => 'user');
$request = $client->Login($parameters);
$result = $request->LoginRequest;
print_r ($result);
<b>Notice</b>: Undefined property: stdClass::$LoginRequest in <b>index.php</b> on line <b>50</b><br />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question