axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: wsdl2java does not generate Java types for simple WSDL types anymore
Date Wed, 16 Nov 2005 18:04:58 GMT
Matthias,

Could i trouble you to create a bug report and upload your WSDL? and
the soap traces?

thanks,
dims

On 11/16/05, Burbach, Matthias <Matthias.Burbach@tui.de> wrote:
> Hi,
>
> I observed that in contrast to Axis 1.1 wsdl2java does no longer
> generate Java classes for simple WSDL types in Axis 1.2 and above
> anymore.
>
> For example, my WSDL contains the following type definition:
>
>    <xs:simpleType name="anrede">
>     <xs:restriction base="xs:int">
>      <xs:minInclusive value="0">
>      </xs:minInclusive>
>      <xs:maxInclusive value="2">
>      </xs:maxInclusive>
>     </xs:restriction>
>    </xs:simpleType>
>
> wsdl2java of Axis 1.1 generated a Java class Anrede.java from this bit.
> Axis 1.1 XML requests referencing this type look as follows
> (extraction):
> <anrede xsi:type="n1:anrede">0</anrede>
>
> wsdl2java of Axis 1.2, however does **not** generated a Java class
> Anrede.java from this bit.
> Axis 1.2 XML requests, on the contrary, referencing this type look as
> follows (extraction):
> <anrede xsi:type="xsd:int">0</anrede>
>
> This difference causes the server I sent such requests to to reject
> requests of the latter kind:-(
>
> Consequently, I seem to face a serious interoperability problem due to
> the upgrade from Axis 1.1 to Axis 1.2.
> The problem remains when using Axis 1.2.1 or Axis 1.3.
>
>
> Can anybody tell me why this is so and what one is to supposed to do
> about it??
>
> Regards,
> Matthias
>
> P.S.: I found several reports on this type of problem in the newsgroups
> but none proposed a solution:-((
>


--
Davanum Srinivas : http://wso2.com/blogs/

Mime
View raw message