AJ,
The "client" that MyEclipse can generate you is an API that has the necessary calls to the remote service -- handling the marshalling of data when necessary.
Our tutorial develops a simple Java class like you said, but you could just as easily ship that generated code along side a servlet and have the servlet use the generated client API to communicate with the service.
You can literally use that code anyhere. As an example, take the example we have, write a servlet, and just copy-paste the code into the servlet doPost method (make sure the JARs and classes get packaged with it) and deploy it to websphere, you should see it work just like the standalone class. |