You can also get a nightly build binary if you wish to have a binary from http://cvs.apache.org/dist/axis/nightly/
Thanks, Samisa... On Mon, 2005-06-20 at 07:52, Dushshantha Chandradasa wrote: > Hi Krishna, > > I tested this with C++ server side. Following are the client request and > server response. It seems to me that the C++ engine deserializes 0 > length array correctly. > > Client Request > -------------- > > POST /axis/Array HTTP/1.1 > Host: localhost:8080 > Content-Type: text/xml; charset=UTF-8 > SOAPAction: "Array#echoIntArray" > Content-Length: 554 > > <?xml version='1.0' encoding='utf-8' ?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Body> > <ns1:echoIntArray xmlns:ns1="http://soapinterop.org/"> > <intArrayType xsi:type="ns2:intArrayType" > xmlns:ns2="http://soapinterop.org/xsd"><intItemArray > xmlns:enc="http://www.w3.org/2001/06/soap-encoding" > enc:arrayType="xsd:int[0]"> > </intItemArray> > </intArrayType></ns1:echoIntArray> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > > Server Response > --------------- > > HTTP/1.1 200 OK > Date: Mon, 20 Jun 2005 07:37:55 GMT > Server: Apache/2.0.52 (Win32) > Content-Length: 570 > Content-Type: text/xml > > <?xml version='1.0' encoding='utf-8' ?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Body> > <ns1:echoIntArrayResponse xmlns:ns1="http://soapinterop.org/"> > <intArrayType xsi:type="ns2:intArrayType" > xmlns:ns2="http://soapinterop.org/xsd"><intItemArray > xmlns:enc="http://www.w3.org/2001/06/soap-encoding" > enc:arrayType="xsd:int[0]"> > </intItemArray> > </intArrayType></ns1:echoIntArrayResponse> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > But I remember that I fixed a major problem in Array deserialization for > RPC style 2 3 weeks back. I guess that my fix is not included in Axis > 1.5 alpha. And your service should be RPC style?? > > Could you please get the latest code from CVS repository, build it and > check whether the problem is still there?? > > (Refer http://ws.apache.org/axis/cvs.html for cvs access.) > > Regards, > Dushshantha > > -----Original Message----- > From: krishna [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 18, 2005 2:55 AM > To: [email protected] > Subject: returning a 0 length array > > Hi All > > I am trying to get a 0 length array returned in the array example in > Axis C++.I am using Axis 1.5 alpha. > The SOAP-RESPONSE has a SOAP-ENV Fault.Please see the request and > response below > > I have tried the same example with a 1 length array which was > successfull. > Is the response for 0 length array as expected. > > Krishna > > POST /axis/array HTTP/1.1 > Host: localhost:80 > Content-Type: text/xml; charset=UTF-8 > SOAPAction: "array#echoIntArray" > Content-Length: 554 > > <?xml version='1.0' encoding='utf-8' ?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Body> > <ns1:echoIntArray xmlns:ns1="http://soapinterop.org/"> > <intArrayType xsi:type="ns2:intArrayType" > xmlns:ns2="http://soapinterop.org/xsd"><intItemArray > xmlns:enc="http://www.w3.org/2001/06/soap-encoding" > enc:arrayType="xsd:int[0]"> > </intItemArray> > </intArrayType></ns1:echoIntArray> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > HTTP/1.1 200 OK > Date: Fri, 17 Jun 2005 19:32:40 GMT > Server: Apache/1.3.33 (Debian GNU/Linux) > Transfer-Encoding: chunked > Content-Type: text/xml > > 1f6 > <?xml version='1.0' encoding='utf-8' ?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Body> > <SOAP-ENV:Fault> > <faultcode>SOAP-ENV:Server</faultcode> > <faultstring>No handlers configured</faultstring> > <faultactor>server name:listen port</faultactor> > <detail>AxisEngineException:Web Service failed</detail> > </SOAP-ENV:Fault> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> -- Samisa Abeysinghe <[EMAIL PROTECTED]> Virtusa Corporation
