As we have two versions of the web services hosted to test the version
functionality, we also have another HTTP provider pointing to the other
web service versions as shown in the following code:
endpoint="HelloWebService"
role="provider"
locationURI="http://localhost:8080/
AxisEndToEnd20070101/services/
HelloWebService20070101"
soap="true"
soapAction=""
wsdlResource="http://localhost:8080/
AxisEndToEnd20070101/services/
HelloWebService20070101?WSDL" />
Remote web service: This section needs some detailed explanation, as
we need to look into mechanisms on hooking the version control into our
development engineering process itself.
We have seen that there are options to set the targetNamespace attribute on the
WSDL. It is better to hook this to the tool infrastructure associated with web service
generation and most tools including the Apache Axis provides mechanisms to do
this. Let us look into that now.
???
???
Chapter 14
[ 283 ]
Axis provides the Java org.apache.axis.wsdl.Java2WSDL class to help us in
generating WSDL from the Java interfaces used for creating the web service.
Pages:
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392