Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Cancelling soap requests



Permlink Replies: 1 - Last Post: Jul 23, 2017 7:23 AM Last Post By: Peter Below
Pier Nardin

Posts: 97
Registered: 12/23/06
Cancelling soap requests
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 23, 2017 1:28 AM
I am using a ThttpRio component to connect to a soap server. Is it possible to cancel all requests made to the server that have not returned results yet?

Pier

Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Cancelling soap requests
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 23, 2017 7:23 AM   in response to: Pier Nardin in response to: Pier Nardin
Pier Nardin wrote:

I am using a ThttpRio component to connect to a soap server. Is it
possible to cancel all requests made to the server that have not
returned results yet?

Pier


Depends completely on the way the server has been set up, as far as I
know. If the call you use is synchronous (does not return until the
results are complete) you can do little to abort it.

A server supporting "jobs" that may take longer to complete may use an
asynchronous processing model: you submit the job and get a job Id
back. You can then use that with another function offered by the server
to check on the status of the job, and when you find it has completed,
use yet another function with the job ID to get the results of the job
back. In such a design you usually also have a function available to
abort a running job.

--
Peter Below
TeamB
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02