You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andre Timmer (JIRA)" <ji...@apache.org> on 2018/09/13 15:46:00 UTC

[jira] [Created] (AXIOM-491) Migration struccles: it's too easy to add a SoapFault which is not of the right type

Andre Timmer created AXIOM-491:
----------------------------------

             Summary: Migration struccles: it's too easy to add a SoapFault which is not of the right type
                 Key: AXIOM-491
                 URL: https://issues.apache.org/jira/browse/AXIOM-491
             Project: Axiom
          Issue Type: Bug
          Components: LLOM
    Affects Versions: 1.2.20
            Reporter: Andre Timmer


Jar: org/apache/ws/commons/axiom/axiom-impl/1.2.20/axiom-impl-1.2.20.jar

**In org.apache.axiom.soap.impl.llom.SOAPBodyImpl and SOAPEnvelopeImpl it's too easy to add a Node that is a soap Fault but somehow not of type SOAPFault.

 

 

 Since Synapse 3.0.1 and the axiom framework  a soap Fault  MUST be an instance of SOAPFault. Else the code doesn't recognise there is one!

During our migration to Synapse 3.0.1 this resulted in some bugs that were hard to solve.

Suggestion for SOAPBodyImpl and SOAPEnvelopeImpl 

- add to addChild method a check that when adding an element to the Body with name Fault this should be of instance SOAPFault 

 

 

 

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org