axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: null array element serialization
Date Wed, 11 Jun 2003 16:46:58 GMT

If the .net framework is representing a nil element as an empty string,
that sounds like a bug in the .net implementation.  Not much you can do
about it.  Who ever's implementing the .net client will have to develop a
work-around in their code.


Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
(614) 213-6100

"Paolo Paganotto" <> on 06/11/2003 11:14:59 AM

Please respond to

To:   "AXIS" <>

Subject:  null array element serialization

Hallo all,

I've to face this problem:
I've an array of strings that is part of a complex bean that is sent as
parameter of a web service from Java to .NET
If there is a null element in this array, this is parsed as follows in the
soap message: <item xsi:nil="true"/>
the problem is that .NET converts this element of my array as an empty
string "" rather than a null string, that is the behaviour I wish to
How could I get a null element in my array at .NET site?

Could someone help me?

Thank you very much,


This transmission may contain information that is privileged, confidential and/or exempt from
disclosure under applicable law. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution, or use of the information contained herein (including
any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error,
please immediately contact the sender and destroy the material in its entirety, whether in
electronic or hard copy format. Thank you.

View raw message