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:
Then, to expose your service on the JBI bus, register a JBI binding for the service:
Error formatting macro: snippet: java.lang.NullPointerException
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.