Package com.arjuna.schemas.ws._2005._10.wsarjtx

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


    try {
      JAXBContext jc10 = JAXBContext.newInstance("com.topografix.gpx._1._0");
      Unmarshaller unmarshaller = jc10.createUnmarshaller();
      Object result = unmarshaller.unmarshal(file);
     
      return new Gpx10( (com.topografix.gpx._1._0.Gpx)result );
    } catch(Exception e) {
      // Ignore.
    }
   
    // Try 1.1
View Full Code Here


        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

     */
    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

        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

        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

        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

    public void completedOperation(
        @WebParam(name = "Completed", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final NotificationType completed = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

    public void closedOperation(
        @WebParam(name = "Closed", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final NotificationType closed = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

    public void cancelledOperation(
        @WebParam(name = "Cancelled", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final NotificationType cancelled = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

    public void faultedOperation(
        @WebParam(name = "Faulted", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
        NotificationType parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final NotificationType faulted = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

TOP

Related Classes of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationCoordinatorService

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.