WSDL2Java can't generate java interface of wrapped style when the wrapper 
element has an annotation child element.
------------------------------------------------------------------------------------------------------------------

         Key: AXIS-2404
         URL: http://issues.apache.org/jira/browse/AXIS-2404
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.3    
 Environment: Windows XP
    Reporter: qin bethune


Given the following schema, 
   <element name="add">
    <complexType>
        <!--annotation>
                <documentation>add operation</documentation>
        </annotation-->
     <sequence>
      <element name="in0" type="xsd:int"/>
      <element name="in1" type="xsd:int"/>
     </sequence>
    </complexType>
   </element>
The generated java interface will be something like

public interface WrapperTestInterface extends java.rmi.Remote {
    public int add(int in0, int in1) throws java.rmi.RemoteException;
}

Uncomment the annotation element, the generated java interface will be 
something like.
package test;

public interface WrapperTestInterface extends java.rmi.Remote {
    public test.AddResponse add(test.Add parameters) throws 
java.rmi.RemoteException;
}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to