[ 
https://issues.apache.org/jira/browse/CAMEL-8708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14517628#comment-14517628
 ] 

Claus Ibsen commented on CAMEL-8708:
------------------------------------

People is welcome to work on a patch to fix this.

It would be good to report the stacktrace of the NPE as that helps people to 
pin point the location where to fix this.

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

Reply via email to