Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $client = new SoapClient (NULL, array(
- 'location' => 'http://soap.server.ua',
- 'uri' => 'http://soap.server.ua/API',
- 'soap_version' => SOAP_1_2));
- $return = $client->__soapCall("GetToken",
- array(
- new SoapParam(new SoapVar('login', XSD_STRING), 'LOGIN'),
- new SoapParam(new SoapVar('password', XSD_STRING), 'PASSWORD')
- ),
- array('soapaction' => 'http://soap.server.ua/API#GetToken')
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement