Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="https://api.reformagkh.ru/api_document_literal">
- <soapenv:Header>
- <api:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <login>login</login>
- <password>password</password>
- </api:Login>
- </soapenv:Header>
- <soapenv:Body>
- <api:GetHouseProfileSF988>
- <region_id>0824434f-4098-4467-af72-d4f702fed335</region_id>
- <page_number>1</page_number>
- <reporting_period_id>90</reporting_period_id>
- </api:GetHouseProfileSF988>
- </soapenv:Body>
- </soapenv:Envelope>
- $client = new SoapClient( NULL,
- array(
- "location" => "http://schemas.xmlsoap.org/soap/envelope/",
- "uri" => "https://api.reformagkh.ru/api_document_literal",
- "style" => SOAP_RPC,
- "use" => SOAP_ENCODED
- )
- )
- print_r($client -> __call('GetHouseProfileSF988'),
- array(
- new SoapParam(
- '0824434f-4098-4467-af72-d4f702fed335',
- 'region_id'
- ),
- new SoapParam(
- 1,
- 'page_number'
- ),
- new SoapParam(
- 90,
- 'reporting_period_id'
- ),
- ));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement