[JAX-WS] Simple Dispatch Client Example

Here is an example of a Dispatch type Java SE WebService client.
1. A sample Web Service (Running as a Dynamic Web Application in Glassfish):


2. Here is the client (A simple Java SE application). Make sure to start the previous application first:

This will generate a SOAP request like:

And the response will be


Leave a Reply

Your email address will not be published. Required fields are marked *