Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-237

SOAP Fault Details are not output unless the AxisFault has a detail exception

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Major Major
    • jboss-ws4ee-4.0.3
    • jboss-ws4ee-4.0.2
    • jbossws-native
    • None

      The method org.jboss.axis.message.SOAPFaultImpl.outputImpl(org.jboss.axis.encoding.SerializationContext) writes a SOAP fault out on the wire. The fault must be an instance of org.jboss.axis.AxisFault. AxisFault extends RemoteException which has a public member "detail" of type Throwable. AxisFault also has a property FaultDetails of type List. The "detail" and FaultDetails are not necessarily related, however SOAPFaultImpl will only serialize the FaultDetails if "detail" is not null. The attached patch will serialize the FaultDetails even if "detail" is null.

            jgreene@redhat.com Jason Greene
            ddunkin_jira Dave Dunkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: