You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/12/28 18:58:17 UTC

DO NOT REPLY [Bug 15699] New: - WSDL2java - missing checks for element

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: axis-dev@xml.apache.org
        ReportedBy: karl.guggisberg@guggis.ch


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.