axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
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
       Body:
Thank you all for getting this resolved for me!!
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1249&page=comments#action_27822

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1249

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
 Components: 
             WSDL processing
   Fix Fors:
             current (nightly)
   Versions:
             1.1

   Assignee: 
   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
server.

Description:
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:annotation>
            <xs:documentation>An list of langauge codes.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="languageCode" type="xs:language" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>

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" />

  </sequence>
  </complexType>



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message