Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
1.2, 1.2.1, 1.3
-
None
-
None
-
None
-
Windows XP, BEA Weblogic, Java 1.4
Description
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.