Warning
This component has been deprecated in favor to servicemix-http and servicemix-jsr181 component,
which also use the XFire soap stack.
Introduction
ServiceMix provides support for the XFire SOAP stack, allowing clean integration between XFire and ServiceMix. XFire is an easy-to-use SOAP framework that offers high performance.
Before reviewing the partial example below, it is strongly recommended that you read the Spring XFire instructions.
Steps to Integrate with XFire
The first step is to create a service bean, for example:
package org.servicemix.components.xfire; public class Echo { public String echo(String msg) { return msg; } }
Next, define this service bean in your bean definitions:
<!-- The Service Bean --> <bean id="echo" class="org.servicemix.components.xfire.Echo" singleton="true"/> <bean name="Echo" class="org.codehaus.xfire.spring.ServiceBean"> <property name="service" ref="echo"/> <property name="serviceFactory" ref="xfire.serviceFactory"/> <property name="xfire" ref="xfire"/> </bean>
Then, to expose your service on the JBI bus, register a JBI binding for the service:
Location of the ServiceMix XFire Components
- The source code for the ServiceMix 3.x XFire components can be found at:
[servicemix_src_install_dir]\servicemix-components\src\main\java\org\apache\servicemix\components\xfire
where[servicemix_src_install_dir]
is the directory in which ServiceMix is installed. - The source code for the ServiceMix 2.0.x XFire components can be found at:
[servicemix_src_install_dir]\components\base\src\main\java\org\servicemix\components\xfire
where[servicemix_src_install_dir]
is the directory in which ServiceMix is installed.
Additional Resources
For details on XFire, please refer to XFire SOAP stack.
4 Comments
Anonymous
ionolsen42 Hello Jane, great site! http://www_3_1.gmail.com/ www_3_1
http://www_3_2.gmail.com/ www_3_2
http://www_3_3.gmail.com/ www_3_3
http://www_3_4.gmail.com/ www_3_4
http://www_3_5.gmail.com/ www_3_5
http://www_3_6.gmail.com/ www_3_6
http://www_3_7.gmail.com/ www_3_7
http://www_3_8.gmail.com/ www_3_8
http://www_3_9.gmail.com/ www_3_9
http://www_3_10.gmail.com/ www_3_10
http://www_3_11.gmail.com/ www_3_11
Anonymous
ionolsen42 Very good site. Thanks for author! http://www_3_1.gmail.com/ www_3_1
http://www_3_2.gmail.com/ www_3_2
http://www_3_3.gmail.com/ www_3_3
http://www_3_4.gmail.com/ www_3_4
http://www_3_5.gmail.com/ www_3_5
http://www_3_6.gmail.com/ www_3_6
http://www_3_7.gmail.com/ www_3_7
http://www_3_8.gmail.com/ www_3_8
http://www_3_9.gmail.com/ www_3_9
http://www_3_10.gmail.com/ www_3_10
http://www_3_11.gmail.com/ www_3_11
Anonymous
ionolsen43 Best site I see. Thanks. http://wiki.cubic.uni-koeln.de/cdkwiki/media/automobileinsurance.html tesco car insurance
http://wiki.cubic.uni-koeln.de/cdkwiki/media/carinsurancerate.html car insurance rate
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:healthinsurance.html ny health insurance
http://wiki.cubic.uni-koeln.de/cdkwiki/media/wholelifeinsurance.html whole life policies
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:lifeinsurancequote.html medical insurance
http://wiki.cubic.uni-koeln.de/cdkwiki/media/lifeinsurancequote.html life insurance cost
Anonymous
ionolsen43 I like your site http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:carinsuranceonlinequote.html uk insurance
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:healthinsurance.html blue cross health
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:carinsurancerate.html car insurance laws
http://wiki.cubic.uni-koeln.de/cdkwiki/media/termlifeinsurance.html insurance life term
http://wiki.cubic.uni-koeln.de/cdkwiki/media/lifeinsurance.html life insurance
http://wiki.cubic.uni-koeln.de/cdkwiki/media/lifeinsurancequote.html medical insurance