XRouteWSService
Click here for a complete list of operations.
calculateTrafficPrediction
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/calculateTrafficPrediction" <?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> <calculateTrafficPrediction xmlns="http://soap.locatienet.com"> <route 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" /> </route> <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> <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> </calculateTrafficPrediction> </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> <calculateTrafficPredictionResponse xmlns="http://soap.locatienet.com"> <calculateTrafficPredictionResult> <Route binaryPathDesc="string" extSegments="string"> <wrappedBoundingRectangles xmlns="http://xroute.xserver.ptvag.com"> <BoundingRectangle xsi:nil="true" /> <BoundingRectangle xsi:nil="true" /> </wrappedBoundingRectangles> <cenEmissions xmlns="http://xroute.xserver.ptvag.com"> <actualFuelConsumption xsi:nil="true" /> <basedOnHBEFA xsi:nil="true" /> <fleetSpecific xsi:nil="true" /> <routeSpecific xsi:nil="true" /> <vehicleSpecific xsi:nil="true" /> <wrappedVehicleSpecificConversionFactors xsi:nil="true" /> </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 xsi:nil="true" /> </info> <wrappedManoeuvreGroup xmlns="http://xroute.xserver.ptvag.com"> <ManoeuvreGroup xsi:nil="true" /> <ManoeuvreGroup xsi:nil="true" /> </wrappedManoeuvreGroup> <wrappedManoeuvres xmlns="http://xroute.xserver.ptvag.com"> <RouteManoeuvre xsi:nil="true" /> <RouteManoeuvre xsi:nil="true" /> </wrappedManoeuvres> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedNodes> <polygon xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </polygon> <wrappedSegments xmlns="http://xroute.xserver.ptvag.com"> <RouteListSegment xsi:nil="true" /> <RouteListSegment xsi:nil="true" /> </wrappedSegments> <wrappedStations xmlns="http://xroute.xserver.ptvag.com"> <WayPoint xsi:nil="true" /> <WayPoint xsi:nil="true" /> </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 xsi:nil="true" /> <rightTop xsi:nil="true" /> </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" /> </Route> <IsDesttime>boolean</IsDesttime> <StartTime>dateTime</StartTime> <ConfidenceLevel>int</ConfidenceLevel> <VehicleCategory>short</VehicleCategory> <trafficPrediction> <cumulativeProbabilityDistribution xmlns="http://interface_def/xsd">double</cumulativeProbabilityDistribution> <cumulativeProbabilityDistribution xmlns="http://interface_def/xsd">double</cumulativeProbabilityDistribution> <defaultSpeedPerSegment xmlns="http://interface_def/xsd">double</defaultSpeedPerSegment> <defaultSpeedPerSegment xmlns="http://interface_def/xsd">double</defaultSpeedPerSegment> <delayFractionPerSegment xmlns="http://interface_def/xsd">double</delayFractionPerSegment> <delayFractionPerSegment xmlns="http://interface_def/xsd">double</delayFractionPerSegment> <departuretimeHour xmlns="http://interface_def/xsd">int</departuretimeHour> <departuretimeHour xmlns="http://interface_def/xsd">int</departuretimeHour> <departuretimeMin xmlns="http://interface_def/xsd">int</departuretimeMin> <departuretimeMin xmlns="http://interface_def/xsd">int</departuretimeMin> <edges_min xmlns="http://interface_def/xsd">double</edges_min> <edges_min xmlns="http://interface_def/xsd">double</edges_min> <explanation xmlns="http://interface_def/xsd">string</explanation> <percentageHistoricalDataAvailable xmlns="http://interface_def/xsd">double</percentageHistoricalDataAvailable> <percentageRealTimeDataAvailable xmlns="http://interface_def/xsd">double</percentageRealTimeDataAvailable> <probabilityDistribution xmlns="http://interface_def/xsd">double</probabilityDistribution> <probabilityDistribution xmlns="http://interface_def/xsd">double</probabilityDistribution> <routetimeExpectedValue_sec xmlns="http://interface_def/xsd">double</routetimeExpectedValue_sec> <routetimeGivenConfidence_sec xmlns="http://interface_def/xsd">double</routetimeGivenConfidence_sec> <routetimeLowerbound_sec xmlns="http://interface_def/xsd">double</routetimeLowerbound_sec> <routetimeMostLikelyIntervalCenter_sec xmlns="http://interface_def/xsd">double</routetimeMostLikelyIntervalCenter_sec> <routetimeUpperbound_sec xmlns="http://interface_def/xsd">double</routetimeUpperbound_sec> <speedPerSegment xmlns="http://interface_def/xsd">double</speedPerSegment> <speedPerSegment xmlns="http://interface_def/xsd">double</speedPerSegment> <traveltimePerDeparturetime_min xmlns="http://interface_def/xsd">double</traveltimePerDeparturetime_min> <traveltimePerDeparturetime_min xmlns="http://interface_def/xsd">double</traveltimePerDeparturetime_min> </trafficPrediction> </calculateTrafficPredictionResult> </calculateTrafficPredictionResponse> </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> <calculateTrafficPrediction xmlns="http://soap.locatienet.com"> <route 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" /> </route> <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> <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> </calculateTrafficPrediction> </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> <calculateTrafficPredictionResponse xmlns="http://soap.locatienet.com"> <calculateTrafficPredictionResult> <Route binaryPathDesc="string" extSegments="string"> <wrappedBoundingRectangles xmlns="http://xroute.xserver.ptvag.com"> <BoundingRectangle xsi:nil="true" /> <BoundingRectangle xsi:nil="true" /> </wrappedBoundingRectangles> <cenEmissions xmlns="http://xroute.xserver.ptvag.com"> <actualFuelConsumption xsi:nil="true" /> <basedOnHBEFA xsi:nil="true" /> <fleetSpecific xsi:nil="true" /> <routeSpecific xsi:nil="true" /> <vehicleSpecific xsi:nil="true" /> <wrappedVehicleSpecificConversionFactors xsi:nil="true" /> </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 xsi:nil="true" /> </info> <wrappedManoeuvreGroup xmlns="http://xroute.xserver.ptvag.com"> <ManoeuvreGroup xsi:nil="true" /> <ManoeuvreGroup xsi:nil="true" /> </wrappedManoeuvreGroup> <wrappedManoeuvres xmlns="http://xroute.xserver.ptvag.com"> <RouteManoeuvre xsi:nil="true" /> <RouteManoeuvre xsi:nil="true" /> </wrappedManoeuvres> <wrappedNodes xmlns="http://xroute.xserver.ptvag.com"> <UniqueGeoID xsi:nil="true" /> <UniqueGeoID xsi:nil="true" /> </wrappedNodes> <polygon xmlns="http://xroute.xserver.ptvag.com"> <lineString xsi:nil="true" xmlns="http://common.xserver.ptvag.com" /> </polygon> <wrappedSegments xmlns="http://xroute.xserver.ptvag.com"> <RouteListSegment xsi:nil="true" /> <RouteListSegment xsi:nil="true" /> </wrappedSegments> <wrappedStations xmlns="http://xroute.xserver.ptvag.com"> <WayPoint xsi:nil="true" /> <WayPoint xsi:nil="true" /> </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 xsi:nil="true" /> <rightTop xsi:nil="true" /> </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" /> </Route> <IsDesttime>boolean</IsDesttime> <StartTime>dateTime</StartTime> <ConfidenceLevel>int</ConfidenceLevel> <VehicleCategory>short</VehicleCategory> <trafficPrediction> <cumulativeProbabilityDistribution xmlns="http://interface_def/xsd">double</cumulativeProbabilityDistribution> <cumulativeProbabilityDistribution xmlns="http://interface_def/xsd">double</cumulativeProbabilityDistribution> <defaultSpeedPerSegment xmlns="http://interface_def/xsd">double</defaultSpeedPerSegment> <defaultSpeedPerSegment xmlns="http://interface_def/xsd">double</defaultSpeedPerSegment> <delayFractionPerSegment xmlns="http://interface_def/xsd">double</delayFractionPerSegment> <delayFractionPerSegment xmlns="http://interface_def/xsd">double</delayFractionPerSegment> <departuretimeHour xmlns="http://interface_def/xsd">int</departuretimeHour> <departuretimeHour xmlns="http://interface_def/xsd">int</departuretimeHour> <departuretimeMin xmlns="http://interface_def/xsd">int</departuretimeMin> <departuretimeMin xmlns="http://interface_def/xsd">int</departuretimeMin> <edges_min xmlns="http://interface_def/xsd">double</edges_min> <edges_min xmlns="http://interface_def/xsd">double</edges_min> <explanation xmlns="http://interface_def/xsd">string</explanation> <percentageHistoricalDataAvailable xmlns="http://interface_def/xsd">double</percentageHistoricalDataAvailable> <percentageRealTimeDataAvailable xmlns="http://interface_def/xsd">double</percentageRealTimeDataAvailable> <probabilityDistribution xmlns="http://interface_def/xsd">double</probabilityDistribution> <probabilityDistribution xmlns="http://interface_def/xsd">double</probabilityDistribution> <routetimeExpectedValue_sec xmlns="http://interface_def/xsd">double</routetimeExpectedValue_sec> <routetimeGivenConfidence_sec xmlns="http://interface_def/xsd">double</routetimeGivenConfidence_sec> <routetimeLowerbound_sec xmlns="http://interface_def/xsd">double</routetimeLowerbound_sec> <routetimeMostLikelyIntervalCenter_sec xmlns="http://interface_def/xsd">double</routetimeMostLikelyIntervalCenter_sec> <routetimeUpperbound_sec xmlns="http://interface_def/xsd">double</routetimeUpperbound_sec> <speedPerSegment xmlns="http://interface_def/xsd">double</speedPerSegment> <speedPerSegment xmlns="http://interface_def/xsd">double</speedPerSegment> <traveltimePerDeparturetime_min xmlns="http://interface_def/xsd">double</traveltimePerDeparturetime_min> <traveltimePerDeparturetime_min xmlns="http://interface_def/xsd">double</traveltimePerDeparturetime_min> </trafficPrediction> </calculateTrafficPredictionResult> </calculateTrafficPredictionResponse> </soap12:Body> </soap12:Envelope>