Page 1 of 1

accessing roadeditor layer failed after updating map

Posted: Tue May 28, 2024 9:23 am
by Arjan akkermans
Closed: the resolution was to install the TLN version of the map instead of the stock version

Hello,

Im am using an external library to connect to PTV xRoute server 1.30.

After updating the map from 'PTV Europe City Map Premium 2021.1H' to 'PTV Europe City Map Premium 2024.2H' I receive the following error when requesting any distance calculation:

Invalid Response Code :

Code: Select all

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
	<soap:Body>
		<soap:Fault>
			<faultcode>soap:2580</faultcode>
			<faultstring>accessing roadeditor layer failed, probably the specified layer name does not 
				exist, or no layer name has been specified</faultstring>
			<detail>
				<ns3:XRouteException xmlns:ns6="http://exception.core.jabba.ptvag.com" 
					xmlns:ns4="http://types.xroute.xserver.ptvag.com" 
					xmlns:ns3="http://xroute.xserver.ptvag.com" 
					xmlns:ns2="http://baseservices.service.jabba.ptvag.com" 
					xmlns:ns1="http://common.xserver.ptvag.com" 
					xmlns:ns0="http://wrappertypes.service.jabba.ptvag.com">
					<ns6:stackElement className="com.ptvag.xserver.xroute.XRouteException" errorKey="2580" 
						message="accessing roadeditor layer failed, probably the specified 
						layer name does not exist, or no layer name has been specified">
						<ns6:cause xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
						<ns6:wrappedContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
					</ns6:stackElement>
				</ns3:XRouteException>
			</detail>
		</soap:Fault>
	</soap:Body>
</soap:Envelope>

Upon some investigating I noticed that changing the profile used for the calculation circumvents this problem.
However I am not sure what the difference is between the old and new profile, and ideally I would like to use the same profile as before the map upgrade. As I have no idea how to tackle this issue any help is welcome!

The old profile used before the map upgrade was '40T.xml' and after encountering the error after the map upgrade I changed it to a default 'TruckFast.mxl' (see attatchments).

Re: accessing roadeditor layer failed after updating map

Posted: Tue May 28, 2024 9:36 am
by Joost
Hello Arjan,

You where probably running the TLNplanner edition of the Europe map before and now have a stock edition installed. Please conacnt you support contact to get a TLNplanner edition of the map.

With Regards,
Joost

Re: accessing roadeditor layer failed after updating map

Posted: Tue May 28, 2024 3:08 pm
by Arjan akkermans
Thanks for the reply.

After some asking around this indeed seems to be the case.
I have requested the TLNplanner edition of the Europe map and am hopeful this will resolve the issue.