You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/03/21 19:51:58 UTC

[jira] Closed: (AXIS-1250) SOAPService make AxisFault from SOAPFaultException

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Sun, 21 Mar 2004 10:49 AM

Fixed in latest CVS.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1250

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1250
    Summary: SOAPService make AxisFault from SOAPFaultException
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Jin

    Created: Wed, 10 Mar 2004 7:02 AM
    Updated: Sun, 21 Mar 2004 10:49 AM

Description:
Hi:

When a SOAPService receives a SOAPFaultException when invoking in the request handler chain, line 408 - 500 of SOAPService (org.apache.axis.handlers.soap.SOAPService) have it as:

    catch (SOAPFaultException e) {
            msgContext.setPastPivot(true);
            throw new AxisFault(e.getMessage());

    }

All the SOAP fault specific information in the SOAPFaultExeption got lost except the message. Line 500 should be changed to:

             throw AxisFault.makeFault(e);

which will correctly populate the SOAP fault returned to the client.

Thanks,
--Jin


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira