ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject svn commit: r330057 - in /webservices/sandesha/trunk/src/org/apache/sandesha2: msgprocessors/ApplicationMsgProcessor.java util/FaultMgr.java util/RMMsgCreator.java
Date Tue, 01 Nov 2005 13:50:54 GMT
Author: chamikara
Date: Tue Nov  1 05:50:33 2005
New Revision: 330057

URL: http://svn.apache.org/viewcvs?rev=330057&view=rev
Log:
To comply with the recent refactoring of Axis2

Modified:
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java?rev=330057&r1=330056&r2=330057&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
(original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
Tue Nov  1 05:50:33 2005
@@ -304,7 +304,7 @@
 		ackMsgCtx.setServiceContext(serviceContext);
 		
 		try {
-			AxisOperation ackOperation = AxisOperationFactory.getOperetionDescription(AxisOperationFactory.MEP_CONSTANT_IN_ONLY);
+			AxisOperation ackOperation = AxisOperationFactory.getOperetionDescription(AxisOperationFactory.MEP_URI_IN_ONLY);
 
 			AxisOperation rmMsgOperation = rmMsgCtx.getMessageContext().getAxisOperation();
 			if (rmMsgOperation!=null) {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultMgr.java?rev=330057&r1=330056&r2=330057&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultMgr.java Tue Nov  1 05:50:33
2005
@@ -9,6 +9,7 @@
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.om.OMAttribute;
+import org.apache.axis2.om.OMConstants;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
 import org.apache.axis2.soap.SOAP11Constants;
@@ -24,7 +25,6 @@
 import org.apache.axis2.soap.SOAPFaultText;
 import org.apache.axis2.soap.SOAPFaultValue;
 import org.apache.axis2.soap.SOAPHeader;
-import org.apache.axis2.soap.impl.llom.SOAPConstants;
 import org.apache.axis2.soap.impl.llom.soap12.SOAP12Factory;
 import org.apache.sandesha2.Constants;
 import org.apache.sandesha2.RMMsgContext;
@@ -344,11 +344,12 @@
                 
                 faultReason = fault.getReason();
                 faultReason.getSOAPText().setText(data.reason);
+                
                 // TODO
                 OMNamespace namespace = 
                     factory.createOMNamespace(
-                            SOAP11Constants.XMLNS_URI,
-                            SOAP11Constants.XMLNS_PREFIX);
+                            OMConstants.XMLNS_URI,
+                            OMConstants.XMLNS_PREFIX);
                 faultReason.getSOAPText().addAttribute("lang", "en", namespace);
                 break;
                 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java?rev=330057&r1=330056&r2=330057&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java Tue Nov  1
05:50:33 2005
@@ -118,7 +118,7 @@
 		String createSeqMsgId = SandeshaUtil.getUUID();
 		try {
 			AxisOperation appMsgOperationDesc = applicationMsgContext.getAxisOperation();
-			AxisOperation createSeqOperationDesc = AxisOperationFactory.getOperetionDescription(AxisOperationFactory.MEP_CONSTANT_OUT_IN);
+			AxisOperation createSeqOperationDesc = AxisOperationFactory.getOperetionDescription(AxisOperationFactory.MEP_URI_OUT_IN);
 			if (appMsgOperationDesc!=null) {
 				createSeqOperationDesc.setPhasesOutFlow(appMsgOperationDesc.getPhasesOutFlow());
 				createSeqOperationDesc.setPhasesOutFaultFlow(appMsgOperationDesc.getPhasesOutFaultFlow());
@@ -259,7 +259,7 @@
 		terminateMessage.setServiceContext(serviceContext);
 		
 		try {
-			AxisOperation terminateOperaiton = AxisOperationFactory.getOperetionDescription(AxisOperationFactory.MEP_CONSTANT_IN_ONLY);
+			AxisOperation terminateOperaiton = AxisOperationFactory.getOperetionDescription(AxisOperationFactory.MEP_URI_IN_ONLY);
 			AxisOperation referenceMsgOperation = referenceMessage.getAxisOperation();
 			if (referenceMsgOperation!=null) {
 				ArrayList outPhases = referenceMsgOperation.getPhasesOutFlow();



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message