# SOAP, WSDL and LiveDepartureBoards

**URL:** <https://www.ruby-forum.com/t/soap-wsdl-and-livedepartureboards/173861>\
**Category:** Ruby\
**Created:** [August 17, 2009, 7:52am UTC](https://www.ruby-forum.com/t/soap-wsdl-and-livedepartureboards/173861 "2009-08-17T07:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tekhne](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@tekhne](https://www.ruby-forum.com/u/tekhne)\
**Post date:** [August 17, 2009, 7:52am UTC](https://www.ruby-forum.com/t/soap-wsdl-and-livedepartureboards/173861/1 "2009-08-17T07:52:24Z")

</div>

All,

I am attempting to use the SOAP interface to the UK’s Live Departure  
Board service, documented at  
[LDBWS Documentation](http://www.livedepartureboards.co.uk/ldbws/). I have no previous  
experience of WSDL and would appreciate input as to what I’m doing  
wrong.

Following instructions at [Help with a simple SOAP WSDL client? - Ruby - Ruby-Forum](http://www.ruby-forum.com/topic/58459), I am  
using the following code:

url = “[http://www.livedepartureboards.co.uk/ldbws/wsdl.aspx](http://www.livedepartureboards.co.uk/ldbws/wsdl.aspx)”  
service = SOAP::WSDLDriverFactory.new(url)

I consistently get the following error:

NoMethodError: undefined method `targetnamespace=’ for  
#WSDL::XMLSchema::Schema:0x..fdb3b9c04

Can anyone help me troubleshoot?

Regards,

Peter
