[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    [jira] [Created] (AXIOM-491) Migration struccles: it's too easy to add a SoapFault which is not of t
From:       "Andre Timmer (JIRA)" <jira () apache ! org>
Date:       2018-09-13 15:46:00
Message-ID: JIRA.13184940.1536853531000.67978.1536853560174 () Atlassian ! JIRA
[Download RAW message or body]

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:=C2=A0org/apache/ws/commons/axiom/axiom-impl/1.2.20/axiom-impl-1.2.20.j=
ar

**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 SOAPFa=
ult.

=C2=A0

=C2=A0

=C2=A0Since Synapse 3.0.1 and the axiom framework=C2=A0 a soap Fault=C2=A0 =
MUST be an instance of=C2=A0SOAPFault. Else the code doesn't recognise ther=
e is one!

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

Suggestion for=C2=A0SOAPBodyImpl and=C2=A0SOAPEnvelopeImpl=C2=A0

-=C2=A0add to addChild method a check that when adding an element to the Bo=
dy with name Fault this should be of instance SOAPFault=C2=A0

=C2=A0

=C2=A0

=C2=A0

=C2=A0

=C2=A0

=C2=A0



--
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic