2N Helios IP HTTP API Manual v2.8 User Manual

Page 6

Advertising
background image

6

2N TELEKOMUNIKACE a.s., www.2n.cz

®

POST /… HTTP/1.1
Host: …
Content-Type: application/soap+xml
Content-Length: …

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Header>
additional control information of request
</s:Header>

<s:Body>
request parameters
</s:Body>

</s:Envelope>

If the request is processed successfully,

sends the following HTTP

2N Helios IP

®

response:

HTTP/1.1 200 OK
Content-Type: application/soap+xml
Content-Length: nnn

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Header>
additional control information of response
</s:Header>

<s:Body>
Response parameters
</s:Body>

</s:Envelope>

If the request cannot be processed or an error occurs during processing, 2N

®

sends the 400 Bad Request reply including SOAP/XML data with error

Helios IP
identification.

Advertising