TimeTables
Click here for a complete list of operations.
Confirmation2
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /etdws/TimeTables.asmx HTTP/1.1 Host: provoz.spravazeleznic.cz Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://provoz.szdc.cz/ETD/Confirmation2" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Confirmation2 xmlns="http://provoz.szdc.cz/ETD"> <confirmation2Request> <MessageHeader> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <TransactionId>string</TransactionId> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeader> <LocoIdent>string</LocoIdent> <TrainIdent> <TrainNumber>int</TrainNumber> <KindOfTrain>string</KindOfTrain> <ScheduledDepartureDate>date</ScheduledDepartureDate> <ShortDesc>string</ShortDesc> <FullDesc> <Arrival>time</Arrival> <Departure>time</Departure> <From>string</From> <To>string</To> <RailwayCompany>string</RailwayCompany> </FullDesc> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <PAIdent>string</PAIdent> <ValidForDate>date</ValidForDate> <ValidForDate>date</ValidForDate> </TrainIdent> <User> <Login>string</Login> <Password>string</Password> <SystemId>unsignedByte</SystemId> </User> </confirmation2Request> </Confirmation2> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Confirmation2Response xmlns="http://provoz.szdc.cz/ETD"> <Confirmation2Result> <MessageHeader> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <TransactionId>string</TransactionId> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeader> <RelatedReference> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <LocoIdent>string</LocoIdent> <TrainIdent> <TrainNumber>int</TrainNumber> <KindOfTrain>string</KindOfTrain> <ScheduledDepartureDate>date</ScheduledDepartureDate> <ShortDesc>string</ShortDesc> <FullDesc> <Arrival>time</Arrival> <Departure>time</Departure> <From>string</From> <To>string</To> <RailwayCompany>string</RailwayCompany> </FullDesc> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <PAIdent>string</PAIdent> <ValidForDate>date</ValidForDate> <ValidForDate>date</ValidForDate> </TrainIdent> <Result> <Value>short</Value> <Description>string</Description> </Result> </Confirmation2Result> </Confirmation2Response> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /etdws/TimeTables.asmx HTTP/1.1 Host: provoz.spravazeleznic.cz Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Confirmation2 xmlns="http://provoz.szdc.cz/ETD"> <confirmation2Request> <MessageHeader> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <TransactionId>string</TransactionId> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeader> <LocoIdent>string</LocoIdent> <TrainIdent> <TrainNumber>int</TrainNumber> <KindOfTrain>string</KindOfTrain> <ScheduledDepartureDate>date</ScheduledDepartureDate> <ShortDesc>string</ShortDesc> <FullDesc> <Arrival>time</Arrival> <Departure>time</Departure> <From>string</From> <To>string</To> <RailwayCompany>string</RailwayCompany> </FullDesc> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <PAIdent>string</PAIdent> <ValidForDate>date</ValidForDate> <ValidForDate>date</ValidForDate> </TrainIdent> <User> <Login>string</Login> <Password>string</Password> <SystemId>unsignedByte</SystemId> </User> </confirmation2Request> </Confirmation2> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Confirmation2Response xmlns="http://provoz.szdc.cz/ETD"> <Confirmation2Result> <MessageHeader> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <TransactionId>string</TransactionId> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeader> <RelatedReference> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <LocoIdent>string</LocoIdent> <TrainIdent> <TrainNumber>int</TrainNumber> <KindOfTrain>string</KindOfTrain> <ScheduledDepartureDate>date</ScheduledDepartureDate> <ShortDesc>string</ShortDesc> <FullDesc> <Arrival>time</Arrival> <Departure>time</Departure> <From>string</From> <To>string</To> <RailwayCompany>string</RailwayCompany> </FullDesc> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <PAIdent>string</PAIdent> <ValidForDate>date</ValidForDate> <ValidForDate>date</ValidForDate> </TrainIdent> <Result> <Value>short</Value> <Description>string</Description> </Result> </Confirmation2Result> </Confirmation2Response> </soap12:Body> </soap12:Envelope>