What means "There is no unique UTC offset determinable"?

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

What means "There is no unique UTC offset determinable"?

Postby Bernd Welter » Tue Dec 17, 2019 2:04 pm

Hi there,

an xBuddy gets the following error message through his xTour2 planTours call:
xml code
<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">There is no unique UTC offset determinable for a driver operating interval.</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://xtour.xserver.ptvgroup.com"
hint="Please provide a UTC offset for the driver operating interval."
parameter="/PlanToursRequest/fleet/drivers[1]/@operatingIntervals[1]"
value="" xsi:type="ns3:InvalidValueFault"/>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>


The one and only time value he mentioned in his request is
xml code
<drivers id="Paul" vehicleId="Auto">
<operatingIntervals
xmlns:q601="http://time.xserver.ptvgroup.com"
xsi:type="q601:StartDurationInterval"
start="2019-12-17T14:33:43.9624685"
duration="28800"/>
</drivers>

What exactly does it mean? OK, I immediately told him to add an UTC offset, but: the message didn't appear with other coordinates being involved - so we try to understand the circumstances...

This worked fine...
xml code
<drivers id="Paul" vehicleId="Auto">
<operatingIntervals
xmlns:q601="http://time.xserver.ptvgroup.com"
xsi:type="q601:StartDurationInterval"
start="2019-12-17T14:33:43.9624685+01:00"
duration="28800"/>
</drivers>



Best regards,
Bernd
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1479
Joined: Mon Apr 14, 2014 10:28 am

Return to PTV xTourServer

cron