You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/06/04 06:13:20 UTC
[jira] [Commented] (CXF-5054) Xfire to CXF migration
[ https://issues.apache.org/jira/browse/CXF-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674019#comment-13674019 ]
Freeman Fang commented on CXF-5054:
-----------------------------------
Hi,
We have a migration guide here[1].
Anyway, you should post this kind of question to the mailing list[2] and discuss there, shouldn't create a jira issue for it.
[1]http://cxf.apache.org/docs/xfire-migration-guide.html
[2]http://cxf.apache.org/mailing-lists.html
Freeman
> 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