350 WebSphere and .NET Coexistence
The proxy then makes the Web Service call to the service in the Microsoft .NET
environment. The specifics of how the service is implemented is not known by
the proxy. The proxy class simply knows where the Web Service is located and
how to call it. The Web Service returns the result of the add() operation, which is
returned back up through the adapter into the CalculatorConsumer class. The
CalculatorConsumer uses the result, dividing it by the number of arguments
received, and outputs the average of the numbers.
The following sections describe how to implement this solution, first looking at
invoking the RPC style add(float, float) Web Service, and secondly invoking
the add(float[ ]) Web Service using Doc ...