Home > General > How to make asynchronous call to SOAP Web Service using JAX-WS

How to make asynchronous call to SOAP Web Service using JAX-WS


briskwalk

Before I show an example of how to invoke asynchronous web service using JAX-WS let’s take a brief know how about synchronous and asynchronous calls.

Synchronous Web service call : A program calling the web service sends a request to the web service and waits till the web service returns the response, before executing the next statement.

Asynchronous Web service call : A program calling the web service sends a request to the web service and proceeds with the execution of remaining statements even before the web service has returned any response.  (This may be because a web service might take time to compute and generate the response, and the client doesn’t want to wait till it receives the response)

I was trying a scenario where I send a web service request and was not interested in the response. The web service would usually take a longer time to process…

View original post 198 more words

Advertisements
Categories: General
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: