Ruby unable to parse my wsdl

Hi,

Disclaimer: I am very new to programming with Ruby.

I'm trying to make Ruby talk to a webservice I'm working on, by having it parse my wsdl. It's quite a complex wsdl which imports a complex schema. Something's not working. It seems to want to ignore certain elements, and then complains that it can't find my binding.

I'm not really sure what to do about it, as my wsdl validates in everything I've thrown at it, and works with dotnet and gsoap.

The wsdl is at http://www.symgate.com/cml/symgate.wsdl
The schema is at http://www.symgate.com/cml/cml.xsd

Here's what irb has to say about it:

irb(main):001:0> require 'soap/wsdlDriver'
=> true
irb(main):002:0> soapFactory = SOAP::WSDLDriverFactory.new('http://www.symgate.com/cml/symgate.wsdl')
ignored element: {http://www.w3.org/2001/XMLSchema}choice of WSDL::XMLSchema::Sequence
ignored element: {http://www.w3.org/2001/XMLSchema}sequence of WSDL::XMLSchema::Sequence
=> #<SOAP::WSDLDriverFactory:{http://www.symgate.com/symgate}SymgateEngine>
irb(main):003:0> soap = soapFactory.create_rpc_driver
RuntimeError: {}symbolisationBinding not found
         from /usr/lib64/ruby/1.8/wsdl/port.rb:36:in `find_binding'
         from /usr/lib64/ruby/1.8/soap/wsdlDriver.rb:88:in `init_driver'
         from /usr/lib64/ruby/1.8/soap/wsdlDriver.rb:39:in `create_rpc_driver'
         from (irb):3
irb(main):004:0> soap.inspect
=> "nil"

Can anyone help?

Thanks,
Simon

···

--
Simon Detheridge
SEN Developer, Widgit Software

This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com