You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Clinton Davidson (JIRA)" <ax...@ws.apache.org> on 2005/04/06 18:41:30 UTC
[jira] Updated: (AXIS-1916) anyAttribute ignored in complex type
[ http://issues.apache.org/jira/browse/AXIS-1916?page=history ]
Clinton Davidson updated AXIS-1916:
-----------------------------------
Attachment: NamedString.java
Generated file for types
> anyAttribute ignored in complex type
> ------------------------------------
>
> Key: AXIS-1916
> URL: http://issues.apache.org/jira/browse/AXIS-1916
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Versions: 1.2RC3
> Environment: Windows 2000
> Reporter: Clinton Davidson
> Priority: Minor
> Attachments: NamedString.java, wsrp_v2_extra.xsd
>
> WSDL2Java ignores anyAttribute:
> Given the complex type:
> <complexType name="NamedString">
> <attribute name="name" type="xsd:string" use="required"/>
> <attribute name="value" type="xsd:string"/>
> <!-- Axis v1.1 ignores the follwoing declaration! -->
> <anyAttribute/>
> </complexType>
> results in a constructor of:
> public NamedString(
> java.lang.String name,
> java.lang.String value) {
> this.name = name;
> this.value = value;
> }
> Command line is as follows:
> C:\axis-bin-1_2RC3\axis-1_2RC3\lib>dir
> Volume in drive C has no label.
> Volume Serial Number is CC78-58FA
> Directory of C:\axis-bin-1_2RC3\axis-1_2RC3\lib
> 04/06/2005 09:18a <DIR> .
> 04/06/2005 09:18a <DIR> ..
> 02/28/2005 11:39p 32,489 axis-ant.jar
> 02/28/2005 11:39p 1,573,104 axis.jar
> 02/28/2005 11:39p 74,527 commons-discovery.jar
> 02/28/2005 11:39p 31,605 commons-logging.jar
> 02/28/2005 11:39p 32,071 jaxrpc.jar
> 02/28/2005 11:39p 352,668 log4j-1.2.8.jar
> 02/28/2005 11:39p 941 log4j.properties
> 02/28/2005 11:39p 19,427 saaj.jar
> 02/28/2005 11:39p 161,701 wsdl4j.jar
> 03/15/2005 05:08p 2,055 wsrp_service.wsdl
> 03/15/2005 05:08p 34,335 wsrp_v2_bindings.wsdl
> 03/15/2005 05:07p 1,373 wsrp_v2_extra.xsd
> 03/15/2005 05:08p 33,454 wsrp_v2_interfaces.wsdl
> 03/15/2005 05:27p 52,981 wsrp_v2_types.xsd
> 14 File(s) 2,402,731 bytes
> 2 Dir(s) 34,185,179,136 bytes free
> C:\axis-bin-1_2RC3\axis-1_2RC3\lib>explorer .
> C:\axis-bin-1_2RC3\axis-1_2RC3\lib>java -classpath .;axis.jar;commons-discovery.
> jar;commons-logging.jar;jaxrpc.jar;log4j-1.2.8.jar;saaj.jar;wsdl4j.jar org.apach
> e.axis.wsdl.WSDL2Java wsrp_v2_interfaces.wsdl
> - Unable to find required classes (javax.activation.DataHandler and javax.mail.i
> nternet.MimeMultipart). Attachment support is disabled.
> Also see attached files.
>
--
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