axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (AXIS-1306) soapFault.setFaultString() etc do not create children...
Date Tue, 13 Apr 2004 14:14:43 GMT
The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Tue, 13 Apr 2004 7:13 AM
can you please submit a patch?
View this comment:

View the issue:

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

     Status: Unassigned
   Priority: Minor

    Project: Axis
             Basic Architecture
             current (nightly)

   Reporter: Brian Ewins

    Created: Tue, 13 Apr 2004 4:37 AM
    Updated: Tue, 13 Apr 2004 7:13 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