History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-1005
Type: Test Test
Status: Open Open
Priority: Major Major
Assignee: Dan Diephouse
Reporter: jimiewang
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

test the client-side web service with xfire

Created: 27/May/07 06:36 PM   Updated: 27/May/07 06:36 PM
Component/s: Spring
Affects Version/s: 1.2.6
Fix Version/s: 1.2.6

Time Tracking:
Not Specified

File Attachments: 1. File core-ws.rar (18 kb)

Environment: jdk1.5, eclipse,xfire

Testcase included: yes


 Description  « Hide
i set up a new project specially for the client-side web service and test the client-side code, but when the ClassPathXmlApplicationContext class read the xml(contextClient = new ClassPathXmlApplicationContext("/wang/resources/applicationContext.xml");
), it always goes to the error, the error info is like the below:
org.springframework.core.CollectionFactory <clinit> INFO: JDK 1.4+ collections available
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [wang/resources/applicationContext.xml]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21514757]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,testWebService]; root of BeanFactory hierarchy
org.springframework.context.support.AbstractApplicationContext refresh
INFO: 11 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21514757]
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.beans.factory.config.ConfigurableListableBeanFactory.isTypeMatch(Ljava/lang/String;Ljava/lang/Class;)Z
at org.springframework.context.support.AbstractApplicationContext.isTypeMatch(AbstractApplicationContext.java:656)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:402)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
at wang.helloworld.clientTst.TestSupport.initContext(TestSupport.java:44)
at wang.helloworld.clientTst.TestSupport.main(TestSupport.java:89)

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.