xml file. Execute ant as shown as follows:
cd ch10\ServiceMixHttpBinding\03_AxisClient
ant
This will generate the required Axis client-side stubs and compile the client classes.
Now to run the client, execute the following command:
ant run
Summary
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.
Pages:
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281