[
https://issues.apache.org/jira/browse/AXIOM-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andre Timmer updated AXIOM-491:
-------------------------------
Description:
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 related axiom framework a soap Fault MUST be an
instance of SOAPFault. {color:#59afe1}Else the code doesn't recognise there is
one!{color}
During our migration to Synapse 3.0.1 this resulted in some bugs that were hard
to solve.
*Suggestion for SOAPBodyImpl and SOAPEnvelopeImpl*
- {color:#59afe1}add{color} to addChild method a {color:#59afe1}check{color}
that when adding an element to the Body with name Fault this should be of
instance SOAPFault
was:
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
> Migration struggles: 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
> Priority: Minor
>
> 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 related axiom framework a soap Fault MUST be an
> instance of SOAPFault. {color:#59afe1}Else the code doesn't recognise there
> is one!{color}
> During our migration to Synapse 3.0.1 this resulted in some bugs that were
> hard to solve.
> *Suggestion for SOAPBodyImpl and SOAPEnvelopeImpl*
> - {color:#59afe1}add{color} to addChild method a {color:#59afe1}check{color}
> 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: [email protected]
For additional commands, e-mail: [email protected]