Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.1
-
None
-
None
-
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"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"
-
Unknown
Description
When our users mistakenly send non-SOAP XML to our server embedding CXF, they get this unhelpful error:
No namespace on "{0}" element.
Where {0} is the root element.
The following would be better and give us less support headaches:
No namespace on "{0}" element. You must send a SOAP request.
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