WebService
Click here for a complete list of operations.
getRouteXML3
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 /avl/webservice.asmx HTTP/1.1 Host: mapsrv5.terra.gr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/getRouteXML3" <?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> <getRouteXML3 xmlns="http://tempuri.org/"> <countryCode>int</countryCode> <routeP> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> </routeP> <pedestrian>boolean</pedestrian> <langId>string</langId> <findBestSequence>boolean</findBestSequence> <preserveFirstStop>boolean</preserveFirstStop> <preserverLastStop>boolean</preserverLastStop> <allowDaktilio>boolean</allowDaktilio> <allowATTIKHOdos>boolean</allowATTIKHOdos> <allowCHARGERoads>boolean</allowCHARGERoads> <allowFerry>boolean</allowFerry> <fastest>boolean</fastest> <SRID>int</SRID> </getRouteXML3> </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> <getRouteXML3Response xmlns="http://tempuri.org/"> <getRouteXML3Result> <routeSteps> <routeStep> <stepPointCoord xsi:nil="true" /> <stepDistance>double</stepDistance> <stepTime>double</stepTime> <stepManeuverType>string</stepManeuverType> <stepDescriptionGR>string</stepDescriptionGR> <stepDescriptionEN>string</stepDescriptionEN> <stepPointIndex>int</stepPointIndex> </routeStep> <routeStep> <stepPointCoord xsi:nil="true" /> <stepDistance>double</stepDistance> <stepTime>double</stepTime> <stepManeuverType>string</stepManeuverType> <stepDescriptionGR>string</stepDescriptionGR> <stepDescriptionEN>string</stepDescriptionEN> <stepPointIndex>int</stepPointIndex> </routeStep> </routeSteps> <routeGeometry>base64Binary</routeGeometry> <routePoints> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> </routePoints> <routeFound>boolean</routeFound> <routeExtent> <pointMin> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </pointMin> <pointMax> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </pointMax> </routeExtent> <routeComments>string</routeComments> </getRouteXML3Result> </getRouteXML3Response> </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 /avl/webservice.asmx HTTP/1.1 Host: mapsrv5.terra.gr 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> <getRouteXML3 xmlns="http://tempuri.org/"> <countryCode>int</countryCode> <routeP> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> </routeP> <pedestrian>boolean</pedestrian> <langId>string</langId> <findBestSequence>boolean</findBestSequence> <preserveFirstStop>boolean</preserveFirstStop> <preserverLastStop>boolean</preserverLastStop> <allowDaktilio>boolean</allowDaktilio> <allowATTIKHOdos>boolean</allowATTIKHOdos> <allowCHARGERoads>boolean</allowCHARGERoads> <allowFerry>boolean</allowFerry> <fastest>boolean</fastest> <SRID>int</SRID> </getRouteXML3> </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> <getRouteXML3Response xmlns="http://tempuri.org/"> <getRouteXML3Result> <routeSteps> <routeStep> <stepPointCoord xsi:nil="true" /> <stepDistance>double</stepDistance> <stepTime>double</stepTime> <stepManeuverType>string</stepManeuverType> <stepDescriptionGR>string</stepDescriptionGR> <stepDescriptionEN>string</stepDescriptionEN> <stepPointIndex>int</stepPointIndex> </routeStep> <routeStep> <stepPointCoord xsi:nil="true" /> <stepDistance>double</stepDistance> <stepTime>double</stepTime> <stepManeuverType>string</stepManeuverType> <stepDescriptionGR>string</stepDescriptionGR> <stepDescriptionEN>string</stepDescriptionEN> <stepPointIndex>int</stepPointIndex> </routeStep> </routeSteps> <routeGeometry>base64Binary</routeGeometry> <routePoints> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> <routePoint> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </routePoint> </routePoints> <routeFound>boolean</routeFound> <routeExtent> <pointMin> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </pointMin> <pointMax> <geometry>base64Binary</geometry> <stopName>string</stopName> <stopId>string</stopId> <x>double</x> <y>double</y> </pointMax> </routeExtent> <routeComments>string</routeComments> </getRouteXML3Result> </getRouteXML3Response> </soap12:Body> </soap12:Envelope>