Welcome to Web2Py SOAP webservice gateway

See all webservice operations

Order

Process a fictitious order

  • Location: http://www.web2py.com.ar/webservices/sample/call/soap
  • Namespace: http://www.web2py.com.ar/webservices/sample/call/soap
  • SoapAction: http://www.web2py.com.ar/webservices/sample/call/soap

Sample SOAP XML Request Message:

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">


<soap:Body>
<Order xmlns="http://www.web2py.com.ar/webservices/sample/call/soap">
<Customer>
<VatID>
<!--int-->
</VatID>
<Name>
<!--string-->
</Name>
<Address>
<!--string-->
</Address>
</Customer>
<Items>
<!--Repetitive array of:-->
<Item>
<Product>
<!--string-->
</Product>
<Price>
<!--decimal-->
</Price>
<Quantity>
<!--int-->
</Quantity>
</Item>
</Items>
</Order>
</soap:Body>


</soap:Envelope>

Sample SOAP XML Response Message:

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">


<soap:Body>
<OrderResponse xmlns="http://www.web2py.com.ar/webservices/sample/call/soap">
<OrderResult>
<TotalAmount>
<!--decimal-->
</TotalAmount>
<Message>
<!--string-->
</Message>
<EstimatedDate>
<!--dateTime-->
</EstimatedDate>
<Confirmations>
<!--Repetitive array of:-->
<Confirmed>
<!--string-->
</Confirmed>
</Confirmations>
</OrderResult>
</OrderResponse>
</soap:Body>


</soap:Envelope>