Package com.arjuna.schemas.ws._2005._10.wsarjtx

Examples of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationParticipantPortType


        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        HttpServletRequest request = (HttpServletRequest)ctx.get(MessageContext.SERVLET_REQUEST);
        boolean isSecure = request.getScheme().equals("https");
        final NotificationType complete = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here


    public void closeOperation(
        @WebParam(name = "Close", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final NotificationType close = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

    public void cancelOperation(
        @WebParam(name = "Cancel", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final NotificationType cancel = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(participant);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        final TerminationParticipantPortType port = getPort(participant, addressingProperties, identifier, completedAction);
        final NotificationType completed = new NotificationType();

        port.completedOperation(completed);
    }
View Full Code Here

        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(participant);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        final TerminationParticipantPortType port = getPort(participant, addressingProperties, identifier, closedAction);
        final NotificationType closed = new NotificationType();

        port.closedOperation(closed);
    }
View Full Code Here

        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(participant);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        final TerminationParticipantPortType port = getPort(participant, addressingProperties, identifier, cancelledAction);
        final NotificationType cancelled = new NotificationType();

        port.cancelledOperation(cancelled);
    }
View Full Code Here

        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(participant);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        final TerminationParticipantPortType port = getPort(participant, addressingProperties, identifier, faultedAction);
        final NotificationType faulted = new NotificationType();

        port.faultedOperation(faulted);
    }
View Full Code Here

                                                                                AddressingProperties addressingProperties)
    {
        // TODO - we need the 2.1 verison of Service so we can specify that we want to use the WS Addressing feature
        TerminationCoordinatorService service = getTerminationCoordinatorService();
        // TerminationCoordinatorPortType port = service.getPort(endpointReference, TerminationCoordinatorPortType.class, new AddressingFeature(true, true));
        TerminationCoordinatorPortType port = service.getPort(endpointReference, TerminationCoordinatorPortType.class);
        BindingProvider bindingProvider = (BindingProvider)port;
        /*
         * we have to add the JaxWS WSAddressingClientHandler because we cannoy specify the WSAddressing feature
         */
        List<Handler> customHandlerChain = new ArrayList<Handler>();
View Full Code Here

    public void sendComplete(final W3CEndpointReference coordinator, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(coordinator);
        AddressingHelper.installFromFaultTo(addressingProperties, participant, identifier);
        final TerminationCoordinatorPortType port = getPort(coordinator, addressingProperties, identifier, completeAction);
        final NotificationType complete = new NotificationType();

        port.completeOperation(complete);
    }
View Full Code Here

    public void sendClose(final W3CEndpointReference coordinator, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(coordinator);
        AddressingHelper.installFromFaultTo(addressingProperties, participant, identifier);
        final TerminationCoordinatorPortType port = getPort(coordinator, addressingProperties, identifier, closeAction);
        final NotificationType close = new NotificationType();

        port.closeOperation(close);
    }
View Full Code Here

TOP

Related Classes of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationParticipantPortType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.