Accessing Web Services
Web services can be accessed by clients that are built in a variety of programming languages. On the Java 2 Platform, Enterprise Edition (J2EE platform), you create Web-service clients with the JAX-RPC [Java API for XML-based remote procedure calls] client programming model - a key capability in Sun Java Studio Enterprise 8 (henceforth, Java Studio Enterprise).
This article shows you how to build Web-service clients in Java Studio Enterprise with an example - a client that calls a simple, publicly available Web service, Currency Exchange Rate, on xmethods.net. Currency Exchange Rate returns the conversion rate between two currencies after you enter the names of the two countries in question.