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=15699>.
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=15699

WSDL2java - missing checks for <operation message="..."> element

           Summary: WSDL2java - missing checks for <operation message="...">
                    element
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


WSDL2java accepts WSDL documents with the following errors:

(1) element <operation> in <portType> has no attribute 'message'
   Spec:  attribute 'message' is required

(2) the value of attribute 'message' in <operation> does not
   refer to an already defined message
   Spec: QName in the value must refer to an already defined message 

I attach 8 error cases, 4 OK cases and a proposed patch. The patch 
adds some checks to SymbolTable.java.

Reply via email to