[jboss-svn-commits] JBL Code SVN: r34956 - labs/jbosstm/trunk/XTS/WS-T/dev/src11/com/arjuna/webservices11/wsarjtx/sei.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Sep 1 10:30:18 EDT 2010
Author: adinn
Date: 2010-09-01 10:30:16 -0400 (Wed, 01 Sep 2010)
New Revision: 34956
Added:
labs/jbosstm/trunk/XTS/WS-T/dev/src11/com/arjuna/webservices11/wsarjtx/sei/TerminationCoordinatorRPCPortTypeImpl.java
Log:
adding new imlementation file for RPC based service -- fixes for JBTM-776
Added: labs/jbosstm/trunk/XTS/WS-T/dev/src11/com/arjuna/webservices11/wsarjtx/sei/TerminationCoordinatorRPCPortTypeImpl.java
===================================================================
--- labs/jbosstm/trunk/XTS/WS-T/dev/src11/com/arjuna/webservices11/wsarjtx/sei/TerminationCoordinatorRPCPortTypeImpl.java (rev 0)
+++ labs/jbosstm/trunk/XTS/WS-T/dev/src11/com/arjuna/webservices11/wsarjtx/sei/TerminationCoordinatorRPCPortTypeImpl.java 2010-09-01 14:30:16 UTC (rev 34956)
@@ -0,0 +1,77 @@
+package com.arjuna.webservices11.wsarjtx.sei;
+
+import com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType;
+import com.arjuna.webservices11.wsaddr.AddressingHelper;
+import com.arjuna.webservices11.wsarj.ArjunaContext;
+import com.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorRPCProcessor;
+import org.jboss.wsf.common.addressing.MAP;
+
+import javax.annotation.Resource;
+import javax.jws.*;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.handler.MessageContext;
+
+/**
+ * This class was generated by Apache CXF 2.2.9-patch-01
+ * Thu Aug 26 17:07:44 BST 2010
+ * Generated source version: 2.2.9-patch-01
+ *
+ */
+
+ at WebService(targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", name = "TerminationCoordinatorRPCPortType")
+ at HandlerChain(file="/ws-t-rpc_handlers.xml")
+ at SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public class TerminationCoordinatorRPCPortTypeImpl {
+
+ @Resource
+ private WebServiceContext webServiceCtx;
+
+ @WebResult(name = "Cancelled", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
+ @WebMethod(operationName = "CancelOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Cancel")
+ public NotificationType cancelOperation(
+ @WebParam(partName = "parameters", name = "Cancel", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx")
+ NotificationType parameters
+ )
+ {
+ MessageContext ctx = webServiceCtx.getMessageContext();
+ final NotificationType cancel = parameters;
+ final MAP inboundMap = AddressingHelper.inboundMap(ctx);
+ final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
+
+ TerminationCoordinatorRPCProcessor.getProcessor().cancel(cancel, inboundMap, arjunaContext) ;
+ return new NotificationType();
+ }
+
+ @WebResult(name = "Closed", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
+ @WebMethod(operationName = "CloseOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Close")
+ public NotificationType closeOperation(
+ @WebParam(partName = "parameters", name = "Close", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx")
+ NotificationType parameters
+ )
+ {
+ MessageContext ctx = webServiceCtx.getMessageContext();
+ final NotificationType close = parameters;
+ final MAP inboundMap = AddressingHelper.inboundMap(ctx);
+ final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
+
+ TerminationCoordinatorRPCProcessor.getProcessor().close(close, inboundMap, arjunaContext); ;
+ return new NotificationType();
+ }
+
+ @WebResult(name = "Completed", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
+ @WebMethod(operationName = "CompleteOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Complete")
+ public NotificationType completeOperation(
+ @WebParam(partName = "parameters", name = "Complete", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx")
+ NotificationType parameters
+ )
+ {
+ MessageContext ctx = webServiceCtx.getMessageContext();
+ final NotificationType complete = parameters;
+ final MAP inboundMap = AddressingHelper.inboundMap(ctx);
+ final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
+
+ TerminationCoordinatorRPCProcessor.getProcessor().complete(complete, inboundMap, arjunaContext); ;
+ return new NotificationType();
+ }
+}
More information about the jboss-svn-commits
mailing list