ContentService
Click here for a complete list of operations.
Search
Searches a database
SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /CalmAPI/ContentService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ds.co.uk/cs/webservices/Search"
<?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>
<Search xmlns="http://ds.co.uk/cs/webservices/">
<dbname>string</dbname>
<ElementSet>string</ElementSet>
<Expr>string</Expr>
</Search>
</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>
<SearchResponse xmlns="http://ds.co.uk/cs/webservices/">
<SearchResult>string</SearchResult>
</SearchResponse>
</soap:Body>
</soap:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /CalmAPI/ContentService.asmx/Search HTTP/1.1 Host: localhost Content-Type: application/x-www-form-urlencoded Content-Length: length dbname=string&ElementSet=string&Expr=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://ds.co.uk/cs/webservices/">string</string>