Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $URL = 'http://soap.yugcontract.ua';
- $client = new SoapClient(null, array(
- 'location' => $URL,
- 'uri' => "http://soap.yugcontract.ua/API",
- 'trace' => 1,
- 'Username' => "mobi_house",
- 'Password' => "Victor9790626",
- 'soap_version' => '1.1'
- ));
- $return = $client->__soapCall("GetToken",
- array('soapaction' => 'http://soap.yugcontract.ua/API#GetToken')
- );
- print_r($client);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement