Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #76 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

wsdl2ruby.rb + RAA/0.0.4 WSDL problem

Reported by: nahi Assigned to: nahi
Priority: high Milestone: 1.5.4
Component: wsdl4r Version: 1.5
Keywords: Cc:

Description

[ruby-dev:25800]

sample/soap/raa2.4/sample.rb に書いてあるように、

wsdl2ruby.rb --wsdl http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/ \
 --type client

を実行すると、

   <!-- type definition for ApacheSOAP's Map -->
   <schema
       xmlns="http://www.w3.org/2001/XMLSchema"
       targetNamespace="http://xml.apache.org/xml-soap">
     <complexType name="Map">
       ...
     </complexType>
   </schema>

の部分で以下のエラーになりました (wsdl2ruby.rb は soap4r-1_5_2 同梱のもの
を使いました)。

F, [2005-03-03T10:47:30.565081 #21861] FATAL -- app: Detected an exception. Stopping ... Unknown kind of complexContent: TYPE_MAP (RuntimeError)
/usr/lib/ruby/1.8/wsdl/soap/classDefCreator.rb:77:in `dump_complextype'
/usr/lib/ruby/1.8/wsdl/soap/classDefCreator.rb:67:in `collect'
/usr/lib/ruby/1.8/wsdl/soap/classDefCreator.rb:67:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:47:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:47:in `each'
/usr/lib/ruby/1.8/wsdl/soap/classDefCreator.rb:67:in `collect'
/usr/lib/ruby/1.8/wsdl/soap/classDefCreator.rb:67:in `dump_complextype'
/usr/lib/ruby/1.8/wsdl/soap/classDefCreator.rb:38:in `dump'
/usr/bin/wsdl2ruby.rb:138:in `create_classdef'
/usr/bin/wsdl2ruby.rb:137:in `open'
/usr/bin/wsdl2ruby.rb:137:in `create_classdef'
/usr/bin/wsdl2ruby.rb:50:in `create_file'
/usr/bin/wsdl2ruby.rb:45:in `run'
/usr/lib/ruby/1.8/logger.rb:684:in `start'
/usr/bin/wsdl2ruby.rb:236

Change History

03/05/05 07:45:18 changed by nahi

  • status changed from new to assigned.
  • severity changed from normal to critical.

03/05/05 07:52:35 changed by nahi

  • priority changed from normal to high.

03/12/05 16:13:32 changed by nahi

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [1461]) add ApacheMap? handling for wsdl2ruby. fixes #76.

05/29/06 12:30:24 changed by kkkkoaaa

Keep a good job up! http://quick-adult-links.com