axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Liujuan" <xuliuj...@hotmail.com>
Subject Axis 1.2 beta doesn't solve the problem " element and attribute are the same name" completely
Date Sun, 25 Apr 2004 04:03:55 GMT
Hi  all
Axis 1.2 doesn't solve the problem " element and attribute are the same name" completely 
because it hasn't change the fieldname in the static {     ......}
E.G
_CreateCSAttributes.java 
  private org.apache.axis.types.UnsignedLong cdsCSId;
  private org.apache.axis.types.UnsignedLong cdsCSId2;  // attribute
..........................
static {
 typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.ericsson.com/snf/cpm1.0/",
">CreateCSAttributes"));
        org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
        attrField.setFieldName("cdsCSId");  //this should be cdsCSId2
 ............................}

Could anyone can help to solve this problem ?
Thanks in advance .
B .Rs
/XuLiujuan
Mime
View raw message