[ http://issues.apache.org/jira/browse/AXIS-2307?page=comments#action_12358799 ]
Davanum Srinivas commented on AXIS-2307: ---------------------------------------- I believe Axis 1.1 behavior was not correct. So downgrading this from a blocker to critical. > wsdl2java does no longer generate Java classes for simple WSDL types > -------------------------------------------------------------------- > > Key: AXIS-2307 > URL: http://issues.apache.org/jira/browse/AXIS-2307 > Project: Apache Axis > Type: Bug > Versions: 1.2, 1.3, 1.2.1 > Environment: Windows XP, BEA Weblogic, Java 1.4 > Reporter: Matthias Burbach > Priority: Blocker > Attachments: 18Nov05.wsdl, test.wsdl > > 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. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira
