You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Adam Lipscombe <ad...@cobar.fsbusiness.co.uk> on 2001/07/19 11:08:08 UTC

fault detail vector not being written to reply XML

Folks,


I am using the ExceptionFaultListener.
This populates the faultDetails with a Vector containing a Parameter that
wraps the root exception.
I have debugged to the level where I am confident it is being called
correctly and the faultDetails are being populated.

However, the detail entries in the XML reply appear to contain nothing.
The Tunnel Monitor shows:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>cannot retrieve list (4,1000), index out of
bounds</faultstring>
<faultactor>/soap/servlet/rpcrouter/</faultactor>
<detail>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Does anything else have to be in place to make this mechanism work?
Does the deployment descriptor need to contain something ?


Any help much appreciated.....


Cheers - Adam