Package com.arjuna.webservices

Examples of com.arjuna.webservices.SoapRegistry


               // Add Arjuna handlers
               ArjunaPolicy.register(handlerRegistry) ;
               // Add Completion coordinator.
               CompletionCoordinatorPolicy.register(handlerRegistry) ;

               final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
               soapRegistry.registerSoapService(AtomicTransactionConstants.SERVICE_COMPLETION_COORDINATOR,
                       new SoapService(handlerRegistry)) ;
           }
        };
    }
View Full Code Here


               // Add Arjuna handlers
               ArjunaPolicy.register(handlerRegistry) ;
               // Add Participant Completion participant.
               ParticipantCompletionParticipantPolicy.register(handlerRegistry) ;

               final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
               soapRegistry.registerSoapService(BusinessActivityConstants.SERVICE_PARTICIPANT_COMPLETION_PARTICIPANT,
                       new SoapService(handlerRegistry)) ;
           }
        };
    }
View Full Code Here

               // Add Arjuna handlers
               ArjunaPolicy.register(handlerRegistry) ;
               // Add Coordinator Completion participant.
               CoordinatorCompletionParticipantPolicy.register(handlerRegistry) ;

               final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
               soapRegistry.registerSoapService(BusinessActivityConstants.SERVICE_COORDINATOR_COMPLETION_PARTICIPANT,
                       new SoapService(handlerRegistry)) ;
           }
        };
    }
View Full Code Here

               // Add Arjuna handlers
               ArjunaPolicy.register(handlerRegistry) ;
               // Add Participant Completion coordinator.
               ParticipantCompletionCoordinatorPolicy.register(handlerRegistry) ;

               final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
               soapRegistry.registerSoapService(BusinessActivityConstants.SERVICE_PARTICIPANT_COMPLETION_COORDINATOR,
                       new SoapService(handlerRegistry)) ;
           }
        };
    }
View Full Code Here

               // Add Arjuna handlers
               ArjunaPolicy.register(handlerRegistry) ;
               // Add Coordinator Completion coordinator.
               CoordinatorCompletionCoordinatorPolicy.register(handlerRegistry) ;

               final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
               soapRegistry.registerSoapService(BusinessActivityConstants.SERVICE_COORDINATOR_COMPLETION_COORDINATOR,
                       new SoapService(handlerRegistry)) ;
           }
        };
    }
View Full Code Here

        if (coordinationTypeURI.equals(TestUtil.INVALID_CREATE_PARAMETERS_COORDINATION_TYPE))
            throw new InvalidCreateParametersException();

        CoordinationContextType testCoordinationContext = new CoordinationContextType();

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        final String registrationURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
        final EndpointReferenceType registrationService = new EndpointReferenceType(new AttributedURIType(registrationURI)) ;
       
        testCoordinationContext.setIdentifier(new AttributedURIType(Integer.toString(nextIdentifier()))) ;
        testCoordinationContext.setCoordinationType(new URI(_coordinationType)) ;
        testCoordinationContext.setRegistrationService(registrationService) ;
View Full Code Here

    protected void setUp()
        throws Exception
    {
        origActivationCoordinatorProcessor = ActivationCoordinatorProcessor.setCoordinator(testActivationCoordinatorProcessor) ;
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        final String activationCoordinatorServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_ACTIVATION_COORDINATOR) ;
        activationCoordinatorService = new EndpointReferenceType(new AttributedURIType(activationCoordinatorServiceURI)) ;
        final String activationRequesterServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_ACTIVATION_REQUESTER) ;
        activationRequesterService = new EndpointReferenceType(new AttributedURIType(activationRequesterServiceURI)) ;
       
        origRegistrationCoordinatorProcessor = RegistrationCoordinatorProcessor.setCoordinator(testRegistrationCoordinatorProcessor) ;
        final String registrationCoordinatorServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
        registrationCoordinatorService = new EndpointReferenceType(new AttributedURIType(registrationCoordinatorServiceURI)) ;
        final String registrationRequesterServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_REQUESTER) ;
        registrationRequesterService = new EndpointReferenceType(new AttributedURIType(registrationRequesterServiceURI)) ;
    }
View Full Code Here

            DeploymentContext manager = DeploymentContextFactory.deploymentContext();
            com.arjuna.mw.wsas.context.Context theContext = manager.context();
            */
       
                final JTAContextImple jtaContext = JTAContextImple.getContext() ;
                final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
                final String registrationCoordinatorURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
               
                final CoordinationContextType coordinationContext = new CoordinationContextType() ;
                coordinationContext.setCoordinationType(new URI(coordinationTypeURI)) ;
                coordinationContext.setIdentifier(new AttributedURIType(jtaContext.getTransactionIdentifier())) ;
                final int transactionExpires = jtaContext.getTransactionExpires() ;
View Full Code Here

     * @throws IOException for unsupported schemes.
     */
    private static SoapClient getSoapClient(final String destinationURI)
        throws IOException
    {
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        final String scheme = soapRegistry.getScheme(destinationURI) ;
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
       
        if (client == null)
        {
            final String pattern = WSCLogger.log_mesg.getString("com.arjuna.webservices.wsaddr2005.client.WSAddr2005Client_3") ;
            final String message = MessageFormat.format(pattern, new Object[] {scheme}) ;
View Full Code Here

         * DeploymentContextFactory.deploymentContext();
         * com.arjuna.mw.wsas.context.Context theContext =
         * manager.context();
         */

                final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
                final String registrationCoordinatorURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
               
                final ArjunaContextImple arjunaContext = ArjunaContextImple.getContext() ;
                final CoordinationContextType coordinationContext = new CoordinationContextType() ;
                coordinationContext.setCoordinationType(new URI(coordinationTypeURI)) ;
                coordinationContext.setIdentifier(new AttributedURIType(arjunaContext.getTransactionIdentifier(0))) ;
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.SoapRegistry

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.