473,804 Members | 3,312 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SoapDocumentMet hod and oneway=true

Hello all,

I was wondering... If you look in the documentation and on the web to
find any info on long running webservice calls, they all come down to:

Add the SoapDocumentMet hod Attribute to your webmethod and set it's
OneWay property to true.

Nowhere I can find though what will happen in any of the following
situations:

- The ASP.NET worker process hasn't had any requests for some time and
is being shut down. Will the runtime see that a oneway call is still
being handled?
- You have x number of oneway calls being handled, will I run out of
worker threads? Will subsequent calls fail, will the workerprocess reset
itself?
- Config changes and/or webserver resets. Will the thread be stopped
nicely, or just yanked from memory.
- What happens if the thread gets really busy and takes 40 minutes (or 3
hours for that matter) of processing time, will the worker process reset
itself?

I need a few guarantees the thread will get time to finish. I also need
some guarantees the rest of the webserver will continue to work without
too many issues if I start processing long running tasks.

Any answers are greatly appreciated.

Kind Regards,

Jesse Houwing
Apr 29 '07 #1
0 2196

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1675
by: Jonathan Trevor | last post by:
Hi, I've found what appears to be a bug with ASP.NET web service method invocation - making it impossible to invoke and get the result of a synchronous web call after an asynchronous call has been made if both are using sessions. Heres an example for two calls in the web service, the first is expected to be executed asynchronously by the client and the second to get the progress of the first while it is executing:
0
1614
by: Christopher D. Wiederspan | last post by:
I have a web service and I'm using a connection string to SQL Server that specifies "Integrated Security=SSPI" to impersonate the calling user. My setup works fine until I add the attribute to the web service, and then I start getting the error: Login failed for user '(null)'. I'm guessing that this has something to do with threading and the new thread not having the context of the calling user. Can somebody enlighten me? Thanks, Chris
0
2022
by: Bruce L | last post by:
I've developed a web service with the SoapDocumentMethod(OneWay=true) attribute. The service performs a number of functions including accessing/updating SQL databases, and creating and reading a temporary Excel worksheet file. The service works fine, however, when I run the service in two consecutive calls, one right after another, it completes the second request but appears to terminate the first request before completion w/o an error...
3
1136
by: Albert Pascual | last post by:
What's the best system for a process that could take a long time, minutes, hours a) Creating a webservice that calls a Thread? b) Creatinga webservice with c) Any better way? without using an external program? Thanks Al
1
2461
by: George Jordanov Ivanov | last post by:
Folks, I have a Web service with the two possible types of methods - OneWay and Request/Response. The problem is while debugging I cannot step into the OneWay methods, while trying to do the same with Request/Response methods is working just fine! Have any ideas why this happens? I have Microsoft .NET framework 2.0 and Visual Studio 2005 as the development platform. Regards, George Jordanov Ivanov
0
1403
by: DMT012 | last post by:
I have a WebMethod with the attribute OneWay set to True. When the acknowledgement gets sent back to the calling computer the content-type HTTP header is not present, and my firewall drops the response. Is there anyway to explicitly set the content-type header or have it automatically generated? I realize that since there is no payload it makes sense not to have a content-type specified, but changing how the firewall works is not an...
2
1782
by: archana | last post by:
Hi all, I am having one confusion regarding webmethod's fire and forget behaviour. Say suppose i have method like public void StartStatsCrunch() {
0
1203
by: cataztrophe | last post by:
I have an ASP.NET/VB.NET program. There is a webservice does processing in a separate project which does not return any values. The webservice is executed upon clicking the run button on a certain page, however I would like the webservice to be executed in the background while the next line of code is processed on the client in concurently. I had seen the solution for a similar post that utilized the: <WebMethod(),...
4
3805
by: Miha V | last post by:
Hi! We are using ASMX web service with WSE (we're using WS-Addressing) and IIS returns HTTP status code 200 even if XML is malformed (it can contain illegal characters in it). The request does not get through the stack to the application, but if I debug the application, I can see that exception is thrown somewhere "down there".
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.