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 15533] - Java types not generated if opertion name matches element name
Date Thu, 19 Dec 2002 15:22:46 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=15533>.
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=15533

Java types not generated if opertion name matches element name

butek@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From butek@us.ibm.com  2002-12-19 15:22 -------
You've stumbled on the .NET style of WSDL which we call wrapped.  Since it 
appears that you don't want the default code generated from a wrapped style, you 
should use the --noWrapped option on WSDL2Java.  From the Reference Manual:

-W, --noWrapped

     This turns off the special treatment of what is called
     "wrapped" document/literal style operations.  By default,
     WSDL2Java will recognize the following conditions:
          If an input message has is a single part. 
          The part is an element. 
          The element has the same name as the operation 
          The element's complex type has no attributes
     When it sees this, WSDL2Java will 'unwrap' the top level
     element, and treat each of the components of the element
     as arguments to the operation. This type of WSDL is the
     default for Microsoft .NET web services, which wrap up RPC
     style arguments in this top level schema element.

Mime
View raw message