ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r382644 - /webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
Date Fri, 03 Mar 2006 03:51:31 GMT
Author: dims
Date: Thu Mar  2 19:51:30 2006
New Revision: 382644

URL: http://svn.apache.org/viewcvs?rev=382644&view=rev
Log:
let's use the default prefix, no need to be smart :)

Modified:
    webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java

Modified: webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java?rev=382644&r1=382643&r2=382644&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
(original)
+++ webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
Thu Mar  2 19:51:30 2006
@@ -149,12 +149,12 @@
             messageContext.setProperty(Constants.FAULT_INFORMATION_FOR_HEADERS, faultInformation);
         }
 
-        faultInformation.put(Final.FAULT_HEADER_PROB_HEADER_QNAME, "wsa:" + addressingHeaderName);
+        faultInformation.put(Final.FAULT_HEADER_PROB_HEADER_QNAME, WSA_DEFAULT_PREFIX + ":"
+ addressingHeaderName);
         faultInformation.put(Final.WSA_FAULT_ACTION, Final.WSA_FAULT_ACTION);
         if (!messageContext.isSOAP11()) {
             setFaultCode(messageContext, faultCode);
         }
-        throw new AxisFault("A header representing a Message Addressing Property is not valid
and the message cannot be processed", addressingNSObject.getPrefix() + ":" + faultCode);
+        throw new AxisFault("A header representing a Message Addressing Property is not valid
and the message cannot be processed", WSA_DEFAULT_PREFIX + ":" + faultCode);
     }
 
     private void setFaultCode(MessageContext messageContext, String faultCode) {
@@ -164,7 +164,7 @@
         soapFaultValue.setText(messageContext.getEnvelope().getNamespace().getPrefix() +
":" + SOAP12Constants.FAULT_CODE_SENDER);
         SOAPFaultSubCode soapFaultSubCode = soapFac.createSOAPFaultSubCode(soapFaultCode);
         SOAPFaultValue soapFaultSubcodeValue = soapFac.createSOAPFaultValue(soapFaultSubCode);
-        soapFaultSubcodeValue.setText(addressingNSObject.getPrefix() + ":" + faultCode);
+        soapFaultSubcodeValue.setText(WSA_DEFAULT_PREFIX + ":" + faultCode);
         messageContext.setProperty(SOAP12Constants.SOAP_FAULT_CODE_LOCAL_NAME, soapFaultCode);
     }
 



Mime
View raw message