Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="https://api.reformagkh.ru/api_document_literal">
  3. <soapenv:Header>
  4. <api:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  5. <login>login</login>
  6. <password>password</password>
  7. </api:Login>
  8. </soapenv:Header>
  9. <soapenv:Body>
  10. <api:GetHouseProfileSF988>
  11. <region_id>0824434f-4098-4467-af72-d4f702fed335</region_id>
  12. <page_number>1</page_number>
  13. <reporting_period_id>90</reporting_period_id>
  14. </api:GetHouseProfileSF988>
  15. </soapenv:Body>
  16. </soapenv:Envelope>
  17.  
  18. $client = new SoapClient( NULL,
  19. array(
  20. "location" => "http://schemas.xmlsoap.org/soap/envelope/",
  21. "uri" => "https://api.reformagkh.ru/api_document_literal",
  22. "style" => SOAP_RPC,
  23. "use" => SOAP_ENCODED
  24. )
  25. )
  26. print_r($client -> __call('GetHouseProfileSF988'),
  27. array(
  28. new SoapParam(
  29. '0824434f-4098-4467-af72-d4f702fed335',
  30. 'region_id'
  31. ),
  32. new SoapParam(
  33. 1,
  34. 'page_number'
  35. ),
  36. new SoapParam(
  37. 90,
  38. 'reporting_period_id'
  39. ),
  40. ));
  41. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement