[ https://issues.apache.org/jira/browse/CXF-4479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved CXF-4479. ------------------------------- Resolution: Fixed Fix Version/s: 2.7.0 2.6.3 2.5.6 2.4.10 commit fix http://svn.apache.org/viewvc?rev=1375391&view=rev for trunk http://svn.apache.org/viewvc?rev=1375394&view=rev for 2.6.x branch http://svn.apache.org/viewvc?rev=1375396&view=rev for 2.5.x branch http://svn.apache.org/viewvc?rev=1375398&view=rev for 2.4.x branch > 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 > Assignee: Freeman Fang > Fix For: 2.4.10, 2.5.6, 2.6.3, 2.7.0 > > 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