Author: mmerz
Date: Wed Mar 9 14:51:25 2005
New Revision: 156701
URL: http://svn.apache.org/viewcvs?view=rev&rev=156701
Log:
Force ElementDesc.setNullable(true) for registered types. (Axis 1.2RC3 uses now
default value=false.)
Modified:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeRegistrar.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/AxisTypeMappingUtil.java
Modified:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java?view=diff&r1=156700&r2=156701
==============================================================================
---
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
(original)
+++
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
Wed Mar 9 14:51:25 2005
@@ -413,6 +413,8 @@
// NOTE [EMAIL PROTECTED] 2004-Oct-28 -- might need
// to do more to ensure a useful type QName.
fd.setXmlType(tm.getTypeQName(subType));
+ ((ElementDesc) fd).setNillable(true);
+ // [EMAIL PROTECTED] 2005-Mar-09: required
since Axis 1.2RC3 to allow for null values in complex objects; note that there
is no (JSR-181) annotation that allows configuring this value.
td.addFieldDesc(fd);
}
}
Modified:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeRegistrar.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeRegistrar.java?view=diff&r1=156700&r2=156701
==============================================================================
---
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeRegistrar.java
(original)
+++
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeRegistrar.java
Wed Mar 9 14:51:25 2005
@@ -134,6 +134,9 @@
// need
// to do more to ensure a useful type QName.
fd.setXmlType(getRegisteredQName(subType));
+ ((ElementDesc) fd).setNillable(true);
+ // [EMAIL PROTECTED] 2005-Mar-09: required
since Axis 1.2RC3 to allow for null values in complex objects; note that there
is no (JSR-181) annotation that allows configuring this value.
+
td.addFieldDesc(fd);
}
}
Modified:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/AxisTypeMappingUtil.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/AxisTypeMappingUtil.java?view=diff&r1=156700&r2=156701
==============================================================================
---
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/AxisTypeMappingUtil.java
(original)
+++
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/AxisTypeMappingUtil.java
Wed Mar 9 14:51:25 2005
@@ -252,6 +252,9 @@
// NOTE [EMAIL PROTECTED] 2004-Oct-28 -- might
need
// to do more to ensure a useful type QName.
fd.setXmlType(mTypeMapping.getTypeQName(subType));
+ ((ElementDesc) fd).setNillable(true);
+ // [EMAIL PROTECTED] 2005-Mar-09: required
since Axis 1.2RC3 to allow for null values in complex objects; note that there
is no (JSR-181) annotation that allows configuring this value.
+
td.addFieldDesc(fd);
}
}