axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1446) WSDL2Java ignores <xsd:any> elements in types
Date Tue, 25 Jan 2005 04:16:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1446?page=history ]
     
Davanum Srinivas resolved AXIS-1446:
------------------------------------

    Resolution: Fixed

Applied Patch.

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, SchemaUtils.java.patch, 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


Mime
View raw message