# Ruby unable to parse my wsdl

**URL:** <https://www.ruby-forum.com/t/ruby-unable-to-parse-my-wsdl/59107>\
**Category:** Ruby\
**Created:** [April 28, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/ruby-unable-to-parse-my-wsdl/59107 "2006-04-28T18:15:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Detheridge](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b487fb/32.png) [@Simon\_Detheridge](https://www.ruby-forum.com/u/Simon_Detheridge)\
**Post date:** [April 28, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/ruby-unable-to-parse-my-wsdl/59107/1 "2006-04-28T18:15:38Z")

</div>

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](http://www.symgate.com/cml/symgate.wsdl)  
The schema is at [http://www.symgate.com/cml/cml.xsd](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](http://www.symgate.com/cml/symgate.wsdl)’)  
ignored element: {[XML Schema](http://www.w3.org/2001/XMLSchema)}choice of  
WSDL::XMLSchema::Sequence  
ignored element: {[XML Schema](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](http://www.blackspider.com)
