[ http://issues.apache.org/jira/browse/AXIS-1446?page=comments#action_57897 ] Davanum Srinivas commented on AXIS-1446: ----------------------------------------
phong, Can you please submit a "diff -u" against latest CVS sources? thanks, dims > WSDL2Java ignores <xsd:any> elements in types > --------------------------------------------- > > Key: AXIS-1446 > URL: http://issues.apache.org/jira/browse/AXIS-1446 > Project: Axis > Type: Bug > Components: WSDL processing > Versions: current (nightly) > Environment: Windows XP, JDK 1.4.2_04 > Reporter: Lee Coomber > Attachments: SchemaUtils.java, SecurityTokenReferenceType.java > > Code generated by the WSDL2Java tool appears to ignore <xsd:any> elements in > types. > For example, the schema for the WS-Security namespace > (http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd) > defines the complex type "SecurityTokenReference":- > <xsd:complexType name="SecurityTokenReferenceType"> > <xsd:annotation> > <xsd:documentation>This type is used reference a security > token.</xsd:documentation> > </xsd:annotation> > <xsd:choice minOccurs="0" maxOccurs="unbounded"> > <xsd:any processContents="lax"/> > </xsd:choice> > <xsd:attribute ref="wsu:Id"/> > <xsd:attribute ref="wsse:Usage"/> > <xsd:anyAttribute namespace="##other" processContents="lax"/> > </xsd:complexType> > The resulting Java class (to be attached shortly) has member variables for Id > and Usage but no members for embedded elements. -- 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
