K
K
Kerm2018-03-26 14:21:50
PHP
Kerm, 2018-03-26 14:21:50

PHP SOAP integration with Pony Express API?

I'm struggling with the problem, I can't understand what's wrong, I ask for help:
There is documentation here: http://api-wiki.ponyexpress.ru/index.php/Home...
There is WDSL: https://svc-api.p2e. ru/UI_Service.svc?singleWsdl
I send this data:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://tempuri.org/">
  <SOAP-ENV:Body>
    <ns1:SubmitRequest>
      <accesskey>.........</accesskey>
      <requestBody>
        <Request xsi:type="OrderRequest">
          <Id>10174</Id>
          <Mode>Status</Mode>
          <OrderList>
            <Order>
              <ServiceList>
                <Service xsi:type="DeliveryService">
                  <Waybill>
                    <Number>22-6762-0542</Number>
                  </Waybill>
                </Service>
              </ServiceList>
            </Order>
          </OrderList>
        </Request>
      </requestBody>
    </ns1:SubmitRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Gives an error something like A system error has been occurred. Please contact service desk.
I send data like this:
$client->__soapCall('SubmitRequest', array($parameter));

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Papa, 2018-03-26
Stifflera @PapaStifflera

The solution is described in the error text:

Please contact service desk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question