Package com.arjuna.webservices.wsaddr

Examples of com.arjuna.webservices.wsaddr.EndpointReferenceType


     * @param identifier The endpoint reference identifier.
     * @return The endpoint reference.
     */
    private EndpointReferenceType getEndpointReference(final InstanceIdentifier identifier)
    {
        final EndpointReferenceType completionInitiatorEndpoint = new EndpointReferenceType(completionInitiator) ;
        InstanceIdentifier.setEndpointInstanceIdentifier(completionInitiatorEndpoint, identifier) ;
        return completionInitiatorEndpoint ;
    }
View Full Code Here


     * @throws IOException for any transport errors.
     */
    public void sendCommitted(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
            null, AtomicTransactionConstants.WSAT_ELEMENT_COMMITTED_QNAME, committedAction) ;
    }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendAborted(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
            null, AtomicTransactionConstants.WSAT_ELEMENT_ABORTED_QNAME, abortedAction) ;
    }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendSoapFault(final AddressingContext addressingContext, final SoapFault soapFault, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendSoapFault(soapFault, addressingContext, soapService, endpointReference, faultAction) ;
    }
View Full Code Here

     * @param identifier The endpoint reference identifier.
     * @return The endpoint reference.
     */
    private EndpointReferenceType getEndpointReference(final InstanceIdentifier identifier)
    {
        final EndpointReferenceType completionCoordinatorEndpoint = new EndpointReferenceType(completionCoordinator) ;
        InstanceIdentifier.setEndpointInstanceIdentifier(completionCoordinatorEndpoint, identifier) ;
        return completionCoordinatorEndpoint ;
    }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendCompleted(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
                endpointReference, BusinessActivityConstants.WSBA_ELEMENT_COMPLETED_QNAME,
            completedAction) ;
    }
View Full Code Here

     */
    public void sendFault(final AddressingContext addressingContext, final InstanceIdentifier identifier,
        final String exceptionIdentifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        final String exception = (exceptionIdentifier == null ? identifier.getInstanceIdentifier() : exceptionIdentifier) ;
        sendOneWay(new ExceptionType(exception), addressingContext, soapService, endpointReference,
                endpointReference, BusinessActivityConstants.WSBA_ELEMENT_FAULT_QNAME,
            faultAction) ;
    }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendCompensated(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
            null, BusinessActivityConstants.WSBA_ELEMENT_COMPENSATED_QNAME, compensatedAction) ;
    }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendClosed(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
            null, BusinessActivityConstants.WSBA_ELEMENT_CLOSED_QNAME, closedAction) ;
    }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendCancelled(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
            null, BusinessActivityConstants.WSBA_ELEMENT_CANCELLED_QNAME, cancelledAction) ;
    }
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.wsaddr.EndpointReferenceType

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.