Examples of ParticipantPortType


Examples of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType

     */
    public void sendRetryPreparedAbort(final CoordinationContextType coordinationContext, final AddressingProperties addressingProperties)
        throws SoapFault, IOException
    {
        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, retryPreparedAbortAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.retryPreparedAbort();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }
View Full Code Here

Examples of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType

     */
    public void sendRetryCommit(final CoordinationContextType coordinationContext, final AddressingProperties addressingProperties)
        throws SoapFault, IOException
    {
        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, retryCommitAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.retryCommit();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }
View Full Code Here

Examples of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType

     */
    public void sendPreparedAfterTimeout(final CoordinationContextType coordinationContext, final AddressingProperties addressingProperties)
        throws SoapFault, IOException
    {
        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, preparedAfterTimeoutAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.preparedAfterTimeout();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }
View Full Code Here

Examples of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType

     */
    public void sendLostCommitted(final CoordinationContextType coordinationContext, final AddressingProperties addressingProperties)
        throws SoapFault, IOException
    {
        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, lostCommittedAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.lostCommitted();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }
View Full Code Here

Examples of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType

    // the activation port request
    public static ParticipantPortType getParticipantPort(AddressingProperties addressingProperties, String action)
    {
        // TODO - we need the 2.1 verison of Service so we can specify that we want to use the WS Addressing feature
        Sc007Service service = getSc007Service();
        ParticipantPortType port = service.getPort(ParticipantPortType.class);
        BindingProvider bindingProvider = (BindingProvider)port;
        AttributedURI toUri = addressingProperties.getTo();
        List<Handler> customHandlerChain = new ArrayList<Handler>();
        /*
         * we need to add the coordination context handler in the case where we are passing a
View Full Code Here

Examples of org.oasis_open.docs.ws_tx.wsat._2006._06.ParticipantPortType

    public void sendPrepare(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(endpoint, addressingProperties);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        ParticipantPortType port = getPort(endpoint, addressingProperties, prepareAction);
        Notification prepare = new Notification();

        port.prepareOperation(prepare);
    }
View Full Code Here

Examples of org.oasis_open.docs.ws_tx.wsat._2006._06.ParticipantPortType

    public void sendCommit(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(endpoint, addressingProperties);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        ParticipantPortType port = getPort(endpoint, addressingProperties, commitAction);
        Notification commit = new Notification();

        port.commitOperation(commit);
    }
View Full Code Here

Examples of org.oasis_open.docs.ws_tx.wsat._2006._06.ParticipantPortType

    public void sendRollback(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCoordinator(endpoint, addressingProperties);
        AddressingHelper.installFromFaultTo(addressingProperties, coordinator, identifier);
        ParticipantPortType port = getPort(endpoint, addressingProperties, rollbackAction);
        Notification rollback = new Notification();

        port.rollbackOperation(rollback);
    }
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.