Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $xml = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="www.rxhub.co.za/RFMService/v1" xmlns:rxh="http://schemas.datacontract.org/2004/07/RxHub.Service.Requests">'
- .'<soapenv:Header/>'
- .'<soapenv:Body>'
- .'<v1:Login>'
- .'<!--Optional:-->'
- .'<v1:loginRequest>'
- .'<rxh:VendorToken>'.$this->clicksVendorToken.'</rxh:VendorToken>'
- .'<rxh:UserName>'.$this->clicksUsername.'</rxh:UserName>'
- .'<rxh:Password>'.$this->clicksPassword.'</rxh:Password>'
- .'</v1:loginRequest>'
- .'</v1:Login>'
- .'</soapenv:Body>'
- .'</soapenv:Envelope>';
- //print_r($xml);die();
- $soap_params = array(
- "soap_version" => SOAP_1_1,
- "trace" => 1,
- );
- $client = new \SoapClient("http://sandbox.marconi.co.za/RxHubService/RxHub.Service.RFMService.svc", $soap_params);
- $result = $client->Login($xml);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement