
418 • XML & Related Technologies
<S:Body>
<ns2:getRate xmlns:ns2="http://server.chapter9.xmlbook/">
Here, the client is specifying the URL where the request needs to go, and is also mentioning the method
(getRate) that needs to be invoked at that URL for making use of the Web Service.
<sourceCurrency>USD</sourceCurrency>
This line specifies the first parameter that the client is passing to the Web Service method.
<targetCurrency>INR</targetCurrency>
This line specifies the second parameter that the client is passing to the Web Service method.
After this, all the opened tags simply end:
</ns2:getRate>
</S:Body>
</S:Envelope>
When our Web Service ...