From: noreply@... Date: 2006-05-02T21:55:35+09:00 Subject: [ ruby-Bugs-4336 ] Ruby fails to parse valid wsdl Bugs item #4336, was opened at 2006-05-02 12:55 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4336&group_id=426 Category: Standard Library Group: None Status: Open Resolution: None Priority: 3 Submitted By: Simon Detheridge (sdetheridge) Assigned to: Nobody (None) Summary: Ruby fails to parse valid wsdl Initial Comment: Ruby is unable to parse the wsdl for a SOAP webservice I am working on, using SOAP::WSDLDriverFactory. The wsdl validates with soapscope, WS-I and others, and works with .NET and gSoap. The wsdl imports a fairly complex schema (.xsd) which may be causing the problem. The problem occurs in 1.8.4 and 1.8.2, but with different errors. The errors below are from 1.8.4. Here is 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 => # 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" ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4336&group_id=426