Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $soap = new \SoapClient('https://parxx.preprod.parkmobile.nl/201303/services/TokenService.svc?wsdl',array(
- 'cache_wsdl' => 0,
- 'soap_version' => SOAP_1_2,
- // 'location' => 'https://parxx.parkmobile.com/201303/services/tokenservice.svc'
- ));
- // $xml = "<VerifyOffStreet>";
- // $xml .= "<Request>";
- // $xml .= "<Identification>";
- // $xml .= "<AuthenticationType>Mifare</AuthenticationType>";
- // $xml .= "<Number>5E13E47E</Number>";
- // $xml .= "</Identification>";
- // $xml .= "<ZoneCode>HNK001</ZoneCode>";
- //// $xml .= "<>"
- // $xml .= "</Request>";
- // $xml .= "</VerifyOffStreet>";
- // $soap->__doRequest($xml, 'https://parxx.parkmobile.com/2013/services/tokenservice.svc');
- // $soap->
- $actionHeader = array();
- $actionHeader[] = new \SoapHeader('http://www.w3.org/2005/08/addressing',
- 'Action',
- 'urn:parkmobile-com:gateway:v1/ITokenServiceContract/VerifyOffStreet');
- // $soap->__setS
- $soap->__setSoapHeaders($actionHeader);
- // echo "<pre>";
- // var_dump($soap->__getTypes());
- // exit;
- $result = $soap->VerifyOffStreet(array(
- 'request' => array(
- 'ZoneCode' => 'HNK001',
- 'Identification' => array(
- 'AuthenticationType' => 'Mifare',
- // 'SupplierCode' => '0020',
- // 'SupplierName' => 'Gateway Client',
- 'Number' => '5E13E47E'
- ),
- 'TransactionID' => time(),
- 'RequestTime' => date("Y-m-d\TH:i:s.000",time())
- )
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement