...
It is important to note that you need to include the classpath element in your xbean.xml if you are deploying the Cxf Provider in a service unit so that the wsdl can correctly find the classpath element. Also you need to ensure that the service name and endpoint match the service and port elements of the WSDL that you wish to use to correctly return WSDL for the endpoint, remembering that the service name will use the targetNamespace for the WSDL.
Note |
---|
We leverage all ws-* features from apache cxf by means of putting configuration into busCfg which is used for cxf bus initialization |
Lightweight mode
The servicemix-cxf-bc component can also be configured in a spring/xbean configuration file, for use in an embedded ServiceMix.
Here is an example of such a configuration:
...
- service name: {urn:example:stockquote}StockQuoteService
- endpoint name: JBIEndpoint
You can find a WS-Addressing test case here