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 "S?bastien Tardif (JIRA)" <ax...@ws.apache.org> on 2004/12/07 22:49:17 UTC

[jira] Updated: (AXIS-1704) WSDL2Java: Documentation for a wrapped complexType in the WSDL's XML Schema change the generated signature.

     [ http://nagoya.apache.org/jira/browse/AXIS-1704?page=history ]

Sébastien Tardif updated AXIS-1704:
-----------------------------------

    Attachment: docHarbor.wsdl

WSDL used to reproduce the bug.

> WSDL2Java: Documentation for a wrapped complexType in the WSDL's XML Schema change the generated signature.
> -----------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1704
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1704
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: CVS 11/29/2004
>     Reporter: Sébastien Tardif
>  Attachments: docHarbor.wsdl
>
> when I have:
> <complexType name="reindexDocumentsResponseWrapper">
>    <xsd:annotation>
>       <xsd:documentation xml:lang="en">Wrapper for the response...
>       </xsd:documentation>
>    </xsd:annotation>
>    <sequence>
>       <element name="ReindexErrorResponse" minOccurs="0" nillable="false" maxOccurs="unbounded" type="impl:ReindexErrorResponse">
>       </element>
>    </sequence>
> </complexType>
> I get:
> public com.docharbor.webservices.ReindexDocumentsResponseWrapper reindexDocuments(com.docharbor.webservices.Credential credential, com.docharbor.webservices.Users users, com.docharbor.webservices.ReindexDocumentsRequests reindexDocumentsRequests) throws java.rmi.RemoteException;
> But if I remove the annotation/documentation I get this:
> public com.docharbor.webservices.ReindexErrorResponse[] reindexDocuments(com.docharbor.webservices.Credential credential, com.docharbor.webservices.Users users, com.docharbor.webservices.ReindexDocumentsRequests reindexDocumentsRequests) throws java.rmi.RemoteException;
> Which probably mean the unwrapping code doesn't make much distinction between element types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira