axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19919] New: - Spurious error messages for "wrapped" mode operations
Date Wed, 14 May 2003 14:48:33 GMT
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=19919>.
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=19919

Spurious error messages for "wrapped" mode operations

           Summary: Spurious error messages for "wrapped" mode operations
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: Andrei.Iltchenko@nl.compuware.com


When WSDL2Java is invoked on the attached WSDL document (which is a slightly 
shortened version of a wsdl document taken from www.xmethods.org a few months 
ago), the following error messages are reported:
parameters not found as an input part OR an output part!
parameters not found as an input part OR an output part!
parameters not found as an input part OR an output part!
parameters not found as an input part OR an output part!

The cause of the messages is the following piece of code from from the 
method 'org.apache.axis.wsdl.symbolTable.getOperationParameters':

                else if (outdex >= 0) {
                    addOutParm(outputs, outdex, parameters, true);
                }
                else {
                    // This line causes the messages being reported in 'ide.log'
                    System.err.println(Messages.getMessage("noPart00", name));
                }

The method doesn't account for the possibility of a single 'wsdl:part' 
introducing multiple parameters whose names don't necessarily equal the name of 
the part, which may well happen in the Microsoft's "wrapped" mode.

Mime
View raw message