HighTechTalks DotNet Forums  

OnLine/OffLine transactions using SoapExtension

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss OnLine/OffLine transactions using SoapExtension in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Esteban Yanson
 
Posts: n/a

Default OnLine/OffLine transactions using SoapExtension - 04-26-2007 , 12:58 PM






I need know if exist any way to abort a request in a web service call, from a
SoapExtension but with out generate a exception.
The method "SoapClientMessage.Client.Abort" generate a exception !!

Sample:
- The client application call the method "XXX" from web service.
- Invoke the proxy class.
- Invoke ProcessMessage method in the derived class of SoapExtension.
- In ProcessMessage method, I verify the coneccion with server. If I'm
OnLine, the process continue normaly, else if I´m OffLine, I need save xml in
local database and abort the server call and response OK to client
application.

The problem is what the unique way to abort the request with server is using
"SoapClientMessage.Client.Abort" but this generate an exception specified in
MSDN.

Who can help me?
thanks.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.