Binding external web services at the ESB layer can be done in multiple ways but the best way is to leverage JBI components such as the servicemix-http
component within ServiceMix. We will look in detail at how to bind the web services onto the JBI bus.
servicemix-http
is used for HTTP or SOAP binding of services and components into the ServiceMix NMR. For this ServiceMix uses an embedded HTTP server based on the Jetty.
In Chapter 3, you have already seen the following two ServiceMix components:
org.apache.servicemix.components.http.HttpInvoker
org.apache.servicemix.components.http.HttpConnector
As of today, these components are deprecated and the functionality is replaced by the servicemix-http
standard JBI component. A few of the features of the servicemix-http
are as follows:
Supports SOAP 1.1 and 1.2
Supports MIME with attachments
Supports SSL
Supports WS-Addressing and WS-Security
Supports WSDL-based and XBean-based deployments
Support...