Examples of TerminationParticipantPortType


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

                                                                               AddressingProperties addressingProperties)
    {
        // TODO - we need the 2.1 verison of Service so we can specify that we want to use the WS Addressing feature
        TerminationParticipantService service = getTerminationParticipantService();
        // TerminationParticipantPortType port = service.getPort(endpointReference, TerminationParticipantPortType.class, new AddressingFeature(true, true));
        TerminationParticipantPortType port = service.getPort(endpointReference, TerminationParticipantPortType.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.TerminationParticipantPortType

                                                                               AddressingProperties addressingProperties)
    {
        // TODO - we need the 2.1 verison of Service so we can specify that we want to use the WS Addressing feature
        TerminationParticipantService service = getTerminationParticipantService();
        // TerminationParticipantPortType port = service.getPort(endpointReference, TerminationParticipantPortType.class, new AddressingFeature(true, true));
        TerminationParticipantPortType port = service.getPort(TerminationParticipantPortType.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.TerminationParticipantPortType

    public void sendCompleted(final W3CEndpointReference participant, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        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

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

    public void sendClosed(final W3CEndpointReference participant, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        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

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

    public void sendCancelled(final W3CEndpointReference participant,final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        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

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

    public void sendFaulted(final W3CEndpointReference participant, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        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

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

    public void sendSoapFault(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final SoapFault soapFault, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        //AddressingHelper.installFrom(addressingProperties, terminationCoordinator, identifier);
        AddressingHelper.installNoneReplyTo(addressingProperties);
        final TerminationParticipantPortType port = getPort(endpoint, addressingProperties, identifier, soapFaultAction);
        final ExceptionType fault = new ExceptionType();
        // we pass the fault type, reason and subcode. we cannot pass the detail and header elements as they are
        // built from Kev's element types rather than dom element types. this is all we need anyway since we only
        // see faults containing those values
        fault.setSoapFaultType(soapFault.getSoapFaultType().getValue());
        fault.setReason(soapFault.getReason());
        fault.setSubCode(soapFault.getSubcode());

        port.faultOperation(fault);
    }
View Full Code Here

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

     * @throws java.io.IOException for any transport errors.
     */
    public void sendSoapFault(final SoapFault soapFault, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final TerminationParticipantPortType port = getPort(addressingProperties, identifier, soapFaultAction);
        final ExceptionType fault = new ExceptionType();
        // we pass the fault type, reason and subcode. we cannot pass the detail and header elements as they are
        // built from Kev's element types rather than dom element types. this is all we need anyway since we only
        // see faults containing those values
        fault.setSoapFaultType(soapFault.getSoapFaultType().getValue());
        fault.setReason(soapFault.getReason());
        fault.setSubCode(soapFault.getSubcode());

        port.faultOperation(fault);
    }
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.