Normally web services are called using a SOAP toolkit, such as Axis or ASP.NET. However, the SOAP web services can be called directly over HTTP by POSTing a correctly formatted SOAP request (called a SOAP envelope). This is sometimes useful in JavaScript when using the XmlHttpRequest object.


An example SOAP request for the getSettings web method is formatted like this:

POST /Dekho/services/ConfigurationService HTTP/1.1

Host: localhost

SOAPAction: ""

Content-Type: text/xml; charset=utf-8

Content-Length: 280


<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">






A successful response will be something like:

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: text/xml;charset=utf-8

Transfer-Encoding: chunked

Date: Fri, 14 Aug 2009 04:30:33 GMT


<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">


    <getSettingsResponse xmlns="">

      <ns1:getSettingsReturn xmlns:ns1="">















Versions of Dekho prior to v3.0 used an XML-formatted string for all input and outputs from web services. Dekho 3.0 has replaced this with explicit types to allow the same services to be used efficiently via BlazeDS and SOAP.