OpenLDBWS SOAP Query Raw

From Open Rail Data Wiki
Jump to navigation Jump to search

Sending a SOAP query manually isn't useful in a production environment, but can be very useful in a development context. You're able to check that your token is valid, and see the raw response that the server returns.

Using Postman

Postman is an extension for Google Chrome which allows manual interaction with a variety of APIs.

To use the OpenLDBWS API with Postman, send the following raw data in XML (text/xml) format as a POST (not a GET) query to the endpoint at

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="" xmlns:ns2="">
      <ns2:TokenValue>*** YOUR TOKEN GOES HERE ***</ns2:TokenValue>

Click 'Send' and the result of the GetDepartureBoardResponse query will be returned.