Return-Path: Delivered-To: apmail-geronimo-servicemix-dev-archive@www.apache.org Received: (qmail 46831 invoked from network); 17 May 2006 12:15:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2006 12:15:27 -0000 Received: (qmail 42605 invoked by uid 500); 17 May 2006 12:15:22 -0000 Delivered-To: apmail-geronimo-servicemix-dev-archive@geronimo.apache.org Received: (qmail 42577 invoked by uid 500); 17 May 2006 12:15:21 -0000 Mailing-List: contact servicemix-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: servicemix-dev@geronimo.apache.org Delivered-To: mailing list servicemix-dev@geronimo.apache.org Received: (qmail 42568 invoked by uid 99); 17 May 2006 12:15:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 05:15:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 05:15:21 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC6A471429B for ; Wed, 17 May 2006 12:14:51 +0000 (GMT) Message-ID: <19001119.1147868091956.JavaMail.jira@brutus> Date: Wed, 17 May 2006 12:14:51 +0000 (GMT+00:00) From: "Eric Dofonsou (JIRA)" To: servicemix-dev@geronimo.apache.org Subject: [jira] Created: (SM-433) Issue in the way servicemix handle soap errors MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Issue in the way servicemix handle soap errors ---------------------------------------------- Key: SM-433 URL: https://issues.apache.org/activemq/browse/SM-433 Project: ServiceMix Type: Bug Components: servicemix-http Environment: Servicemix 3.0 ALL Reporter: Eric Dofonsou Fix For: 3.0 Attachments: ConsumerProcessor.java, ProviderProcessor.java With the current version of servicemix (3.0) , my soap fault message is replace by the following HTTP error message: ------ Error 500 Unknown Error

HTTP ERROR: 500

Unknown Error

RequestURI=/Service/

Powered by Jetty://

---- because of this message, my generated stubs cannot properly handle the soap message. ------- The best solution would be to have my soap fault message return to the calling client "as is" so all my business rules can be handle. After a few discussion with Guillaume, I've come up with a solution that handle sthe soap faul correctly, what this does is to no longer return an HTTP error message when we get a soap fault on the provider processeur. The soap fault is send as a property of the message to the consumer endpoint who then rebuild the soap fault (and does the conversion (1.1 <-> 1.2) if required. Ps : The conversion from 1.1 -> 1.2 is not handle in this code (I had not quick means of testing it). Attached are the modified files : ConsumerProcessor.java, ProviderProcessor.java -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira