XMapWSService
Click here for a complete list of operations.
renderMap
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/renderMap" <?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> <renderMap xmlns="http://soap.locatienet.com"> <mapSection scale="int" scrollHorizontal="int" scrollVertical="int" zoom="int"> <center xmlns="http://xmap.xserver.ptvag.com"> <point x="double" y="double" z="double" xmlns="http://common.xserver.ptvag.com" /> </center> </mapSection> <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> </renderMap> </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> <renderMapResponse xmlns="http://soap.locatienet.com"> <renderMapResult> <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> </renderMapResult> </renderMapResponse> </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> <renderMap xmlns="http://soap.locatienet.com"> <mapSection scale="int" scrollHorizontal="int" scrollVertical="int" zoom="int"> <center xmlns="http://xmap.xserver.ptvag.com"> <point x="double" y="double" z="double" xmlns="http://common.xserver.ptvag.com" /> </center> </mapSection> <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> </renderMap> </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> <renderMapResponse xmlns="http://soap.locatienet.com"> <renderMapResult> <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> </renderMapResult> </renderMapResponse> </soap12:Body> </soap12:Envelope>