DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7718>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7718

JavaProvider WSDL generator does not allow inherited methods

           Summary: JavaProvider WSDL generator does not allow inherited
                    methods
           Product: Axis
           Version: beta-1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The Java2WSDL command-line tool allows you to specify if AXIS should use 
inherited methods. The servlet does not allow you to specify this.

The following two lines (added to JavaProvider.java) allows for specifying the 
behaviour in the .wsdd file:

  Emitter emitter = new Emitter();
  emitter.setMode(service.getStyle());
  emitter.setClsSmart(cls,url);
  emitter.setAllowedMethods(allowedMethods);
  emitter.setIntfNamespace(url);
  emitter.setLocationUrl(url);
+ String inherit = (String)service.getOption("allowInheritedMethods");
+ emitter.setUseInheritedMethods(Boolean.valueOf(inherit).booleanValue());

Reply via email to