Open ue71603 opened 2 months ago
The requests should provide either data or empty. Half empty responses should be avoided
Request:
<?xml version="1.0" encoding="UTF-8"?> <OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../OJP4/OJP.xsd"> <OJPRequest> <siri:ServiceRequest> <siri:RequestTimestamp>2024-09-25T12:00:00</siri:RequestTimestamp> <siri:RequestorRef>MENTZRegTest</siri:RequestorRef> <OJPStopEventRequest> <siri:RequestTimestamp>2024-09-25T12:00:00</siri:RequestTimestamp> <siri:MessageIdentifier>SER-1a1</siri:MessageIdentifier> <Location> <PlaceRef> <siri:StopPointRef>8519655</siri:StopPointRef> <Name> <Text>Goppenstein, Autoverlad</Text> </Name> </PlaceRef> <DepArrTime>2024-12-05T23:00:00+00:00</DepArrTime> </Location> <Params> <NumberOfResults>5</NumberOfResults> <StopEventType>both</StopEventType> </Params> </OJPStopEventRequest> </siri:ServiceRequest> </OJPRequest> </OJP>
Response:
<OJP xmlns:siri="http://www.siri.org.uk/siri" xmlns="http://www.vdv.de/ojp" version="2.0"> <OJPResponse> <siri:ServiceDelivery> <siri:ResponseTimestamp>2024-09-25T12:53:15.9122096+02:00</siri:ResponseTimestamp> <siri:ProducerRef>MENTZ</siri:ProducerRef> <OJPStopEventDelivery> <siri:ResponseTimestamp>2024-09-25T12:53:15.912211+02:00</siri:ResponseTimestamp> <siri:RequestMessageRef>dcda7d6e-f44b-4e08-9f63-eefd21b3d800</siri:RequestMessageRef> <siri:DefaultLanguage>de</siri:DefaultLanguage> <CalcTime>4</CalcTime> <StopEventResponseContext> <Places/> </StopEventResponseContext> </OJPStopEventDelivery> </siri:ServiceDelivery> </OJPResponse> </OJP>
The requests should provide either data or empty. Half empty responses should be avoided
Request:
Response: