just faced an inconvenient situation:
A customer (uses SAP) tried to work with auto generated clients based on xRoute's WSDL.
One attribute of a TollStationDescripton object is the "required" TollManoeuvreType.
Though the property is labeled as "required":
Code: Select all
<complexType name="TollStationDescription">
<complexContent>
<extension base="ns1:TransientVO">
<sequence></sequence>
<attribute name="manoeuvreType" type="tns:TollManoeuvreType" use="required"/>
<attribute name="routeListIndex" type="xsd:int" use="required"/>
<attribute name="time" type="xsd:string" use="optional"/>
<attribute name="tollLocationType" type="tns:InfoNodeType" use="required"/>
<attribute name="tollStationID" type="xsd:int" use="required"/>
<attribute name="tollStationName" type="xsd:string" use="optional"/>
</extension>
</complexContent>
</complexType>
Code: Select all
<ns2:ResultListOptions_4 totalRectangle="false" boundingRectanglesOffset="300"
boundingRectanglesC="5" tollManoeuvres="false"
manoeuvreGroupRatio="1.0" manoeuvreGroups="true" urbanManoeuvres="false"
brunnelManoeuvres="false" manoeuvreAttributes="false" segmentAttributes="false"
segments="true" dynamicInfo="false" detailLevel="STANDARD" polygon="true"
binaryPathDesc="false" nodes="false" texts="true" manoeuvres="true"/>
Then the response will return the stations without the ManoeuvreType...
Code: Select all
<ns3:TollCostInfo currency="EUR" tollType="NATIONALTOLL" tollPrice="5" tollDistance="427" tollProviderID="201" tollSectionID="0">
<ns3:tollStationFrom routeListIndex="1083" tollLocationType="NORMAL"
tollStationID="619038" tollStationName="619038"/>
<ns3:tollStationTo routeListIndex="1088" tollLocationType="NORMAL"
tollStationID="2000000806" tollStationName="2000000806"/>
</ns3:TollCostInfo>
If the manoeuvres are requested the response is proper:
Code: Select all
<ns3:TollCostInfo currency="EUR" tollType="NATIONALTOLL" tollPrice="34" tollDistance="2703" tollProviderID="205" tollSectionID="0">
<ns3:tollStationFrom manoeuvreType="ENTER" routeListIndex="654" tollLocationType="NORMAL" tollStationID="2000000719" tollStationName="2000000719"/>
<ns3:tollStationTo manoeuvreType="FURTHER" routeListIndex="666" tollLocationType="NORMAL" tollStationID="19180" tollStationName="19180"/>
</ns3:TollCostInfo>
Thanks,
Best regards Bernd