XMapWSService
Click here for a complete list of operations.
renderMapBoundingBox
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /0.1/xmap/ws/xmap.asmx HTTP/1.1 Host: soap.locatienet.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://soap.locatienet.com/renderMapBoundingBox" <?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:Header> <ServiceAuthenticateInformation xmlns="http://soap.locatienet.com"> <UserName>string</UserName> <Password>string</Password> <ConfigFilePath>string</ConfigFilePath> <OverrideLinkType>boolean</OverrideLinkType> <ClientId>int</ClientId> </ServiceAuthenticateInformation> </soap:Header> <soap:Body> <renderMapBoundingBox xmlns="http://soap.locatienet.com"> <boundingBox> <leftTop xmlns="http://common.xserver.ptvag.com"> <point x="double" y="double" z="double" /> </leftTop> <rightBottom xmlns="http://common.xserver.ptvag.com"> <point x="double" y="double" z="double" /> </rightBottom> </boundingBox> <mapParams language="string" referenceTime="string" showScale="boolean" useMiles="boolean" /> <imageInfo format="GIF or JPG or BMP or WBMP or PNG or SMO" height="int" imageParameter="string" width="int" /> <layers> <Layer name="string" visible="boolean" /> <Layer name="string" visible="boolean" /> </layers> <includeImageInResponse>boolean</includeImageInResponse> <callerContext log1="string" log2="string" log3="string"> <wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com"> <CallerContextProperty key="string" value="string" /> <CallerContextProperty key="string" value="string" /> </wrappedProperties> </callerContext> </renderMapBoundingBox> </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> <renderMapBoundingBoxResponse xmlns="http://soap.locatienet.com"> <renderMapBoundingBoxResult> <image rawImage="base64Binary" url="string" xmlns="http://xmap.xserver.ptvag.com" /> <wrappedObjects xmlns="http://xmap.xserver.ptvag.com"> <ObjectInfos name="string"> <wrappedObjects xsi:nil="true" /> </ObjectInfos> <ObjectInfos name="string"> <wrappedObjects xsi:nil="true" /> </ObjectInfos> </wrappedObjects> <visibleSection scale="int" xmlns="http://xmap.xserver.ptvag.com"> <boundingBox> <leftTop xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> <rightBottom xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </boundingBox> <center> <point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </center> </visibleSection> </renderMapBoundingBoxResult> </renderMapBoundingBoxResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /0.1/xmap/ws/xmap.asmx HTTP/1.1 Host: soap.locatienet.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:Header> <ServiceAuthenticateInformation xmlns="http://soap.locatienet.com"> <UserName>string</UserName> <Password>string</Password> <ConfigFilePath>string</ConfigFilePath> <OverrideLinkType>boolean</OverrideLinkType> <ClientId>int</ClientId> </ServiceAuthenticateInformation> </soap12:Header> <soap12:Body> <renderMapBoundingBox xmlns="http://soap.locatienet.com"> <boundingBox> <leftTop xmlns="http://common.xserver.ptvag.com"> <point x="double" y="double" z="double" /> </leftTop> <rightBottom xmlns="http://common.xserver.ptvag.com"> <point x="double" y="double" z="double" /> </rightBottom> </boundingBox> <mapParams language="string" referenceTime="string" showScale="boolean" useMiles="boolean" /> <imageInfo format="GIF or JPG or BMP or WBMP or PNG or SMO" height="int" imageParameter="string" width="int" /> <layers> <Layer name="string" visible="boolean" /> <Layer name="string" visible="boolean" /> </layers> <includeImageInResponse>boolean</includeImageInResponse> <callerContext log1="string" log2="string" log3="string"> <wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com"> <CallerContextProperty key="string" value="string" /> <CallerContextProperty key="string" value="string" /> </wrappedProperties> </callerContext> </renderMapBoundingBox> </soap12:Body> </soap12:Envelope>
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> <renderMapBoundingBoxResponse xmlns="http://soap.locatienet.com"> <renderMapBoundingBoxResult> <image rawImage="base64Binary" url="string" xmlns="http://xmap.xserver.ptvag.com" /> <wrappedObjects xmlns="http://xmap.xserver.ptvag.com"> <ObjectInfos name="string"> <wrappedObjects xsi:nil="true" /> </ObjectInfos> <ObjectInfos name="string"> <wrappedObjects xsi:nil="true" /> </ObjectInfos> </wrappedObjects> <visibleSection scale="int" xmlns="http://xmap.xserver.ptvag.com"> <boundingBox> <leftTop xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> <rightBottom xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </boundingBox> <center> <point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </center> </visibleSection> </renderMapBoundingBoxResult> </renderMapBoundingBoxResponse> </soap12:Body> </soap12:Envelope>