Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LinkingAlps examples #374

Merged
merged 6 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions examples/linking_alps/LA_5T_EPR_Request.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1-dev" xsi:schemaLocation="http://www.vdv.de/ojp ../../OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2021-04-21T15:20:35Z</siri:RequestTimestamp>
<siri:RequestorRef>EFALocationCollector10.5.0.0-STR-DB-20</siri:RequestorRef>
<siri:MessageIdentifier>A58C62B8-3E89-48F9-AECC-FD09CF155AE4</siri:MessageIdentifier>
<OJPExchangePointsRequest>
<siri:RequestTimestamp>2021-04-21T15:20:35Z</siri:RequestTimestamp>
<Params>
<NumberOfResults>100</NumberOfResults>
<ContinueAt>0</ContinueAt>
</Params>
</OJPExchangePointsRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
37 changes: 37 additions & 0 deletions examples/linking_alps/LA_5T_EPR_Response.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1-dev" xsi:schemaLocation="http://www.vdv.de/ojp ../../OJP.xsd">
<OJPResponse>
<siri:ServiceDelivery>
<siri:ResponseTimestamp>2023-06-13T14:02:31.259Z</siri:ResponseTimestamp>
<siri:ProducerRef>OJPOpenMoveMiddleware</siri:ProducerRef>
<siri:Status>true</siri:Status>
<OJPExchangePointsDelivery>
<siri:ResponseTimestamp>2023-06-13T14:02:31.305Z</siri:ResponseTimestamp>
<siri:Status>true</siri:Status>
<CalcTime>46</CalcTime>
<ExchangePointsResult>
<Place>
<StopPlace>
<StopPlaceRef>trepie:ITRP-ST00108290038</StopPlaceRef>
<StopPlaceName>
<Text>Chivasso</Text>
</StopPlaceName>
<PrivateCode>
<System>LinkingAlps</System>
<Value>it:itc1:StopPlace:ITRP-ST00108290038:</Value>
</PrivateCode>
<TopographicPlaceRef/>
</StopPlace>
<Name>
<Text>Chivasso</Text>
</Name>
<GeoPosition>
<siri:Longitude>7.88992</siri:Longitude>
<siri:Latitude>45.19339</siri:Latitude>
</GeoPosition>
</Place>
</ExchangePointsResult>
</OJPExchangePointsDelivery>
</siri:ServiceDelivery>
</OJPResponse>
</OJP>
18 changes: 18 additions & 0 deletions examples/linking_alps/LA_5T_LIR_Request.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1-dev" xsi:schemaLocation="http://www.vdv.de/ojp ../../OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2022-01-31T13:45:09.541Z</siri:RequestTimestamp>
<siri:RequestorRef>SBB-SoapUI-Tests</siri:RequestorRef>
<OJPLocationInformationRequest>
<siri:RequestTimestamp>2022-01-31T13:45:09.541Z</siri:RequestTimestamp>
<InitialInput/>
<Restrictions>
<Type>stop</Type>
<NumberOfResults>100</NumberOfResults>
<ContinueAt>0</ContinueAt>
</Restrictions>
</OJPLocationInformationRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
56 changes: 56 additions & 0 deletions examples/linking_alps/LA_5T_LIR_Response.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1-dev" xsi:schemaLocation="http://www.vdv.de/ojp ../../OJP.xsd">
<OJPResponse>
<siri:ServiceDelivery>
<siri:ResponseTimestamp>2023-06-13T14:14:45.571Z</siri:ResponseTimestamp>
<siri:ProducerRef>OJPOpenMoveMiddleware</siri:ProducerRef>
<siri:Status>true</siri:Status>
<OJPLocationInformationDelivery>
<siri:ResponseTimestamp>2023-06-13T14:14:45.674Z</siri:ResponseTimestamp>
<siri:Status>true</siri:Status>
<CalcTime>103</CalcTime>
<ContinueAt>100</ContinueAt>
<PlaceResult>
<Place>
<StopPlace>
<StopPlaceRef>1:1</StopPlaceRef>
<StopPlaceName>
<Text>30950 stazione fs - capolinea</Text>
</StopPlaceName>
<TopographicPlaceRef/>
</StopPlace>
<Name>
<Text>30950 stazione fs - capolinea</Text>
</Name>
<GeoPosition>
<siri:Longitude>6.70954</siri:Longitude>
<siri:Latitude>45.07633</siri:Latitude>
</GeoPosition>
</Place>
<Complete>true</Complete>
<Probability>0.01</Probability>
</PlaceResult>
<PlaceResult>
<Place>
<StopPlace>
<StopPlaceRef>13:22</StopPlaceRef>
<StopPlaceName>
<Text>22 verzuolo - rosa</Text>
</StopPlaceName>
<TopographicPlaceRef>18</TopographicPlaceRef>
</StopPlace>
<Name>
<Text>22 verzuolo - rosa</Text>
</Name>
<GeoPosition>
<siri:Longitude>7.48302</siri:Longitude>
<siri:Latitude>44.58207</siri:Latitude>
</GeoPosition>
</Place>
<Complete>true</Complete>
<Probability>0.01</Probability>
</PlaceResult>
</OJPLocationInformationDelivery>
</siri:ServiceDelivery>
</OJPResponse>
</OJP>
36 changes: 36 additions & 0 deletions examples/linking_alps/LA_5T_TR_Request .xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1-dev" xsi:schemaLocation="http://www.vdv.de/ojp ../../OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2023-06-13T17:53:00.000Z</siri:RequestTimestamp>
<siri:RequestorRef>SBB-SoapUI-Tests</siri:RequestorRef>
<OJPTripRequest>
<siri:RequestTimestamp>2023-06-13T17:53:00.000Z</siri:RequestTimestamp>
<Origin>
<PlaceRef>
<StopPlaceRef>23:1917</StopPlaceRef>
<Name>
<Text>Origin</Text>
</Name>
</PlaceRef>
<DepArrTime>2023-06-13T17:53:00.000Z</DepArrTime>
</Origin>
<Destination>
<PlaceRef>
<StopPlaceRef>gtt:1992</StopPlaceRef>
<Name>
<Text>Desitination</Text>
</Name>
</PlaceRef>
</Destination>
<Params>
<NumberOfResults>5</NumberOfResults>
<IncludeTrackSections>false</IncludeTrackSections>
<IncludeLegProjection>false</IncludeLegProjection>
<IncludeTurnDescription>false</IncludeTurnDescription>
<IncludeIntermediateStops>false</IncludeIntermediateStops>
</Params>
</OJPTripRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
Loading