Skip to content

Instantly share code, notes, and snippets.

@c0rp-aubakirov
Created April 26, 2017 12:54
Show Gist options
  • Save c0rp-aubakirov/2c1b087e605c414fafc1dae479e295ba to your computer and use it in GitHub Desktop.
Save c0rp-aubakirov/2c1b087e605c414fafc1dae479e295ba to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<WSReq:WebShopRequest xmlns:WSReq="http://allpay.kz/xsd/1.0.0/WebShopRequest.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://allpay.kz/xsd/1.0.0/WebShopRequest.xsd">
<WSReq:ShopName>shop1</WSReq:ShopName>
<WSReq:InvoiceNumber>45622</WSReq:InvoiceNumber>
<WSReq:Merchant>
<WSReq:MerchantID>95989</WSReq:MerchantID>
<WSReq:WalletID>95989</WSReq:WalletID>
</WSReq:Merchant>
<WSReq:TotalCost>100.0</WSReq:TotalCost>
<WSReq:SuccessLink>http://127.0.0.1:8080/webshop-integration-rest/transactions.jsp</WSReq:SuccessLink>
<WSReq:FailureLink>http://127.0.0.1:8080/webshop-integration-rest/failure.jsp</WSReq:FailureLink>
<WSReq:ResponseURL>http://127.0.0.1:8080/webshop-integration-rest/webresources/test/webshopResponse/</WSReq:ResponseURL>
<WSReq:TimeoutInSeconds>600</WSReq:TimeoutInSeconds>
<WSReq:AutoTransaction>false</WSReq:AutoTransaction>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>OSzlV/SldnGYIKpLI2dzDtUyLik=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>NPYsF9SM3ekR02THTGXVv4kXKI7zXkXONkxi+Fr1UrFP+KrInGzb7xPlnHnZhB9/GyGtUaO8SCLE
e3+55QIjGAnO/AYzSHkCwSu9hrbyCJKUhShj44K286Zi3pxlPoK13hT9NksbVO/QcgEzOytXqyKc
R10jBMErSmaIw0mWrcs=</SignatureValue>
</Signature>
</WSReq:WebShopRequest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment