axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (AXIS-1249) org.apache.axis.types.Language translating to unknown type "lang" in WSDL
Date Thu, 25 Mar 2004 22:35:58 GMT
The following comment has been added to this issue:

     Author: S U
    Created: Thu, 25 Mar 2004 2:35 PM
Thank you all for getting this resolved for me!!
View this comment:

View the issue:

Here is an overview of the issue:
        Key: AXIS-1249
    Summary: org.apache.axis.types.Language translating to unknown type "lang" in WSDL
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis
             WSDL processing
   Fix Fors:
             current (nightly)

   Reporter: S U

    Created: Tue, 9 Mar 2004 8:22 AM
    Updated: Thu, 25 Mar 2004 2:35 PM
Environment: Same behavior tested on Unix and Windows 2K servers using WebLogic 7.1 application

1. Started with WSDL and XML schemas.  The relevant part of the XML schema is listed as follows
(note the xs:language defn):
<xs:complexType name="LanguageCodeList_Type">
            <xs:documentation>An list of langauge codes.</xs:documentation>
            <xs:element name="languageCode" type="xs:language" maxOccurs="unbounded"/>

2. Then using Axis' WSDL2Java utility created the Java code.  The Java class had the following
relevant code:
private Language[] languageCode;

3. Now when the client accesses the WSDL using AxisServlet to generate the client Java code
they get an error as follows:
"undefined type - lang".
In looking at the WSDL that is being generated it looks as follows:
- <complexType name="LanguageCodeList_Type">
- <sequence>
  <element maxOccurs="unbounded" name="languageCode" nillable="true" type="xsd:lang" />


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