Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A5E6DF85 for ; Mon, 20 Aug 2012 18:57:40 +0000 (UTC) Received: (qmail 53485 invoked by uid 500); 20 Aug 2012 18:57:39 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 53227 invoked by uid 500); 20 Aug 2012 18:57:39 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 53077 invoked by uid 99); 20 Aug 2012 18:57:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 18:57:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 52ECD2C5C09 for ; Mon, 20 Aug 2012 18:57:38 +0000 (UTC) Date: Tue, 21 Aug 2012 05:57:38 +1100 (NCT) From: "Gary D. Gregory (JIRA)" To: issues@cxf.apache.org Message-ID: <2122727541.31241.1345489058340.JavaMail.jiratomcat@arcas> In-Reply-To: <1447669133.31081.1345487978071.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CXF-4479) Improve "No namespace on "{0}" element" error message. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated CXF-4479: --------------------------------- Attachment: cxf-4479.diff Patch to .properties message file. > Improve "No namespace on "{0}" element" error message. > ------------------------------------------------------ > > Key: CXF-4479 > URL: https://issues.apache.org/jira/browse/CXF-4479 > Project: CXF > Issue Type: Improvement > Affects Versions: 2.6.1 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) > Maven home: C:\Java\apache-maven-3.0.4\bin\.. > Java version: 1.6.0_31, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_31\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Gary D. Gregory > Attachments: cxf-4479.diff > > > When our users mistakenly send non-SOAP XML to our server embedding CXF, they get this unhelpful error: > {noformat} > No namespace on "{0}" element. > {noformat} > Where \{0\} is the root element. > The following would be better and give us less support headaches: > {noformat} > No namespace on "{0}" element. You must send a SOAP request. > {noformat} > Or a message to the effect that a SOAP request is expected instead of a low-level failure. > The message NO_NAMESPACE is defined in {{rt\bindings\soap\src\main\java\org\apache\cxf\binding\soap\interceptor\Messages.properties}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira