soapgeoservices
Click here for a complete list of operations.
Routing
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /nacgeoservicesV5.0/soapgeoservices.asmx HTTP/1.1
Host: mlbs.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://mlbs.net/nacgeoservicesV5.0/soapgeoservices/Routing"
<?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>
<Routing xmlns="http://mlbs.net/nacgeoservicesV5.0/soapgeoservices">
<UserID>long</UserID>
<Waypoints>string</Waypoints>
<TravelMode>string</TravelMode>
<Avoid>string</Avoid>
<Optimize>string</Optimize>
<TimeType>string</TimeType>
<DateTime>string</DateTime>
<Culture>string</Culture>
<DistanceUnit>string</DistanceUnit>
<ShowMap>string</ShowMap>
<MapSize>string</MapSize>
<ImagerySet>string</ImagerySet>
<MapLayer>string</MapLayer>
<RoutePathOutput>string</RoutePathOutput>
</Routing>
</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>
<RoutingResponse xmlns="http://mlbs.net/nacgeoservicesV5.0/soapgeoservices">
<RoutingResult>
<Waypoints>string</Waypoints>
<TravelMode>string</TravelMode>
<Avoid>string</Avoid>
<Optimize>string</Optimize>
<TimeType>string</TimeType>
<DateTime>string</DateTime>
<Culture>string</Culture>
<DistanceUnit>string</DistanceUnit>
<ShowMap>string</ShowMap>
<MapSize>string</MapSize>
<ImagerySet>string</ImagerySet>
<MapLayer>string</MapLayer>
<RoutePathOutput>string</RoutePathOutput>
<TotalDistance>double</TotalDistance>
<TotalTravelTime>double</TotalTravelTime>
<Directions>string</Directions>
<MapURL>string</MapURL>
<Pathpoints>string</Pathpoints>
<Message>string</Message>
</RoutingResult>
</RoutingResponse>
</soap:Body>
</soap:Envelope>