Examples of ParticipantPortType


Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantPortType

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

Examples of com.jboss.transaction.txinterop.webservices.bainterop.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
        ParticipantService service = getParticipantService();
        ParticipantPortType port = service.getPort(ParticipantPortType.class);
        BindingProvider bindingProvider = (BindingProvider)port;
        AttributedURI toUri = addressingProperties.getTo();
        List<Handler> customHandlerChain = new ArrayList<Handler>();
        /*
         * we have to add the JaxWS WSAddressingClientHandler because we cannot specify the WSAddressing feature
View Full Code Here

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

     */
    public void sendCompletionCommit(final AddressingProperties addressingProperties, final String coordinatorURI)
        throws SoapFault, IOException
    {
        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, completionCommitAction);
        port.completionCommit(coordinatorURI);
    }
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.