SOAP Format
The SOAP Server Endpoint URL is:
http://service.feng-gui.com/soap/api.asmx
The SOAP service description (WSDL) is at
http://service.feng-gui.com/soap/api.asmx?WSDL
You can find out more about SOAP at
http://www.w3.org/TR/soap/
Request Format
The following is a sample SOAP 1.2 request. The placeholders shown need to be replaced with actual values.
To send a request (for example, to ImageAttention method), send a request like this:
POST /soap/api.asmx HTTP/1.1
Host: service.feng-gui.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ImageAttention xmlns="http://www.feng-gui.com/">
<InputImage>string</InputImage>
<ViewType>string</ViewType>
<ViewDistance>string</ViewDistance>
<AnalysisOptions>int</AnalysisOptions>
<OutputOptions>int</OutputOptions>
</ImageAttention>
</soap12:Body>
</soap12:Envelope>
Response Format
The following is a sample SOAP 1.2 response. The placeholders shown need to be replaced with actual values.
A request call to the ImageAttention method returns this response:
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ImageAttentionResponse xmlns="http://www.feng-gui.com/">
<ImageAttentionResult>
<ServiceVersion>string</ServiceVersion>
<Version>string</Version>
<InputImage>string</InputImage>
<OutputImage>string</OutputImage>
<OutputAttentionImage>string</OutputAttentionImage>
<Hotspots>
<FGPoint>
<x>int</x>
<y>int</y>
</FGPoint>
<FGPoint>
<x>int</x>
<y>int</y>
</FGPoint>
</Hotspots>
</ImageAttentionResult>
</ImageAttentionResponse>
</soap12:Body>
</soap12:Envelope>