cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ysahuly <sah...@object-frontier.com>
Subject Exception after inclusion of <jaxws:dataBinding> inside the <jaxws:endpoint>
Date Wed, 03 Dec 2008 16:42:24 GMT

Hi All,
i have included the below bolded piece of code in my cxf.xml...After that
inclusion i got the below exception while deploying

  <jaxws:endpoint id="task"
                  implementor="com.cxf.sample.service.EmnployeeServiceImpl"
                  address="/employee">
	<jaxws:features>
      <ref bean="logging"/>
    </jaxws:features>

	<jaxws:inInterceptors>
      <bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/>
      <ref bean="wss4jInConfiguration"/>
    </jaxws:inInterceptors>

	<jaxws:dataBinding>
		<bean class="org.apache.cxf.jaxb.JAXBDataBinding"/>
	</jaxws:dataBinding>

  </jaxws:endpoint>

Actually i don't know what i went wrong....

r?
Caused by:
org.springframework.beans.NotWritablePropertyException: Invalid property
'dataBinding' of bean class
[org.apache.cxf.jaxws.spring.EndpointDefinitionParser$Sp
ringEndpointImpl]: Bean property 'dataBinding' is not writable or has an
invalid setter method. Does the parameter type of the setter match the
return type o
f the getter?
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:793)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
-- 
View this message in context: http://www.nabble.com/Exception-after-inclusion-of-%3Cjaxws%3AdataBinding%3E-inside-the-%3Cjaxws%3Aendpoint%3E-tp20816616p20816616.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message