[
https://issues.apache.org/jira/browse/CAMEL-8708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044447#comment-15044447
]
Claus Ibsen commented on CAMEL-8708:
------------------------------------
No a patch is much welcome, just do that != null check as suggested by Alex.
http://camel.apache.org/contributing
> SOAP unmarshalling shouldn't fail for Faults that lack an optional Detail
> element
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-8708
> URL: https://issues.apache.org/jira/browse/CAMEL-8708
> Project: Camel
> Issue Type: Bug
> Components: camel-soap
> Affects Versions: 2.15.1
> Reporter: Alex Savitsky
> Priority: Minor
>
> Camel-soap code assumes that all Faults that a Camel SOAP endpoint is
> receiving, are containing a Detail element. Sending a Fault without Detail
> will result in an NPE. Detail is optional element in SOAP Faults (see
> http://www.w3.org/TR/soap12-part1/#soapfault) and its absence should not
> generate an error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)