Skip to content

Instantly share code, notes, and snippets.

@kiennt
Created August 18, 2016 10:24
Show Gist options
  • Save kiennt/ba8b5a2044e6447c660f9b8a92fc388c to your computer and use it in GitHub Desktop.
Save kiennt/ba8b5a2044e6447c660f9b8a92fc388c to your computer and use it in GitHub Desktop.
Epay test2
$ curl -H 'SOAPAction: ""' 'http://103.23.146.174:8080/WS_Epurse_Interface_proc_L/services/EpurseV2Interface?wsdl' -d '
→ <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://Interface.epurseV2.vnptepay.vn">
→ <soapenv:Header/>
→ <soapenv:Body>\
→ <int:procService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">\
→ <JsonReq_str xsi:type="xsd:string">test\
→ </JsonReq_str>\
→ </int:procService>\
→ </soapenv:Body>\
→ </soapenv:Envelope>'
<?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><soapenv:Fault><faultcode>Server.userException</faultcode><faultstring>No such operation 'procService'</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">interface.localdomain</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment