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 ji...@apache.org on 2004/03/09 17:23:31 UTC
[jira] Created: (AXIS-1249) org.apache.axis.types.Language translating to unknown type "lang" in WSDL
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
1.1
Assignee:
Reporter: S Uppaluri
Created: Tue, 9 Mar 2004 8:22 AM
Updated: Tue, 9 Mar 2004 8:22 AM
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