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 ax...@ws.apache.org on 2004/07/29 23:54:40 UTC
[jira] Closed: (AXIS-1342) Wrong Type Mapping Generated By WSDL2Java in WSDD
Message:
The following issue has been closed.
Resolver: Jarek Gawor
Date: Thu, 29 Jul 2004 2:53 PM
This should be fixed now. Please try with latest code from cvs.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1342
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1342
Summary: Wrong Type Mapping Generated By WSDL2Java in WSDD
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Axis
Components:
WSDL processing
Versions:
1.2 Beta
Assignee:
Reporter: Chung-Kai Hong
Created: Fri, 30 Apr 2004 9:04 AM
Updated: Thu, 29 Jul 2004 2:53 PM
Description:
If we use WSDL2Java with rpc/lit or doc/lit to generate a related Java classes with the schema type below,
<xs:complexType name="AttributedURI">
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
we will obtain a typemapping in the deployment descriptor like this:
<typeMapping
xmlns:ns="http://test.com/" qname="ns:AttributedURI"
type="java:org.apache.axis.types.URI"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""/>
, which is a wrong type mapping generation. The correct "type" should be com.test.AttributedURI rather than org.apahce.axis.types.URI.
This would lead us to fail while deserializing the message with such "AttributedURI" type inside the AXIS processing.
---------------------------------------------------------------------
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