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 gd...@apache.org on 2005/02/07 03:18:36 UTC
cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser BeanSerializer.java
gdaniels 2005/02/06 18:18:36
Modified: java/src/org/apache/axis/encoding/ser BeanSerializer.java
Log:
Roll back dims' change - this breaks test/wsdl/omit! It's important
that we respect the schema - if the <element> declaration doesn't say
nillable="true", it ain't nillable no matter what type it is.
If there's a problem here we need another solution.
Revision Changes Path
1.82 +1 -0 ws-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java
Index: BeanSerializer.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- BeanSerializer.java 6 Feb 2005 17:12:25 -0000 1.81
+++ BeanSerializer.java 7 Feb 2005 02:18:36 -0000 1.82
@@ -150,6 +150,7 @@
qname = element.getXmlName();
}
isOmittable = element.isMinOccursZero();
+ isNillable = element.isNillable();
xmlType = element.getXmlType();
}
}
Re: cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser BeanSerializer.java
Posted by Davanum Srinivas <da...@gmail.com>.
hehehe :) the test case for this is java/test/wsdl/marshall
-- dims
On Sun, 06 Feb 2005 18:18:39 -0800 (PST), gdaniels@apache.org
<gd...@apache.org> wrote:
> gdaniels 2005/02/06 18:18:36
>
> Modified: java/src/org/apache/axis/encoding/ser BeanSerializer.java
> Log:
> Roll back dims' change - this breaks test/wsdl/omit! It's important
> that we respect the schema - if the <element> declaration doesn't say
> nillable="true", it ain't nillable no matter what type it is.
>
> If there's a problem here we need another solution.
>
> Revision Changes Path
> 1.82 +1 -0 ws-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java
>
> Index: BeanSerializer.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java,v
> retrieving revision 1.81
> retrieving revision 1.82
> diff -u -r1.81 -r1.82
> --- BeanSerializer.java 6 Feb 2005 17:12:25 -0000 1.81
> +++ BeanSerializer.java 7 Feb 2005 02:18:36 -0000 1.82
> @@ -150,6 +150,7 @@
> qname = element.getXmlName();
> }
> isOmittable = element.isMinOccursZero();
> + isNillable = element.isNillable();
> xmlType = element.getXmlType();
> }
> }
>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser BeanSerializer.java
Posted by Davanum Srinivas <da...@gmail.com>.
hehehe :) the test case for this is java/test/wsdl/marshall
-- dims
On Sun, 06 Feb 2005 18:18:39 -0800 (PST), gdaniels@apache.org
<gd...@apache.org> wrote:
> gdaniels 2005/02/06 18:18:36
>
> Modified: java/src/org/apache/axis/encoding/ser BeanSerializer.java
> Log:
> Roll back dims' change - this breaks test/wsdl/omit! It's important
> that we respect the schema - if the <element> declaration doesn't say
> nillable="true", it ain't nillable no matter what type it is.
>
> If there's a problem here we need another solution.
>
> Revision Changes Path
> 1.82 +1 -0 ws-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java
>
> Index: BeanSerializer.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java,v
> retrieving revision 1.81
> retrieving revision 1.82
> diff -u -r1.81 -r1.82
> --- BeanSerializer.java 6 Feb 2005 17:12:25 -0000 1.81
> +++ BeanSerializer.java 7 Feb 2005 02:18:36 -0000 1.82
> @@ -150,6 +150,7 @@
> qname = element.getXmlName();
> }
> isOmittable = element.isMinOccursZero();
> + isNillable = element.isNillable();
> xmlType = element.getXmlType();
> }
> }
>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/