XRouteWSService
Click here for a complete list of operations.
calculateRoute
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/xroute/ws/xroute.asmx HTTP/1.1 Host: soap.locatienet.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://soap.locatienet.com/calculateRoute" <?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> <calculateRoute xmlns="http://soap.locatienet.com"> <waypointDescs> <WaypointDesc combinedTransportID="string" fuzzyRadius="int" heading="int" linkType="NEXT_NODE or NEXT_SEGMENT or NEXT_MAIN_NODE or FUZZY_LINKING or AUTO_LINKING or NEXT_MAIN_TOLL_NODE or TOLL_STATION or TI_LINKING" street="string"> <wrappedCoords xmlns="http://xroute.xserver.ptvag.com"> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </wrappedCoords> <nodeID iuCode="int" n="int" tID="long" xOff="int" yOff="int" xmlns="http://xroute.xserver.ptvag.com" /> <wrappedRoutingOptions xmlns="http://xroute.xserver.ptvag.com"> <RoutingOption xsi:nil="true" /> <RoutingOption xsi:nil="true" /> </wrappedRoutingOptions> <wrappedSegmentID xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedSegmentID> <wrappedVehicleOptions xmlns="http://xroute.xserver.ptvag.com"> <VehicleOption xsi:nil="true" /> <VehicleOption xsi:nil="true" /> </wrappedVehicleOptions> <viaType viaType="VIA or VIA_STOP or FUZZY or COMBINED_TRANSPORT" xmlns="http://xroute.xserver.ptvag.com" /> </WaypointDesc> <WaypointDesc combinedTransportID="string" fuzzyRadius="int" heading="int" linkType="NEXT_NODE or NEXT_SEGMENT or NEXT_MAIN_NODE or FUZZY_LINKING or AUTO_LINKING or NEXT_MAIN_TOLL_NODE or TOLL_STATION or TI_LINKING" street="string"> <wrappedCoords xmlns="http://xroute.xserver.ptvag.com"> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </wrappedCoords> <nodeID iuCode="int" n="int" tID="long" xOff="int" yOff="int" xmlns="http://xroute.xserver.ptvag.com" /> <wrappedRoutingOptions xmlns="http://xroute.xserver.ptvag.com"> <RoutingOption xsi:nil="true" /> <RoutingOption xsi:nil="true" /> </wrappedRoutingOptions> <wrappedSegmentID xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedSegmentID> <wrappedVehicleOptions xmlns="http://xroute.xserver.ptvag.com"> <VehicleOption xsi:nil="true" /> <VehicleOption xsi:nil="true" /> </wrappedVehicleOptions> <viaType viaType="VIA or VIA_STOP or FUZZY or COMBINED_TRANSPORT" xmlns="http://xroute.xserver.ptvag.com" /> </WaypointDesc> </waypointDescs> <routingOptions> <RoutingOption parameter="OPTIMIZATION or SPEED_PROFILE or AVOID_NATIONALNAMEDTOLL_ROADS or AVOID_TOLLROADS or AVOID_VIGNETTEROADS or AVOID_HIGHWAYS or AVOID_FERRIES or AVOID_RESIDENTS_ONLY or AVOID_URBAN_AREAS or AVOID_RAMPS or AVOID_LOW_EMISSION_ZONES or ALLOW_SEGMENT_VIOLATIONS or COST_OF_SEGMENT_VIOLATIONS or EXCLUDE_COUNTRIES or ROUTING_COUNTRIES or ROUTING_RECTANGLE or ROUTE_LANGUAGE or START_TIME or IS_DESTTIME or DYNAMIC_PROFILE or ENABLE_DYNAMIC or ENABLE_ROADEDITOR or START_TIME_ROADEDITOR or ROADEDITOR_LAYERNAME or ROADEDITOR_ATTRIBUTESET or ROADEDITOR_ADDITIONAL_OPTIONS or DISTANCE_MEASURE or COUNTRY_ENCODING or GENERATE_EXTWAYPOINTS or EXPERT_OPTIONS or REQUEST_VERSION or LOW_EMISSION_ZONE_TYPE or DYNAMIC_TIME_ON_STATICROUTE or DYNAMIC_TRAVEL_TIME_STEP_SIZE or DYNAMIC_TRAVEL_TIME_STEP_COUNT or SPEED_INFOS or ENABLE_DYNAMIC_WITH_FREE_FLOW_SPEED or GEODATASOURCE_LAYER or REMAINING_DRIVING_TIMES" value="string" /> <RoutingOption parameter="OPTIMIZATION or SPEED_PROFILE or AVOID_NATIONALNAMEDTOLL_ROADS or AVOID_TOLLROADS or AVOID_VIGNETTEROADS or AVOID_HIGHWAYS or AVOID_FERRIES or AVOID_RESIDENTS_ONLY or AVOID_URBAN_AREAS or AVOID_RAMPS or AVOID_LOW_EMISSION_ZONES or ALLOW_SEGMENT_VIOLATIONS or COST_OF_SEGMENT_VIOLATIONS or EXCLUDE_COUNTRIES or ROUTING_COUNTRIES or ROUTING_RECTANGLE or ROUTE_LANGUAGE or START_TIME or IS_DESTTIME or DYNAMIC_PROFILE or ENABLE_DYNAMIC or ENABLE_ROADEDITOR or START_TIME_ROADEDITOR or ROADEDITOR_LAYERNAME or ROADEDITOR_ATTRIBUTESET or ROADEDITOR_ADDITIONAL_OPTIONS or DISTANCE_MEASURE or COUNTRY_ENCODING or GENERATE_EXTWAYPOINTS or EXPERT_OPTIONS or REQUEST_VERSION or LOW_EMISSION_ZONE_TYPE or DYNAMIC_TIME_ON_STATICROUTE or DYNAMIC_TRAVEL_TIME_STEP_SIZE or DYNAMIC_TRAVEL_TIME_STEP_COUNT or SPEED_INFOS or ENABLE_DYNAMIC_WITH_FREE_FLOW_SPEED or GEODATASOURCE_LAYER or REMAINING_DRIVING_TIMES" value="string" /> </routingOptions> <exceptionPaths> <ExceptionPath absTimeMalus="int" binaryPathDesc="string" extSegments="string" relMalus="int" street="string"> <intersectingLine xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </intersectingLine> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedNodes> <polyline xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </polyline> </ExceptionPath> <ExceptionPath absTimeMalus="int" binaryPathDesc="string" extSegments="string" relMalus="int" street="string"> <intersectingLine xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </intersectingLine> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedNodes> <polyline xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </polyline> </ExceptionPath> </exceptionPaths> <resultListOptions binaryPathDesc="boolean" boundingRectanglesC="int" boundingRectanglesOffset="int" brunnelManoeuvres="boolean" detailLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" dynamicInfo="boolean" extSegments="boolean" featureDescriptions="boolean" manoeuvreAttributes="boolean" manoeuvreGroupRatio="double" manoeuvreGroups="boolean" manoeuvres="boolean" nodes="boolean" polygon="boolean" polygonElevations="boolean" segmentAttributeNamedToll="boolean" segmentAttributePiggyback="boolean" segmentAttributes="boolean" segments="boolean" speedLimits="boolean" texts="boolean" tollManoeuvres="boolean" totalRectangle="boolean" urbanManoeuvres="boolean" utcOffsets="boolean"> <cenEmissionConfiguration actualFuelConsumptionForThisRoute="double" cenVersion="CEN_2011 or CEN_2012 or CO2_DECREE_FRANCE_2011 or AUSTRALIA_NGA_2011 or UK_DEFRA_2014 or AUSTRALIA_NGA_2015" fleetSpecificAverageFuelConsumption="double" routeSpecificAverageFuelConsumption="double" xmlns="http://xroute.xserver.ptvag.com" /> <destDetail minLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" radius="int" xmlns="http://xroute.xserver.ptvag.com" /> <emissions emissionLevel="NONE or BASIC or SEGMENTS or STATIONS or ALL" xmlns="http://xroute.xserver.ptvag.com" /> <hbefaType version="HBEFA_2_1 or HBEFA_3_1 or NO_HBEFA or HBEFA_3_2 or COPERT_AUS_1_2" xmlns="http://xroute.xserver.ptvag.com" /> <startDetail minLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" radius="int" xmlns="http://xroute.xserver.ptvag.com" /> </resultListOptions> <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> </calculateRoute> </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> <calculateRouteResponse xmlns="http://soap.locatienet.com"> <calculateRouteResult binaryPathDesc="string" extSegments="string"> <wrappedBoundingRectangles xmlns="http://xroute.xserver.ptvag.com"> <BoundingRectangle> <leftBottom xsi:nil="true" /> <rightTop xsi:nil="true" /> </BoundingRectangle> <BoundingRectangle> <leftBottom xsi:nil="true" /> <rightTop xsi:nil="true" /> </BoundingRectangle> </wrappedBoundingRectangles> <cenEmissions xmlns="http://xroute.xserver.ptvag.com"> <actualFuelConsumption /> <basedOnHBEFA /> <fleetSpecific /> <routeSpecific /> <vehicleSpecific /> <wrappedVehicleSpecificConversionFactors> <CENEmissionConversionFactors xsi:nil="true" /> <CENEmissionConversionFactors xsi:nil="true" /> </wrappedVehicleSpecificConversionFactors> </cenEmissions> <dynamicInfo distanceDiff="int" timeBenefit="int" timeLoss="int" timeLoss2="int" xmlns="http://xroute.xserver.ptvag.com" /> <emissions ammonia="double" benzene="double" carbonDioxide="double" carbonMonoxide="double" fuel="double" hydrocarbons="double" hydrocarbonsExMethane="double" lead="double" methane="double" nitrogenOxides="double" nitrousOxide="double" particles="double" sulphurDioxide="double" toluene="double" xylene="double" xmlns="http://xroute.xserver.ptvag.com" /> <info cost="int" distance="int" hasViolations="boolean" time="int" xmlns="http://xroute.xserver.ptvag.com"> <wrappedTravelTrend> <CommuterTravelTrend xsi:nil="true" /> <CommuterTravelTrend xsi:nil="true" /> </wrappedTravelTrend> </info> <wrappedManoeuvreGroup xmlns="http://xroute.xserver.ptvag.com"> <ManoeuvreGroup fromIdx="int" toIdx="int" type="MG_TYPE1 or MG_TYPE2"> <extend xsi:nil="true" /> </ManoeuvreGroup> <ManoeuvreGroup fromIdx="int" toIdx="int" type="MG_TYPE1 or MG_TYPE2"> <extend xsi:nil="true" /> </ManoeuvreGroup> </wrappedManoeuvreGroup> <wrappedManoeuvres xmlns="http://xroute.xserver.ptvag.com"> <RouteManoeuvre detailLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" dirInfoIdx="int" dirInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" exitAngle="int" exitAngleNorth="int" exitNr="int" locInfoIdx="int" locInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" manoeuvreDesc="string" manoeuvreGroupIdx="int" manoeuvreType="FURTHER or KEEP or TURN or UTURN or ENTER or EXIT or ENTER_RA or STAY_RA or EXIT_RA or CHANGE or ENTER_FERRY or EXIT_FERRY or EXIT_RA_ENTER or EXIT_RA_ENTER_FERRY" predSegmentIdx="int" routeListSegmentIdx="int" succSegmentIdx="int" turnOrient="STRAIGHT or LEFT or RIGHT" turnWeight="NORMAL or HALF or STRONG" viaIdx="int"> <brunnelManoeuvre xsi:nil="true" /> <manoeuvreAttr xsi:nil="true" /> <urbanlManoeuvre xsi:nil="true" /> </RouteManoeuvre> <RouteManoeuvre detailLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" dirInfoIdx="int" dirInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" exitAngle="int" exitAngleNorth="int" exitNr="int" locInfoIdx="int" locInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" manoeuvreDesc="string" manoeuvreGroupIdx="int" manoeuvreType="FURTHER or KEEP or TURN or UTURN or ENTER or EXIT or ENTER_RA or STAY_RA or EXIT_RA or CHANGE or ENTER_FERRY or EXIT_FERRY or EXIT_RA_ENTER or EXIT_RA_ENTER_FERRY" predSegmentIdx="int" routeListSegmentIdx="int" succSegmentIdx="int" turnOrient="STRAIGHT or LEFT or RIGHT" turnWeight="NORMAL or HALF or STRONG" viaIdx="int"> <brunnelManoeuvre xsi:nil="true" /> <manoeuvreAttr xsi:nil="true" /> <urbanlManoeuvre xsi:nil="true" /> </RouteManoeuvre> </wrappedManoeuvres> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID iuCode="int" n="int" tID="long" xOff="int" yOff="int" /> <UniqueGeoID iuCode="int" n="int" tID="long" xOff="int" yOff="int" /> </wrappedNodes> <polygon xmlns="http://xroute.xserver.ptvag.com"> <lineString xmlns="http://common.xserver.ptvag.com"> <wrappedPoints xsi:nil="true" /> </lineString> </polygon> <wrappedSegments xmlns="http://xroute.xserver.ptvag.com"> <RouteListSegment accDist="int" accTime="int" countryCode="string" dirInfoIdx="int" firstNodeIdx="int" firstPolyIdx="int" iuCode="int" nC="MOTORWAY or HIGHWAY or TRUNK_ROAD or COUNTRY_ROAD or CITY_ROAD or RESIDENTIAL_ROAD or SPECIAL_ROAD or CYCLE_AND_WALKWAY" nodeC="int" polyC="int" streetNameIdx="int" streetNoIdx="int" utcOffset="int" vCalc="int" vNorm="int"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <wrappedFeatureDescriptions xsi:nil="true" /> <normSpeed xsi:nil="true" /> <segmentAttr xsi:nil="true" /> <speedLimits xsi:nil="true" /> <wrappedViolations xsi:nil="true" /> </RouteListSegment> <RouteListSegment accDist="int" accTime="int" countryCode="string" dirInfoIdx="int" firstNodeIdx="int" firstPolyIdx="int" iuCode="int" nC="MOTORWAY or HIGHWAY or TRUNK_ROAD or COUNTRY_ROAD or CITY_ROAD or RESIDENTIAL_ROAD or SPECIAL_ROAD or CYCLE_AND_WALKWAY" nodeC="int" polyC="int" streetNameIdx="int" streetNoIdx="int" utcOffset="int" vCalc="int" vNorm="int"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <wrappedFeatureDescriptions xsi:nil="true" /> <normSpeed xsi:nil="true" /> <segmentAttr xsi:nil="true" /> <speedLimits xsi:nil="true" /> <wrappedViolations xsi:nil="true" /> </RouteListSegment> </wrappedSegments> <wrappedStations xmlns="http://xroute.xserver.ptvag.com"> <WayPoint accDist="int" accTime="int" countryCode="string" iuCode="int" manoeuvreIdx="int" nodeIdx="int" polyIdx="int" segmentIdx="int" utcOffset="int" wayPointType="START or VIA or DEST"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <locationCoord xsi:nil="true" /> <matchCoord xsi:nil="true" /> </WayPoint> <WayPoint accDist="int" accTime="int" countryCode="string" iuCode="int" manoeuvreIdx="int" nodeIdx="int" polyIdx="int" segmentIdx="int" utcOffset="int" wayPointType="START or VIA or DEST"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <locationCoord xsi:nil="true" /> <matchCoord xsi:nil="true" /> </WayPoint> </wrappedStations> <wrappedTexts xmlns="http://xroute.xserver.ptvag.com"> <String xmlns="http://wrappertypes.service.jabba.ptvag.com">string</String> <String xmlns="http://wrappertypes.service.jabba.ptvag.com">string</String> </wrappedTexts> <totalRectangle xmlns="http://xroute.xserver.ptvag.com"> <leftBottom> <point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </leftBottom> <rightTop> <point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </rightTop> </totalRectangle> <vehicleRelatedEmissions ammonia="double" benzene="double" carbonDioxide="double" carbonMonoxide="double" fuel="double" hydrocarbons="double" hydrocarbonsExMethane="double" lead="double" methane="double" nitrogenOxides="double" nitrousOxide="double" particles="double" sulphurDioxide="double" toluene="double" xylene="double" xmlns="http://xroute.xserver.ptvag.com" /> </calculateRouteResult> </calculateRouteResponse> </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/xroute/ws/xroute.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> <calculateRoute xmlns="http://soap.locatienet.com"> <waypointDescs> <WaypointDesc combinedTransportID="string" fuzzyRadius="int" heading="int" linkType="NEXT_NODE or NEXT_SEGMENT or NEXT_MAIN_NODE or FUZZY_LINKING or AUTO_LINKING or NEXT_MAIN_TOLL_NODE or TOLL_STATION or TI_LINKING" street="string"> <wrappedCoords xmlns="http://xroute.xserver.ptvag.com"> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </wrappedCoords> <nodeID iuCode="int" n="int" tID="long" xOff="int" yOff="int" xmlns="http://xroute.xserver.ptvag.com" /> <wrappedRoutingOptions xmlns="http://xroute.xserver.ptvag.com"> <RoutingOption xsi:nil="true" /> <RoutingOption xsi:nil="true" /> </wrappedRoutingOptions> <wrappedSegmentID xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedSegmentID> <wrappedVehicleOptions xmlns="http://xroute.xserver.ptvag.com"> <VehicleOption xsi:nil="true" /> <VehicleOption xsi:nil="true" /> </wrappedVehicleOptions> <viaType viaType="VIA or VIA_STOP or FUZZY or COMBINED_TRANSPORT" xmlns="http://xroute.xserver.ptvag.com" /> </WaypointDesc> <WaypointDesc combinedTransportID="string" fuzzyRadius="int" heading="int" linkType="NEXT_NODE or NEXT_SEGMENT or NEXT_MAIN_NODE or FUZZY_LINKING or AUTO_LINKING or NEXT_MAIN_TOLL_NODE or TOLL_STATION or TI_LINKING" street="string"> <wrappedCoords xmlns="http://xroute.xserver.ptvag.com"> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> <Point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </wrappedCoords> <nodeID iuCode="int" n="int" tID="long" xOff="int" yOff="int" xmlns="http://xroute.xserver.ptvag.com" /> <wrappedRoutingOptions xmlns="http://xroute.xserver.ptvag.com"> <RoutingOption xsi:nil="true" /> <RoutingOption xsi:nil="true" /> </wrappedRoutingOptions> <wrappedSegmentID xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedSegmentID> <wrappedVehicleOptions xmlns="http://xroute.xserver.ptvag.com"> <VehicleOption xsi:nil="true" /> <VehicleOption xsi:nil="true" /> </wrappedVehicleOptions> <viaType viaType="VIA or VIA_STOP or FUZZY or COMBINED_TRANSPORT" xmlns="http://xroute.xserver.ptvag.com" /> </WaypointDesc> </waypointDescs> <routingOptions> <RoutingOption parameter="OPTIMIZATION or SPEED_PROFILE or AVOID_NATIONALNAMEDTOLL_ROADS or AVOID_TOLLROADS or AVOID_VIGNETTEROADS or AVOID_HIGHWAYS or AVOID_FERRIES or AVOID_RESIDENTS_ONLY or AVOID_URBAN_AREAS or AVOID_RAMPS or AVOID_LOW_EMISSION_ZONES or ALLOW_SEGMENT_VIOLATIONS or COST_OF_SEGMENT_VIOLATIONS or EXCLUDE_COUNTRIES or ROUTING_COUNTRIES or ROUTING_RECTANGLE or ROUTE_LANGUAGE or START_TIME or IS_DESTTIME or DYNAMIC_PROFILE or ENABLE_DYNAMIC or ENABLE_ROADEDITOR or START_TIME_ROADEDITOR or ROADEDITOR_LAYERNAME or ROADEDITOR_ATTRIBUTESET or ROADEDITOR_ADDITIONAL_OPTIONS or DISTANCE_MEASURE or COUNTRY_ENCODING or GENERATE_EXTWAYPOINTS or EXPERT_OPTIONS or REQUEST_VERSION or LOW_EMISSION_ZONE_TYPE or DYNAMIC_TIME_ON_STATICROUTE or DYNAMIC_TRAVEL_TIME_STEP_SIZE or DYNAMIC_TRAVEL_TIME_STEP_COUNT or SPEED_INFOS or ENABLE_DYNAMIC_WITH_FREE_FLOW_SPEED or GEODATASOURCE_LAYER or REMAINING_DRIVING_TIMES" value="string" /> <RoutingOption parameter="OPTIMIZATION or SPEED_PROFILE or AVOID_NATIONALNAMEDTOLL_ROADS or AVOID_TOLLROADS or AVOID_VIGNETTEROADS or AVOID_HIGHWAYS or AVOID_FERRIES or AVOID_RESIDENTS_ONLY or AVOID_URBAN_AREAS or AVOID_RAMPS or AVOID_LOW_EMISSION_ZONES or ALLOW_SEGMENT_VIOLATIONS or COST_OF_SEGMENT_VIOLATIONS or EXCLUDE_COUNTRIES or ROUTING_COUNTRIES or ROUTING_RECTANGLE or ROUTE_LANGUAGE or START_TIME or IS_DESTTIME or DYNAMIC_PROFILE or ENABLE_DYNAMIC or ENABLE_ROADEDITOR or START_TIME_ROADEDITOR or ROADEDITOR_LAYERNAME or ROADEDITOR_ATTRIBUTESET or ROADEDITOR_ADDITIONAL_OPTIONS or DISTANCE_MEASURE or COUNTRY_ENCODING or GENERATE_EXTWAYPOINTS or EXPERT_OPTIONS or REQUEST_VERSION or LOW_EMISSION_ZONE_TYPE or DYNAMIC_TIME_ON_STATICROUTE or DYNAMIC_TRAVEL_TIME_STEP_SIZE or DYNAMIC_TRAVEL_TIME_STEP_COUNT or SPEED_INFOS or ENABLE_DYNAMIC_WITH_FREE_FLOW_SPEED or GEODATASOURCE_LAYER or REMAINING_DRIVING_TIMES" value="string" /> </routingOptions> <exceptionPaths> <ExceptionPath absTimeMalus="int" binaryPathDesc="string" extSegments="string" relMalus="int" street="string"> <intersectingLine xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </intersectingLine> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedNodes> <polyline xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </polyline> </ExceptionPath> <ExceptionPath absTimeMalus="int" binaryPathDesc="string" extSegments="string" relMalus="int" street="string"> <intersectingLine xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </intersectingLine> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedNodes> <polyline xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </polyline> </ExceptionPath> </exceptionPaths> <resultListOptions binaryPathDesc="boolean" boundingRectanglesC="int" boundingRectanglesOffset="int" brunnelManoeuvres="boolean" detailLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" dynamicInfo="boolean" extSegments="boolean" featureDescriptions="boolean" manoeuvreAttributes="boolean" manoeuvreGroupRatio="double" manoeuvreGroups="boolean" manoeuvres="boolean" nodes="boolean" polygon="boolean" polygonElevations="boolean" segmentAttributeNamedToll="boolean" segmentAttributePiggyback="boolean" segmentAttributes="boolean" segments="boolean" speedLimits="boolean" texts="boolean" tollManoeuvres="boolean" totalRectangle="boolean" urbanManoeuvres="boolean" utcOffsets="boolean"> <cenEmissionConfiguration actualFuelConsumptionForThisRoute="double" cenVersion="CEN_2011 or CEN_2012 or CO2_DECREE_FRANCE_2011 or AUSTRALIA_NGA_2011 or UK_DEFRA_2014 or AUSTRALIA_NGA_2015" fleetSpecificAverageFuelConsumption="double" routeSpecificAverageFuelConsumption="double" xmlns="http://xroute.xserver.ptvag.com" /> <destDetail minLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" radius="int" xmlns="http://xroute.xserver.ptvag.com" /> <emissions emissionLevel="NONE or BASIC or SEGMENTS or STATIONS or ALL" xmlns="http://xroute.xserver.ptvag.com" /> <hbefaType version="HBEFA_2_1 or HBEFA_3_1 or NO_HBEFA or HBEFA_3_2 or COPERT_AUS_1_2" xmlns="http://xroute.xserver.ptvag.com" /> <startDetail minLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" radius="int" xmlns="http://xroute.xserver.ptvag.com" /> </resultListOptions> <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> </calculateRoute> </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> <calculateRouteResponse xmlns="http://soap.locatienet.com"> <calculateRouteResult binaryPathDesc="string" extSegments="string"> <wrappedBoundingRectangles xmlns="http://xroute.xserver.ptvag.com"> <BoundingRectangle> <leftBottom xsi:nil="true" /> <rightTop xsi:nil="true" /> </BoundingRectangle> <BoundingRectangle> <leftBottom xsi:nil="true" /> <rightTop xsi:nil="true" /> </BoundingRectangle> </wrappedBoundingRectangles> <cenEmissions xmlns="http://xroute.xserver.ptvag.com"> <actualFuelConsumption /> <basedOnHBEFA /> <fleetSpecific /> <routeSpecific /> <vehicleSpecific /> <wrappedVehicleSpecificConversionFactors> <CENEmissionConversionFactors xsi:nil="true" /> <CENEmissionConversionFactors xsi:nil="true" /> </wrappedVehicleSpecificConversionFactors> </cenEmissions> <dynamicInfo distanceDiff="int" timeBenefit="int" timeLoss="int" timeLoss2="int" xmlns="http://xroute.xserver.ptvag.com" /> <emissions ammonia="double" benzene="double" carbonDioxide="double" carbonMonoxide="double" fuel="double" hydrocarbons="double" hydrocarbonsExMethane="double" lead="double" methane="double" nitrogenOxides="double" nitrousOxide="double" particles="double" sulphurDioxide="double" toluene="double" xylene="double" xmlns="http://xroute.xserver.ptvag.com" /> <info cost="int" distance="int" hasViolations="boolean" time="int" xmlns="http://xroute.xserver.ptvag.com"> <wrappedTravelTrend> <CommuterTravelTrend xsi:nil="true" /> <CommuterTravelTrend xsi:nil="true" /> </wrappedTravelTrend> </info> <wrappedManoeuvreGroup xmlns="http://xroute.xserver.ptvag.com"> <ManoeuvreGroup fromIdx="int" toIdx="int" type="MG_TYPE1 or MG_TYPE2"> <extend xsi:nil="true" /> </ManoeuvreGroup> <ManoeuvreGroup fromIdx="int" toIdx="int" type="MG_TYPE1 or MG_TYPE2"> <extend xsi:nil="true" /> </ManoeuvreGroup> </wrappedManoeuvreGroup> <wrappedManoeuvres xmlns="http://xroute.xserver.ptvag.com"> <RouteManoeuvre detailLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" dirInfoIdx="int" dirInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" exitAngle="int" exitAngleNorth="int" exitNr="int" locInfoIdx="int" locInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" manoeuvreDesc="string" manoeuvreGroupIdx="int" manoeuvreType="FURTHER or KEEP or TURN or UTURN or ENTER or EXIT or ENTER_RA or STAY_RA or EXIT_RA or CHANGE or ENTER_FERRY or EXIT_FERRY or EXIT_RA_ENTER or EXIT_RA_ENTER_FERRY" predSegmentIdx="int" routeListSegmentIdx="int" succSegmentIdx="int" turnOrient="STRAIGHT or LEFT or RIGHT" turnWeight="NORMAL or HALF or STRONG" viaIdx="int"> <brunnelManoeuvre xsi:nil="true" /> <manoeuvreAttr xsi:nil="true" /> <urbanlManoeuvre xsi:nil="true" /> </RouteManoeuvre> <RouteManoeuvre detailLevel="BORDERS or VERY_IMPORTANT or STANDARD or LESS_IMPORTANT or OTHER_OPPORTUNITIES or ORTHOGONAL or ALL" dirInfoIdx="int" dirInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" exitAngle="int" exitAngleNorth="int" exitNr="int" locInfoIdx="int" locInfoNodeType="NORMAL or AE or AS or AD or AK or BORDER or BUILT_UP or FERRY or TOLL_ROAD or SIGN" manoeuvreDesc="string" manoeuvreGroupIdx="int" manoeuvreType="FURTHER or KEEP or TURN or UTURN or ENTER or EXIT or ENTER_RA or STAY_RA or EXIT_RA or CHANGE or ENTER_FERRY or EXIT_FERRY or EXIT_RA_ENTER or EXIT_RA_ENTER_FERRY" predSegmentIdx="int" routeListSegmentIdx="int" succSegmentIdx="int" turnOrient="STRAIGHT or LEFT or RIGHT" turnWeight="NORMAL or HALF or STRONG" viaIdx="int"> <brunnelManoeuvre xsi:nil="true" /> <manoeuvreAttr xsi:nil="true" /> <urbanlManoeuvre xsi:nil="true" /> </RouteManoeuvre> </wrappedManoeuvres> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID iuCode="int" n="int" tID="long" xOff="int" yOff="int" /> <UniqueGeoID iuCode="int" n="int" tID="long" xOff="int" yOff="int" /> </wrappedNodes> <polygon xmlns="http://xroute.xserver.ptvag.com"> <lineString xmlns="http://common.xserver.ptvag.com"> <wrappedPoints xsi:nil="true" /> </lineString> </polygon> <wrappedSegments xmlns="http://xroute.xserver.ptvag.com"> <RouteListSegment accDist="int" accTime="int" countryCode="string" dirInfoIdx="int" firstNodeIdx="int" firstPolyIdx="int" iuCode="int" nC="MOTORWAY or HIGHWAY or TRUNK_ROAD or COUNTRY_ROAD or CITY_ROAD or RESIDENTIAL_ROAD or SPECIAL_ROAD or CYCLE_AND_WALKWAY" nodeC="int" polyC="int" streetNameIdx="int" streetNoIdx="int" utcOffset="int" vCalc="int" vNorm="int"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <wrappedFeatureDescriptions xsi:nil="true" /> <normSpeed xsi:nil="true" /> <segmentAttr xsi:nil="true" /> <speedLimits xsi:nil="true" /> <wrappedViolations xsi:nil="true" /> </RouteListSegment> <RouteListSegment accDist="int" accTime="int" countryCode="string" dirInfoIdx="int" firstNodeIdx="int" firstPolyIdx="int" iuCode="int" nC="MOTORWAY or HIGHWAY or TRUNK_ROAD or COUNTRY_ROAD or CITY_ROAD or RESIDENTIAL_ROAD or SPECIAL_ROAD or CYCLE_AND_WALKWAY" nodeC="int" polyC="int" streetNameIdx="int" streetNoIdx="int" utcOffset="int" vCalc="int" vNorm="int"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <wrappedFeatureDescriptions xsi:nil="true" /> <normSpeed xsi:nil="true" /> <segmentAttr xsi:nil="true" /> <speedLimits xsi:nil="true" /> <wrappedViolations xsi:nil="true" /> </RouteListSegment> </wrappedSegments> <wrappedStations xmlns="http://xroute.xserver.ptvag.com"> <WayPoint accDist="int" accTime="int" countryCode="string" iuCode="int" manoeuvreIdx="int" nodeIdx="int" polyIdx="int" segmentIdx="int" utcOffset="int" wayPointType="START or VIA or DEST"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <locationCoord xsi:nil="true" /> <matchCoord xsi:nil="true" /> </WayPoint> <WayPoint accDist="int" accTime="int" countryCode="string" iuCode="int" manoeuvreIdx="int" nodeIdx="int" polyIdx="int" segmentIdx="int" utcOffset="int" wayPointType="START or VIA or DEST"> <cenEmissions xsi:nil="true" /> <emissions xsi:nil="true" /> <locationCoord xsi:nil="true" /> <matchCoord xsi:nil="true" /> </WayPoint> </wrappedStations> <wrappedTexts xmlns="http://xroute.xserver.ptvag.com"> <String xmlns="http://wrappertypes.service.jabba.ptvag.com">string</String> <String xmlns="http://wrappertypes.service.jabba.ptvag.com">string</String> </wrappedTexts> <totalRectangle xmlns="http://xroute.xserver.ptvag.com"> <leftBottom> <point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </leftBottom> <rightTop> <point xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </rightTop> </totalRectangle> <vehicleRelatedEmissions ammonia="double" benzene="double" carbonDioxide="double" carbonMonoxide="double" fuel="double" hydrocarbons="double" hydrocarbonsExMethane="double" lead="double" methane="double" nitrogenOxides="double" nitrousOxide="double" particles="double" sulphurDioxide="double" toluene="double" xylene="double" xmlns="http://xroute.xserver.ptvag.com" /> </calculateRouteResult> </calculateRouteResponse> </soap12:Body> </soap12:Envelope>