You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/19 16:37:57 UTC

DO NOT REPLY [Bug 12818] New: - Wrong namespace for SOAP faultcode value

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12818>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12818

Wrong namespace for SOAP faultcode value

           Summary: Wrong namespace for SOAP faultcode value
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: Uwe.Hanisch@t-systems.com


The Axis Server (i.e. AxisFault.makeFault()) mapps 
user exeptions to the SOAP faultcode value "Server.userException" 
with the namespace identifier "http://xml.apache.org/axis/".

Since "Server" is a faultcode value defined in specification
(See http://www.w3.org/TR/SOAP/#_Toc478383510) the namespace
identifier should be "http://schemas.xmlsoap.org/soap/envelope/".

So the local faultCode variable should allways 
set with a namespace URI Constants.DEFAULT_SOAP_VERSION.geEnvelopeURI()
instead of Constants.NS_URI_AXIS.