<soapenv:Body>

<refund>

<request>

<transaction>

...

</transaction>

<payment>

...

</payment>

<amount>...</amount>

<currency>...</currency>

<origId>...</origId>

<origTerminal>...</origTerminal>

<origLocation>...</origLocation>

<origPartnerId>...</origPartnerId>

<cheque>

...

</cheque>

</request>

</refund>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#batchLoad"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<batchLoad>

<request>

<sequence>

<item>

<authData>

...

</authData>

</item>

  ...

<item>

<refundData>

...

</refundData>

</item>

</sequence>

</request>

</batchLoad>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#reverse"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<reverse>

<transaction>

...

</transaction>

</reverse>

</soapenv:Body>

НЕ нашли? Не то? Что вы ищете?

</soapenv:Envelope>

SOAPAction: "urn:#getInfo2"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<getInfo2>

<transaction>

...

</transaction>

<cheque>

...

</cheque>

<getCardholder>...</getCardholder>

<getAccStatement>...</getAccStatement>

  <accStatementParams>

  <countLimit>...</countLimit>

  </accStatementParams>

</getInfo2>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#getAuthToken"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<getAuthToken>

<request>

<transaction>

...

</transaction>

<amount>...</amount>

<currency>...</currency>

<payment>

...

</payment>

<cheque>

...

</cheque>

  < authentication>

  ...

  < /authentication>

</request>

</getAuthToken>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#directPoints"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<directPoints>

<request>

<transaction>

...

</transaction>

<amount>...</amount>

<promoId>...</promoId>

</request>

</directPoints>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#setCardholder"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<setCardholder>

<request>

<transaction>

...

</transaction>

<cardholderInfo>

  ...

</cardholderInfo>

  <getCardholder>...</getCardholder>

  <getAccStatement>...</getAccStatement>

  <accStatementParams>

          <countLimit>...</countLimit>

  </accStatementParams>

</request>

</setCardholder>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#getInfoDeals"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<getInfoDeals>

<request>

<transaction>

...

</transaction>

</request>

</getInfoDeals>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#authDeals"

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<authDeals>

<request>

<transaction>

...

</transaction>

<deals>

...

</deals>

</request>

</authDeals>

</soapenv:Body>

</soapenv:Envelope>


Ответы от ПЦ

В ответах от ПЦ присутствуют следующие HTTP-заголовки:

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: text/xml;charset=utf-8

Date: [Date]

Connection: close

После заголовков, отделенные от них пустой строкой, следуют данные ответа в формате XML, представляющие собой SOAP-конверт.

Виды конвертов вместе с соответствующими значениями заголовка SOAPAction (указанного в запросе) см. ниже. Вместо многоточий должны идти реальные данные, формат которых описан в файле CFTLoyaltyPCPoints_Types. xsd. XML-сообщение передается одной строкой.

SOAPAction: "urn:#echo"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<echoResponse xmlns="">

<response>...</response>

</echoResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#getInfo"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<getInfoResponse xmlns="">

<response>

<status>

...

</status>

<pcId>...</pcId>

<cardInfo>

...

</cardInfo>

<chequeMessage>...</chequeMessage>

<operatorMessage>...</operatorMessage>

</response>

</getInfoResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#activate"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<activateResponse xmlns="">

<response>

<status>

...

</status>

<pcId>...</pcId>

<cardInfo>

...

</cardInfo>

</response>

</activateResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#authPoints"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<authPointsResponse xmlns="">

<response>

<status>

...

</status>

<pcId>...</pcId>

<cardInfo>

...

</cardInfo>

               <pointsAllocation>

...

</pointsAllocation>

</response>

</authPointsResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#authGift"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<authGiftResponse xmlns="">

<response>

<status>

...

</status>

<pcId>...</pcId>

<cardInfo>

...

</cardInfo>

</response>

</authGiftResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#refund"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<refundResponse xmlns="">

<response>

<authRes>

<status>

...

</status>

</authRes>

</response>

</refundResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#batchLoad"

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<batchLoadResponse xmlns="">

<response>

<status>

        ...

</status>

</response>

</batchLoadResponse>

</soapenv:Body>

</soapenv:Envelope>

SOAPAction: "urn:#reverse"

<?xml version="1.0" encoding="utf-8"?>

Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 10 11 12