Author: alessio.soldano(a)jboss.com
Date: 2010-03-18 06:15:16 -0400 (Thu, 18 Mar 2010)
New Revision: 11803
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java
Log:
[JBWS-2965]
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java 2010-03-18
09:37:09 UTC (rev 11802)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java 2010-03-18
10:15:16 UTC (rev 11803)
@@ -455,7 +455,10 @@
if (typeBinding != null)
{
if(!isAnonymousType)
- schemaBinding.addElement(xmlName, typeBinding);
+ {
+ ElementBinding eb = schemaBinding.addElement(xmlName, typeBinding);
+ eb.setNillable(true);
+ }
}
else if (xmlType.equals(Constants.TYPE_LITERAL_ANYTYPE) == false)
{
Show replies by date