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 Dave Marquard <ap...@lurp.sent.com> on 2005/06/23 21:59:17 UTC

Patch for non-nillable, optional parameters (AXIS-2054)

I've attached a small patch to fix a bug where Axis sends xsi:nil="true"
for non-nillable, minOccurs="0" parameters in a web service request. Can
an Axis committer take a quick look at the patch and commit it?

The details of the bug and patch are attached to issue 2054:
http://issues.apache.org/jira/browse/AXIS-2054


Dave

Re: Patch for non-nillable, optional parameters (AXIS-2054)

Posted by Dave Marquard <ap...@lurp.sent.com>.
I've fixed the test case failure below and uploaded a new version of the
patch to the issue. I've also added a new test case to verify the
desired "omit vs. add xsi:nil=true" behavior.

ant all-tests now passes for me.

Patch and test case available at
http://issues.apache.org/jira/browse/AXIS-2054.

Dave

> On Fri, 24 Jun 2005 08:39:13 -0400, "Davanum Srinivas"
> <da...@gmail.com> said:
> > Test case fails:
> > 
> > BUILD FAILED
> > /home/dims/ws-axis/java/build.xml:337: The following error occurred
> > while executing this line:
> > /home/dims/ws-axis/java/buildTest.xml:250: The following error
> > occurred while executing this line:
> > /home/dims/ws-axis/java/buildTest.xml:177: Test
> > test.wsdl.wrapped.City_BBBTestCase failed
> > 
> > -- dims
> > 
> > On 6/23/05, Dave Marquard <ap...@lurp.sent.com> wrote:
> > > I've attached a small patch to fix a bug where Axis sends xsi:nil="true"
> > > for non-nillable, minOccurs="0" parameters in a web service request. Can
> > > an Axis committer take a quick look at the patch and commit it?
> > > 
> > > The details of the bug and patch are attached to issue 2054:
> > > http://issues.apache.org/jira/browse/AXIS-2054
> > > 
> > > 
> > > Dave
_____________________________________________
Dave Marquard (dave.marquard@alumni.duke.edu)


Re: Patch for non-nillable, optional parameters (AXIS-2054)

Posted by Davanum Srinivas <da...@gmail.com>.
Test case fails:

BUILD FAILED
/home/dims/ws-axis/java/build.xml:337: The following error occurred
while executing this line:
/home/dims/ws-axis/java/buildTest.xml:250: The following error
occurred while executing this line:
/home/dims/ws-axis/java/buildTest.xml:177: Test
test.wsdl.wrapped.City_BBBTestCase failed

-- dims

On 6/23/05, Dave Marquard <ap...@lurp.sent.com> wrote:
> I've attached a small patch to fix a bug where Axis sends xsi:nil="true"
> for non-nillable, minOccurs="0" parameters in a web service request. Can
> an Axis committer take a quick look at the patch and commit it?
> 
> The details of the bug and patch are attached to issue 2054:
> http://issues.apache.org/jira/browse/AXIS-2054
> 
> 
> Dave
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/