Examples of TerminationCoordinatorPortType


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

                                                                                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

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

    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

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

    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

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

    public void sendCancel(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, cancelAction);
        final NotificationType cancel = new NotificationType();

        port.cancelOperation(cancel);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.