Package org.codehaus.xfire.spring

Examples of org.codehaus.xfire.spring.ServiceBean


        assertTrue(invoker instanceof BeanInvoker);
        assertEquals(EchoImpl.class, service.getServiceInfo().getServiceClass());
       
        service = xfire.getServiceRegistry().getService("EchoWithSchemas");
       
        ServiceBean serviceBean = (ServiceBean) getBean("EchoWithServiceFactory");
        assertTrue(serviceBean.getServiceFactory() instanceof CustomServiceFactory);
       
        serviceBean = (ServiceBean) getBean("EchoWithBeanServiceFactory");
        assertTrue(serviceBean.getServiceFactory() instanceof CustomServiceFactory);
       
        serviceBean = (ServiceBean) getBean("EchoWithServiceFactoryAndWhitespace");
        assertTrue(serviceBean.getServiceFactory() instanceof CustomServiceFactory);
       
        serviceBean = (ServiceBean) getBean("EchoWithInvoker");
        assertTrue(serviceBean.getInvoker() instanceof ObjectInvoker);
    }
View Full Code Here


    extends AbstractXFireSpringTest
{
    public void testBeans()
    {
     
        ServiceBean serviceBean = (ServiceBean) getBean("ConcatService");
        assertEquals(2, serviceBean.getMethods().size());

        Service service = serviceBean.getXFireService();
        OperationInfo opInfo = service.getServiceInfo().getOperation("concat");
        assertNotNull(opInfo);
       
        assertEquals(2, opInfo.getInputMessage().size());
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.spring.ServiceBean

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.