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 E6123DF31 for ; Mon, 20 Aug 2012 18:39:38 +0000 (UTC) Received: (qmail 6199 invoked by uid 500); 20 Aug 2012 18:39:38 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 6108 invoked by uid 500); 20 Aug 2012 18:39:38 -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 6078 invoked by uid 99); 20 Aug 2012 18:39: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:39:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 115A52C5BF3 for ; Mon, 20 Aug 2012 18:39:38 +0000 (UTC) Date: Tue, 21 Aug 2012 05:39:38 +1100 (NCT) From: "Gary D. Gregory (JIRA)" To: issues@cxf.apache.org Message-ID: <1447669133.31081.1345487978071.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (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 Gary D. Gregory created CXF-4479: ------------------------------------ Summary: 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 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