test the client-side web service with xfire
-------------------------------------------
Key: XFIRE-1005
URL: http://jira.codehaus.org/browse/XFIRE-1005
Project: XFire
Issue Type: Test
Components: Spring
Affects Versions: 1.2.6
Environment: jdk1.5, eclipse,xfire
Reporter: jimiewang
Assignee: Dan Diephouse
Fix For: 1.2.6
Attachments: core-ws.rar
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email