w3.org/2004/08/
wsdl/in-out"
wsdlResource="http://localhost:8080/
AxisEndToEnd/services/
HelloWebService?WSDL" />
Chapter 10
[ 189 ]
Web Service Binding Sample
We will now look at a complete sample of how to bind a web service to the
ServiceMix. While doing so, we will also see how to use the Apache Axis client-side
tools to generate stubs based on the binding at ServiceMix. Normally we point to
the actual WSDL URL to generate client stubs, but in this example we will point the
tools to the ServiceMix binding. Then the ServiceMix binding will act completely as
the web service gateway visible to the external clients, thus shielding the actual web
service in the background.
Sample Use Case
By using a web services gateway, you can use the intermediation to build and deploy
the web services routing application. But keep in mind that the routing is just one of
the various technical functionalities that you can implement at the gateway. For our
sample use case, we have an external web service, deployed and hosted in a node
remote to the ESB.
Pages:
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270