Home > General > Automatic requests being fired while executing a JAX-WS web service asynhronous call

Automatic requests being fired while executing a JAX-WS web service asynhronous call


briskwalk

Further to my earlier post about how to send asynchronous requests using jax-ws. There might be an issue with long running server side operations when an asynchronous call is invoked. The issue could be that the asynchronous request the user has sent can automatically get triggered again after some point in time, causing undesirable effects on the server side.

Going deep and trying to understand the problem, I observed that the same client was sending a new request which was a replica of the original request. This was causing the server side operations to run again, and was giving undesired results.  On searching the web I came across this bug from Sun website.

SOAP request’s in the raw form are sent as HTTP post requests. In Java (JDK) implementation of POST, when a POST request is sent using sun.net.www.http.HTTPClient, the client waits for a fixed amount of time to receive…

View original post 162 more words

Advertisements
Categories: General
  1. Petar Banicevic
    January 21, 2015 at 8:59 PM

    Hi Karun, can you please share your article on WebLogic STS that you used to have on: http://www.dailyraga.com/tag/sts/ please ?? dailyraga is down. We depend on it .. big please ! (and if you could fix one line of article where you refer to saml 1.1 settings instead of saml 2.0)

    Like

  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: