You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by shantanu chawla <sh...@gmail.com> on 2005/05/13 21:06:43 UTC

problem in returning null array in .net

I am running a web service that is returning arrays. the webservice is
deployed in Axis1.2RC3. The services is working fine . I can access it
with both java and .NET client.

However whenever the array is null. I get the following soap response.

HTTP/1.1 200 OK
Content-Type: text/xml;charset=utf-8
Date: Fri, 13 May 2005 18:50:54 GMT
Server: Apache-Coyote/1.1
Connection: close

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<searchOutput xmlns="http://shantanu.com/DPBean/"/>
</soapenv:Body>
</soapenv:Envelope>

my java client interprets it as null but not .NET client. I know in my
webservice the returned array is null;

any thoughts

Shantanu
-- 
Graduate Student 
Department of Computer Science,
San Diego State University