Attached is the java file generated by WSDL2Java.
Notice the private member declared as xsd1.DoubleAtt[] and the meta declares it
as DoubleAtt. In my WSDL file I define OutageResource as follows:
<xsd:complexType name="OutageResouce">
<xsd:sequence>
<xsd:element maxOccurs="1"
minOccurs="0"
name="value"
type="xsd1:ArrayOf_DoubleAtt"/>
</xsd:sequence>
</xsd:complexType>
I expect the meta data to reference "ArrayOf_DoubleAtt" not "Double_Att".
Is this a bug?
/**
* OutageResouce.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package xsd1;
public class OutageResouce implements java.io.Serializable {
private xsd1.DoubleAtt[] value;
public OutageResouce() {
}
public xsd1.DoubleAtt[] getValue() {
return value;
}
public void setValue(xsd1.DoubleAtt[] value) {
this.value = value;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(OutageResouce.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://.xsd1",
"OutageResouce"));
org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
elemField.setFieldName("value");
elemField.setXmlName(new javax.xml.namespace.QName("", "value"));
elemField.setXmlType(new javax.xml.namespace.QName("http://.xsd1",
"DoubleAtt"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
}
}
=====
Regards,
Mark Pope
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com