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>