Bugs: Browse | Submit New | Admin

[#7036] Cannot parse one-way WSDL - binding style="document", no wsdl:output tag

Date:
2006-12-04 12:25
Priority:
3
Submitted By:
Jason Bell (jbell)
Assigned To:
Akinori MUSHA (knu)
Category:
Network / Comm / Protocols
State:
Open
Platform:
 
Summary:
Cannot parse one-way WSDL - binding style="document", no wsdl:output tag

Detailed description
Error when parsing one-way WSDL with soap:binding style="document" and no wsdl:output.  Example:

<wsdl:binding name="someBinding" type="sometype">
  <soap:binding style="document" .../>
  <wsdl:operation name="some_op">
    <soap:operation ...../>
      <wsdl:input>
        <soap:body use="literal" .../>
      </wsdl:input>
    </wsdl:operation>
</wsdl:binding>

Error:
/usr/local/lib/ruby/1.8/wsdl/operation.rb:67:in `outputparts': undefined method `find_message' for nil:NilClass
(NoMethodError)
        from /usr/local/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:72:in `collec t_documentparameter'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:132:in `create_param_def '
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:101:in `add_operation'
        from /usr/local/lib/ruby/1.8/xsd/namedelements.rb:58:in `each'
        from /usr/local/lib/ruby/1.8/xsd/namedelements.rb:57:in `each'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:96:in `add_operation'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:40:in `create_rpc_driver '
        from soap_sender.rb:3

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-06-01 08:12
Sender: Hiroshi NAKAMURA

Will be fixed with soap4r-1.5.6 (scheduled to be released at
2007-06-09).  Please try the latest snapshot soap4r release at
http://dev.ctor.org/soap4r.

Updating bundled soap module:

For trunk, it's still unclear whether soap/wsdl/xsd modules are
bundled in ruby/1.9 series.
For ruby_1_8, it's up to knu.

Hope someone change 'Assigned To:' field of this ticket
to proper
person. (How can I do it?)

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2007-06-12 02:25zenspider
summaryCannot parse one-way WSDL - binding style=&quot;document&quot;, no wsdl:output tag2007-06-12 02:25zenspider
category_idMisc / Other Standard Library2007-05-29 17:28zenspider
summaryCannot parse one-way WSDL - binding style="document", no wsdl:output tag2007-05-29 17:28zenspider