n00b - wiki example doesnt work? / or am i misunderstandiung

33 views
Skip to first unread message

Wayne Joseph

unread,
Nov 1, 2025, 2:12:38 PM (9 days ago) Nov 1
to A gathering place for the Open Rail Data community
Hi - I've tried for 2  hard days to get this to work in Postman, but now im on the verge of giving up.

I'm trying to follow the 'beginners' example here:
  https://wiki.openraildata.com/index.php/OpenLDBWS_SOAP_Query_Raw

I registered at https://opendata.nationalrail.co.uk/user and got a token via email but when i plug the token into the placeholder, and click 'Send', the Post request gives an error (+ screenshot attached. )

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>Server did not recognize the value of HTTP Header SOAPAction: http://thalesgroup.com/RTTI/2010-11-01/ldb//GetDepartureBoard.</faultstring>
            <detail />
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Is the example broken, outdated, are my API keys not activated (I've tried 3 now) or is it just me please? Does it work for anyone else, or does it need updating on the Wiki?

Many thanks for any light that can be shed!

WJchrome - httpslite.realtime.nationalrail.co.ukOpenLDBWSldb6_2025-11-01_01.16.41.png



 

Peter Hicks

unread,
Nov 1, 2025, 2:22:31 PM (9 days ago) Nov 1
to openrail...@googlegroups.com
Hi Wayne

On Saturday, 1 November 2025 at 18:12, Wayne Joseph <wayne...@gmail.com> wrote:

Hi - I've tried for 2 hard days to get this to work in Postman, but now im on the verge of giving up.

I'm trying to follow the 'beginners' example here:

I wish I'd never written that page!  You may find it easier to use Python or another language which will remove the need for you to hand-craft your own SOAP requests.

Alternatively, you can rid yourself of having to understand SOAP by using the Live Departure Board data product on RDM at https://raildata.org.uk/dataProduct/P-d81d6eaf-8060-4467-a339-1c833e50cbbe/overview.  There's an OpenAPI specification (the ldbws-swagger-json.txt) file in the Documentation which you might find refreshingly modern.


Peter
Reply all
Reply to author
Forward
0 new messages