TimeTables
Click here for a complete list of operations.
Descriptor
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/Descriptor" <?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> <Descriptor xmlns="http://provoz.szdc.cz/ETD"> <descriptorRequest> <MessageHeaderSM> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeaderSM> <GPSCoords> <Latitude>double</Latitude> <Longitude>double</Longitude> <Altitude>double</Altitude> <Velocity>double</Velocity> <Course>double</Course> <Climb>double</Climb> <ErrTotal>double</ErrTotal> <ErrHorz>double</ErrHorz> <ErrVert>double</ErrVert> </GPSCoords> <LocoIdent>string</LocoIdent> <User> <Login>string</Login> <Password>string</Password> <SystemId>unsignedByte</SystemId> </User> </descriptorRequest> </Descriptor> </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> <DescriptorResponse xmlns="http://provoz.szdc.cz/ETD"> <DescriptorResult> <MessageHeaderSM> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeaderSM> <RelatedReference> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <LocoIdent>string</LocoIdent> <FileDescInfo> <Name>string</Name> <URL>string</URL> <ValidFrom>date</ValidFrom> <ValidTo>date</ValidTo> <Version>positiveInteger</Version> <Size>int</Size> </FileDescInfo> <Result> <Value>short</Value> <Description>string</Description> </Result> </DescriptorResult> </DescriptorResponse> </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> <Descriptor xmlns="http://provoz.szdc.cz/ETD"> <descriptorRequest> <MessageHeaderSM> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeaderSM> <GPSCoords> <Latitude>double</Latitude> <Longitude>double</Longitude> <Altitude>double</Altitude> <Velocity>double</Velocity> <Course>double</Course> <Climb>double</Climb> <ErrTotal>double</ErrTotal> <ErrHorz>double</ErrHorz> <ErrVert>double</ErrVert> </GPSCoords> <LocoIdent>string</LocoIdent> <User> <Login>string</Login> <Password>string</Password> <SystemId>unsignedByte</SystemId> </User> </descriptorRequest> </Descriptor> </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> <DescriptorResponse xmlns="http://provoz.szdc.cz/ETD"> <DescriptorResult> <MessageHeaderSM> <MessageReference> <MessageTypeVersion>string</MessageTypeVersion> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>string</Sender> <Recipient>string</Recipient> <Version>string</Version> <VehicleId>string</VehicleId> </MessageHeaderSM> <RelatedReference> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <LocoIdent>string</LocoIdent> <FileDescInfo> <Name>string</Name> <URL>string</URL> <ValidFrom>date</ValidFrom> <ValidTo>date</ValidTo> <Version>positiveInteger</Version> <Size>int</Size> </FileDescInfo> <Result> <Value>short</Value> <Description>string</Description> </Result> </DescriptorResult> </DescriptorResponse> </soap12:Body> </soap12:Envelope>