Method returns list of saved orders' details.
Input parameter is a 2D array of xsd:token, which contains valid order number(s).
Output is a multidimensional array (struct) of tns:orders, which is a complex structure best described in WSDL.
Method returns SOAP fault (according to SOAP Version 1.2, section 2.3 Fault Scenarios) on failure or when no data found for client request. Database error may be returned with specific error prefix, when database is not ready or something unwanted happens.
Code | Actor | String | Detail |
---|---|---|---|
-1 | SERVICE | Requested order not found. | order number |
1 | CLIENT | Malformed request. | client input |
2 | CLIENT | Empty request. | client input |
ORA-[0-9]{1-5} | DATABASE | Database subsystem error. | database error message |
SOAP client must be capable of basic HTTP authentication to use this method.
POST /index.php HTTP/1.0 | |
---|---|
User-Agent: | ClTest/1.0.0 (0.99) |
Host: | xchgdemo.techdata.cz |
Content-Type: | text/xml; charset=UTF-8 |
SOAPAction: | "http://xchgdemo.techdata.cz/index.php/getOrders" |
Content-Length: | 743 |
SOAP fault is returned in ISO-8859-1 encoding, except of server header UTF-8 charset declaration.