<?php
//Create the client object
$soapclient = new SoapClient('http://172.30.10.101/tvwebservices/Login.asmx?WSDL');
//Use the functions of the client, the params of the function are in
//the associative array
/*$params = '<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<tryLogin xmlns="http://www.tourvisio.com/">
<db>TVWEB</db>
<agency>B2C</agency>
<user>B2C</user>
<pwd>1</pwd>
</tryLogin>
</soap:Body>
</soap:Envelope';
*/
$params=array('db' => 'TVWEB', 'agency' => 'B2C', 'user' =>'B2C', 'pwd' => '1');
$response = $soapclient->tryLogin($params);
$key= $response->tryLoginResult->AuthKey;
echo $key;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/jIWq5
function name: (null)
number of ops: 14
compiled vars: !0 = $soapclient, !1 = $params, !2 = $response, !3 = $key
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > NEW $4 'SoapClient'
1 SEND_VAL_EX 'http%3A%2F%2F172.30.10.101%2Ftvwebservices%2FLogin.asmx%3FWSDL'
2 DO_FCALL 0
3 ASSIGN !0, $4
20 4 ASSIGN !1, <array>
22 5 INIT_METHOD_CALL !0, 'tryLogin'
6 SEND_VAR_EX !1
7 DO_FCALL 0 $8
8 ASSIGN !2, $8
24 9 FETCH_OBJ_R ~10 !2, 'tryLoginResult'
10 FETCH_OBJ_R ~11 ~10, 'AuthKey'
11 ASSIGN !3, ~11
25 12 ECHO !3
13 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
162.51 ms | 1393 KiB | 13 Q