I'm using Netbeans 6.5 to generate the JAX-WS Metro service and Glassfish 2.1 as the application server.
Assume I have two web services e.g.
...
@WebMethod(operationName = "doXXX")
public String doXXX(
@WebParam(name = "id") String id
...
...
@WebMethod(operationName = "doYYY")
public String doYYY(
@WebParam(name = "result") String result
...
and I have a Web Service client (a Java application) that happily calls both.
I now want method XXX to call method YYY i.e. I need to place the client proxy for YYY inside of web service XXX.
How do I do this?