You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gary D. Gregory (JIRA)" <ji...@apache.org> on 2012/08/20 20:57:38 UTC

[jira] [Updated] (CXF-4479) Improve "No namespace on "{0}" element" error message.

     [ 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