SOAP 1.1
Submitted by admin on Wed, 02/25/2009 - 12:35.
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values. When calling the service, the content text must not be URL encoded.
POST /enlighten/calais.asmx HTTP/1.1
Host: api.opencalais.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://clearforest.com/Enlighten"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Enlighten xmlns="http://clearforest.com/">
<licenseID>string </licenseID>
<content>string</content>
<paramsXML>string </paramsXML>
</Enlighten>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<EnlightenResponse xmlns="http://clearforest.com/">
<EnlightenResult>string</EnlightenResult>
</EnlightenResponse>
</soap:Body>
</soap:Envelope> 