Mapping
Click here for a complete list of operations.
MapScaleToIcons
This method returns a map scaled to the icons passed, the scale is the minimum scale used
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /wsMapper/Mapping.asmx HTTP/1.1
Host: www.servicex.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.servicex.co.uk/wsMapper/Mapping/MapScaleToIcons"
<?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>
<MapScaleToIcons xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">
<tag>string</tag>
<style>string</style>
<type>string</type>
<height>short</height>
<width>short</width>
<scale>string</scale>
<osx>int</osx>
<osy>int</osy>
<icon>string</icon>
<alpha>int</alpha>
</MapScaleToIcons>
</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>
<MapScaleToIconsResponse xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">
<MapScaleToIconsResult>dataset</MapScaleToIconsResult>
</MapScaleToIconsResponse>
</soap:Body>
</soap:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /wsMapper/Mapping.asmx/MapScaleToIcons?tag=string&style=string&type=string&height=string&width=string&scale=string&osx=string&osy=string&icon=string&alpha=string HTTP/1.1 Host: www.servicex.co.uk
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <DataSetMapping xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">dataset</DataSetMapping>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /wsMapper/Mapping.asmx/MapScaleToIcons HTTP/1.1 Host: www.servicex.co.uk Content-Type: application/x-www-form-urlencoded Content-Length: length tag=string&style=string&type=string&height=string&width=string&scale=string&osx=string&osy=string&icon=string&alpha=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <DataSetMapping xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">dataset</DataSetMapping>