stable reference of a search graph...

Data which is used in a more general manner can be requested by xData service. Therefore this data is not provided by one of the other functional services, but concentrated in an own independent service.
Attention: this is not the platform for the data itself. If you have questions about missing data or the handling of binary maps please look at Data and Content.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2860
Joined: Mon Apr 14, 2014 10:28 am
Contact:

stable reference of a search graph...

Post by Bernd Welter »

Hi there,

these days a cloud user faced a situation where he encountered the following behaviour on PTV xServer Internet. Completely safe from PTV's perspective - but I'd like to ensure that you can find information what triggered this in case you run into the same conditions / exceptions:
No suitable high performance routing network found. The available networks can be retrieved by the listHighPerformanceRoutingNetworks operation of the xData module. See also the technical concept on high performance routing.

Code: Select all

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body>
<soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code>
<soap:Reason><soap:Text xml:lang="en">Due to a specific parameter of the request certain data is required to calculate the response but the data is not available.</soap:Text>
</soap:Reason><soap:Detail>
<ns3:XServerWebFault xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:ns3="http://exceptions.xserver.ptvgroup.com" 
xmlns:ns2="http://xdima.xserver.ptvgroup.com" 
hint="No suitable high performance routing network found. The available networks can be retrieved by the listHighPerformanceRoutingNetworks operation of the xData module. See also the technical concept on high performance routing." 
parameter="/CreateDistanceMatrixRequest/distanceMatrixOptions/@routingType" 
value="HIGH_PERFORMANCE_ROUTING" xsi:type="ns3:DataNotAvailableFault"/>
</soap:Detail></soap:Fault></soap:Body></soap:Envelope>
As you may know we offer several so-called (standard) search graphs in the cloud. Their purpose is to speed up distance matrix calculation which is mainly required for
- sequence optimization
- tour optimization
Each search graph is linked to a specific routing profile and as the creation of a Distance Matrix can easily be triggered by using the ID of a graph this is a comfortable approach.

But the ID of a graph may change (e.g. because of a map update). So if you want to stabilize your application you need to ask for the latest ID of the graph that you want to use. For this you need to use the stable element LABEL.
Current LABELs and IDs in the production as of 13.11.2020 (v2.20) : https://xserver2-europe-eu.cloud.ptvgroup.com/<br />Attention: IDs may change - LABEL's are stable
Current LABELs and IDs in the production as of 13.11.2020 (v2.20) : https://xserver2-europe-eu.cloud.ptvgroup.com/
Attention: IDs may change - LABEL's are stable
Use xData.listHighPerformanceRoutingNetworks( ..LABEL.. ) to get the proper ID.
Then use this ID in the succeeding xDima.createDistanceMatrix call.

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply