cd ch10\ServiceMixHttpBinding
%SERVICEMIX_HOME%\bin\servicemix servicemix.xml
We can now test our ServiceMix deployment by using the following test client:
ch10\ServiceMixHttpBinding\Client.html
Access WSDL and Generate Axis Stubs to
Access the Web Service Remotely
Now for the really cool stuff. As we discussed earlier, we have set up the ServiceMix
as a separate web service gateway in front of the actual web service deployment.
Now we have to check whether we can access the WSDL from the ServiceMix. For
this, we can point our browser using the standard WSDL query string, like:
http://localhost:8081/services/HelloWebService/?wsdl
or
http://localhost:8081/services/HelloWebService/main.wsdl
Note that, the above URL points to the locationURI attribute configured for
the consumer component, which is http://localhost:8081/services/
HelloWebService. The WSDL placed in location ch10\ServiceMixHttpBinding\
HelloWebService-esb.wsdl, matches the following code:
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.
Pages:
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276