We started this chapter by introducing the servicemix-http
JBI component. Then we looked at the samples of binding web services to ESB using the servicemix-http
binding component. By doing so, we have, in fact, implemented a complete functional web services gateway at the ESB.
A lot of times, we utilize this pattern to expose useful web services hosted deep inside your corporate networks protected by multiple levels of firewall. When we do so, the web services gateway is the access point for any external client. It should mock the actual web service not only in providing the functionality but also in exposing the web services contract (WSDL). Now, do you want to improve the QOS attributes of your web service?
The next chapter will take you through a similar exercise by demonstrating how to access your HTTP-based web services through an MOM channel like JMS.