axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Updated: (AXIS-1306) soapFault.setFaultString() etc do not create children...
Date Fri, 08 Oct 2004 11:46:51 GMT
The following issue has been updated:

    Updater: Ashutosh Shahi (
       Date: Fri, 8 Oct 2004 4:46 AM
Attaching a patch for the mentioned problem. Basically created faultcode, faultstring and
faultactor as child nodes of soapenv:Fault.Ran ant "all-tests", everthing seems to be working

             Attachment changed to diff.txt
For a full history of the issue, see:

View the issue:

Here is an overview of the issue:
        Key: AXIS-1306
    Summary: soapFault.setFaultString() etc do not create children...
       Type: Bug

     Status: Open
   Priority: Minor

    Project: Axis
             Basic Architecture
             current (nightly)

   Assignee: Davanum Srinivas
   Reporter: Brian Ewins

    Created: Tue, 13 Apr 2004 4:37 AM
    Updated: Fri, 8 Oct 2004 4:46 AM

If you create a fault using the saaj apis (MessageFactory.createMessage(),... etc) you'd expect
that (saaj) SOAPFault.getChildElements() would get all the children of the fault, including
the faultcode, faultstring and faultactor, once they have been set. In the Axis implementation,
this is not the case - only SOAPFaultDetail objects can be returned.

One way of fixing this (I guess) would be to create and retain a reference to the faultxxx
SOAPElement after it has been set (in org.apache.axis.message.SOAPFault), but I can see there
being issues with the element getting out of sync with the internal AxisFault.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message