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);
}