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

Ticket #173 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

wsdl2ruby --classdef could have an optional classname argument

Reported by: chanezon@gmail.com Assigned to: nahi
Priority: normal Milestone: 1.5.6
Component: wsdl4r Version: 1.5
Keywords: Cc:

Description

not sure it is worth it but I found making --classdef take an optional classname argument useful when dealing with WSDL that had no name (in order to avoid the 'default' name)

wsdl2java --classdef toto creates the class def in toto.rb

./soap4r-155/lib/wsdl/soap/wsdl2ruby.rb ./soap4r-155new/lib/wsdl/soap/wsdl2ruby.rb 35c35 < @name = @wsdl.name ? @wsdl.name.name : 'default' ---

@name = @opt.key?('classdef') ? @optclassdef? : (@wsdl.name ? @wsdl.name.name : 'default')

./soap4r-155/bin/wsdl2ruby.rb ./soap4r-155new/bin/wsdl2ruby.rb 14c14 < ['--classdef','-e', GetoptLong::NO_ARGUMENT], ---

['--classdef','-e', GetoptLong::OPTIONAL_ARGUMENT],

Thanks for soap4r.

P@

Change History

10/28/05 12:48:02 changed by anonymous

  • owner changed from nahi to anonymous.
  • status changed from new to assigned.
  • milestone changed from undefined to 1.5.6.

10/28/05 12:48:28 changed by nahi

  • owner changed from anonymous to nahi.
  • status changed from assigned to new.

10/28/05 12:48:50 changed by nahi

  • status changed from new to assigned.

10/30/05 22:09:38 changed by nahi

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

(In [1654]) wsdl2ruby: let classdef option accept name argument. merged a patch from P@. Thanks. closes #173.