I am upgrading my XFire web service logic to CXF 2.7.11 using simple frontend
due to annotation-less structure of course.

But CXF and XFire autogenerated namespaces (targetNamespace in wsdl) for web
services are different as CXF add an extra '/' forward slash. As mentioned 
here <http://cxf.apache.org/docs/aegis-databinding-20x.html>   , I updated
my XML to :


<bean id="aegisCompatibilityFactoryBean"
class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
                <property name="serviceConfigurations">
                        <list>
                                <bean 
class="org.apache.cxf.jaxws.support.JaxWsServiceConfiguration" />
                                <bean
                                
class="org.apache.cxf.aegis.databinding.XFireCompatibilityServiceConfiguration"
/>
                                <bean 
class="org.apache.cxf.service.factory.DefaultServiceConfiguration"
/>
                        </list>
                </property>
        </bean>
        <simple:server id="scheduleService"
                serviceClass="com.my.world.ScheduleWebService"
                address="/ScheduleWebService">
                <simple:serviceBean>
                        <bean
                                
class="com.my.world.impl.ScheduleWebServiceImpl">
                        </bean>
                </simple:serviceBean>
                <simple:serviceFactory>
                        <ref bean="aegisCompatibilityFactoryBean" />
                </simple:serviceFactory>
                 <simple:dataBinding> <bean
class="org.apache.cxf.aegis.databinding.AegisDatabinding" 
                        /> </simple:dataBinding>



But still I am getting '/' in my namespace. Do CXF 2.7.11 still supports
XFire namespace?

Please help.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-2-7-11-xfire-compatibility-tp5744595.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to