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

ASF GitHub Bot commented on CAMEL-8708:
---------------------------------------

GitHub user PascalSchumacher opened a pull request:

    https://github.com/apache/camel/pull/727

    CAMEL-8708: SOAP marshaling shouldn't fail for Faults that lack an op…

    …tional Detail element

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/PascalSchumacher/camel CAMEL-8708

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/727.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #727
    
----
commit 6e81be37253fc7c78c39d4483bfe4f8be57e8417
Author: Pascal Schumacher <[email protected]>
Date:   2015-12-11T17:22:40Z

    CAMEL-8708: SOAP marshaling shouldn't fail for Faults that lack an optional 
Detail element

----


> 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