axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Fehringer" <...@isogmbh.de>
Subject AW: wsdl2java and QName("a.b.c", ">classname")
Date Tue, 17 Jan 2006 07:25:31 GMT
Axis1 has problems with anonymous complexTypes i.e. with constructs like

<element name="zombie">
<complexType>
...
</complexType>
</element>

For AXISCPP this is issue AXISCPP-753; i do not know if there is an AXISJAVA
issue opened yet.
If this is really your problem your workaround is

<complexType name="t_zombie">
...
<complexType>
<element name="zombie" type="t_zombie">
</element>

Greetings

Franz

-----Urspr├╝ngliche Nachricht-----
Von: Jarmo Doc [mailto:jarmod@hotmail.com]
Gesendet: Dienstag, 17. Januar 2006 01:24
An: axis-user@ws.apache.org
Betreff: wsdl2java and QName("a.b.c", ">classname")


Why does Axis wsdl2java generate the ">" in the following?  What does it
mean?

- typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c",
">myexception"));

This also results in &gt;myexception in the server WSDD file after I deploy
the service, for example:

- <typeMapping
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="" qname="ns158:&gt;myexception"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>

Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Mime
View raw message