Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 361B0179E2 for ; Mon, 27 Apr 2015 16:51:39 +0000 (UTC) Received: (qmail 979 invoked by uid 500); 27 Apr 2015 16:51:39 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 943 invoked by uid 500); 27 Apr 2015 16:51:39 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 884 invoked by uid 99); 27 Apr 2015 16:51:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 16:51:39 +0000 Date: Mon, 27 Apr 2015 16:51:38 +0000 (UTC) From: "Alex Savitsky (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-8708) SOAP unmarshalling shouldn't fail for Faults that lack an optional Detail element MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alex Savitsky created CAMEL-8708: ------------------------------------ Summary: 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 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)