wood burning stoves*
The moose likes Web Services and the fly likes Soap thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Soap thread" Watch "Soap thread" New topic
Author

Soap thread

rakkesh kumar
Ranch Hand

Joined: Oct 06, 2004
Posts: 37
how to kill a soap thread
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
There is nothing unique about Threads used in SOAP servers or clients so you are going to have to explain what you are talking about.
Bill
rakkesh kumar
Ranch Hand

Joined: Oct 06, 2004
Posts: 37
number of soap clients are accessing the soap server or resource simulateneously then how it will be managed.
rakkesh kumar
Ranch Hand

Joined: Oct 06, 2004
Posts: 37
In my problem

the soap call is initiated from the servlet.

after the call is made then the client not want to wait for the
database time out period.
how to termiate
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
So this is not really a SOAP problem. Your SOAP client is just like any other database query where the query may take a long time or never complete.
The usual solution is to create a separate Runnable object with its own Thread to do the query while you respond to the servlet request with some appropriate "Working" message. A reference to the separate object can be held in the session - you must provide for releasing all the resources when the SOAP request terminates.
Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Soap thread
 
Similar Threads
WA #1.....word association
Getting HTTP Headers from SOAP Response
WebService!!
SOAPMessage SOAPConnection : how to do gzip in java
C++ to Java communication for Game Server