[ 
https://issues.apache.org/jira/browse/CXF-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang resolved CXF-5054.
-------------------------------

    Resolution: Not A Problem
    
> Xfire to CXF migration
> ----------------------
>
>                 Key: CXF-5054
>                 URL: https://issues.apache.org/jira/browse/CXF-5054
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding, JAX-WS Runtime, Soap Binding
>    Affects Versions: 2.3.2
>            Reporter: Tarun Jain
>              Labels: newbie
>
> I am working on migration of webservice project from Xfire to CXF. And I need 
> some HELP DOING SO. I am quite new to webservices. Your help is much 
> appreciated.
> The requirement is to have backwards compatibility.
> This is how the xfire was implemented.
> <bean
>               
> class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
>               <property name="urlMap">
>                       <map>
>                               <entry key="/*">
>                                       <ref bean="lastFunction" />
>                               </entry>
>                       </map>
>               </property>
>       </bean>
>       <bean id="wsaServiceFactory"
>               
> class="com.YYY.webservice.xfire.servicefactory.WsaObjectServiceFactory"
>               singleton="true">
>               <constructor-arg index="0">
>                       <ref bean="xfire.transportManager" />
>               </constructor-arg>
>               <constructor-arg index="1">
>                       <ref bean="xfire.aegisBindingProvider" />
>               </constructor-arg>
>               <constructor-arg index="2">
>                       <value>urn:getDetails</value>
>               </constructor-arg>
>       </bean>
>       <bean id="lastFunction"
>               class="org.codehaus.xfire.spring.remoting.XFireExporter">
>               <property name="serviceFactory">
>                       <ref bean="wsaServiceFactory" />
>               </property>
>               <property name="xfire">
>                       <ref bean="xfire" />
>               </property>
>               <property name="serviceBean">
>                       <ref bean="lastService" />
>               </property>
>               <property name="serviceClass">
>                       <value>
>                               com.xyz.last.webservice.LastService
>                       </value>
>               </property>
>       </bean> 
> The soap request is something like this 
>  <soapenv:Envelope>
>  <soapenv:Body>
>       <web:getLast>
>          <web:in0>
>             <ser:key>xyz</ser:key>
>             <ser:searchAcross>true</ser:searchAcross>
>          </web:in0>
>       </web:getLast>
>    </soapenv:Body>
> </soapenv:Envelope>
> Can you please guide me how I can upgrade this to CXF with backwards 
> compatibilty, so that I could use the same request to hit the new service.
> Thank you for you help.
> Thanks
> TJ

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to