axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Closed: (AXIS-858) WSDL2Java generates uncompilable code for simpleTypes redefining a complexType
Date Sun, 11 Apr 2004 15:18:43 GMT

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Sun, 11 Apr 2004 8:16 AM

Closing as per Olivier's comment.
View the issue:

Here is an overview of the issue:
        Key: AXIS-858
    Summary: WSDL2Java generates uncompilable code for simpleTypes redefining a complexType
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Axis
             WSDL processing
             current (nightly)

   Reporter: Olivier Gauwin

    Created: Fri, 2 May 2003 8:22 AM
    Updated: Sun, 11 Apr 2004 8:16 AM
Environment: Operating System: All
Platform: All

I don't know if it's the case for all complexTypes, but at least for this one :

<simpleType name="strSeq">
  <restriction base="tns:sequence_5_string"/>

<complexType name="sequence_5_string">
    <element name="item" minOccurs="0" maxOccurs="5" type="xsd:string"/>

The problem is that WSDL2Java generates this method in :

    // Simple Types must have a String constructor
    public StrSeq(java.lang.String value) {
        this.value = new myNS.Sequence_5_string(value);

whereas Sequence_5_string has not such a constructor.
This is generated by

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message