Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package com.arjuna.webservices11.wsarjtx.sei;
  
 import  org.jboss.ws.api.addressing.MAP;
 
 import javax.jws.*;
This class was generated by the JAX-WS RI. JAX-WS RI 2.1.1-b03- Generated source version: 2.0
 
 @WebService(name = "TerminationCoordinatorPortType", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx",
         // wsdlLocation = "/WEB-INF/wsdl/wsarjtx-termination-coordinator-binding.wsdl",
         serviceName = "TerminationCoordinatorService",
         portName = "TerminationCoordinatorPortType"
 )
 @HandlerChain(file="/ws-t_handlers.xml")
 @Addressing(required=true)
 {
 
     @Resource
      private WebServiceContext webServiceCtx;

    

Parameters:
parameters
 
     @WebMethod(operationName = "CompleteOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Complete")
     @Oneway
     public void completeOperation(
         @WebParam(name = "Complete", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
         NotificationType parameters)
     {
         MessageContext ctx = .getMessageContext();
         final NotificationType complete = parameters;
         final MAP inboundMap = AddressingHelper.inboundMap(ctx);
         final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
 
         TaskManager.getManager().queueTask(new Task() {
             public void executeTask() {
                 TerminationCoordinatorProcessor.getProcessor().complete(completeinboundMaparjunaContext) ;
             }
         }) ;
     }

    

Parameters:
parameters
 
     @WebMethod(operationName = "CloseOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Close")
     @Oneway
     public void closeOperation(
         @WebParam(name = "Close", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
         NotificationType parameters)
     {
         MessageContext ctx = .getMessageContext();
         final NotificationType close = parameters;
         final MAP inboundMap = AddressingHelper.inboundMap(ctx);
         final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
 
         TaskManager.getManager().queueTask(new Task() {
             public void executeTask() {
                 TerminationCoordinatorProcessor.getProcessor().close(closeinboundMaparjunaContext) ;
             }
         }) ;
     }

    

Parameters:
parameters
 
     @WebMethod(operationName = "CancelOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Cancel")
     @Oneway
     public void cancelOperation(
         @WebParam(name = "Cancel", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
         NotificationType parameters)
     {
         MessageContext ctx = .getMessageContext();
        final NotificationType cancel = parameters;
        final MAP inboundMap = AddressingHelper.inboundMap(ctx);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                TerminationCoordinatorProcessor.getProcessor().cancel(cancelinboundMaparjunaContext) ;
            }
        }) ;
    }
    @WebMethod(operationName = "fault", action = "http://docs.oasis-open.org/ws-tx/wsat/2006/06/fault")
    @Oneway
    public void fault(
            @WebParam(name = "Fault", targetNamespace = "http://schemas.xmlsoap.org/soap/envelope/", partName = "parameters")
            Fault fault)
    {
        final MAP inboundMap = AddressingHelper.inboundMap(ctx);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
        final SoapFault soapFault = SoapFault11.fromFault(fault);
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                TerminationCoordinatorProcessor.getProcessor().soapFault(soapFaultinboundMaparjunaContext); ;
            }
        }) ;
    }
New to GrepCode? Check out our FAQ X