WCF / ASMX :: Web Service Process In Parallel Support?
Mar 14, 2011
I am seeking your expertise in ASP.Net with regards to multi-thread support of WebService in a scenario , that is If a WebService-Client is making simultaneous calls from the same process, the requests will be serialized at the WebServices so that only one-call will execute at any one time , on the contrary, if those calls are sent from different WebService-Clients ( Instances/Processes) , they are processed in-parallel by WebServices.
Have you ever experienced the same with ASP.Net, and what configurations/Settings should be followed, in order for a WebServices to concurrently process simultaneous calls form a single WebClient , when deploying a large number of Web-Clients' instances/processes is impractical in a project-context.
View 1 Replies
Similar Messages:
Mar 17, 2011
I've got a WCF web service that runs fine at the moment but there is talk about using it very heavily soon. As part of it's normal process it writes a file out, then reads it back in again (don't ask why, I know it's stupid). I'm concerned that if we start hitting it with lots of requests then the following might happen.
1. Request 1 writes the file out.
2. Request 2 comes in and overwrites the file.
3. Request 1 reads the file back in but this is now the wrong file.
My understanding is that the requests would naturally queue up so that request 2 wouldn't start until request 1 had finished, but I'm not totally sure.
View 1 Replies
Aug 5, 2010
I have several ASP.NET 1.1 web services that make use of several common DLLs. Rather than having each web service contain its own copy of these DLLs, I would like to have these DLLs centrally located so that I don't have to remember to update each web service with new copies of the DLLs if they happen to change. For example, if web services WSA and WSB each use XYZ.DLL does XYZ.DLL need to be in both WSA and WSB or can WSA and WSB be told that XYZ.DLL is is some other folder like C:Common? Is this at all possible or do I have to have a copy of the DLLs in each web service folder?
View 1 Replies
Apr 21, 2010
Is there any way we can process payment through web service. For example I have a two websites, from first web site can I use second websites web service to process order.
View 1 Replies
Apr 20, 2010
Currently we are developing an ASMX, ASP 2.0, IIS 7 web service that does some calculations (and return a dynamically generated document) and will take approx. 60 seconds to run.Since whe have a big machine with multiple cores and lots of RAM, I expected that IIS tries its best to route the requests that arrive in its requests queue to all available threads of the app pool's thread pool.But we experience quiet the opposite:When we issue requests to the ASMX web service URL from multiple different clients, the IIS seems to serially process these requests. I.e. request 1 arrives, is being processed, then request 2 is being processed, then request 3, etc
View 2 Replies
Feb 11, 2011
Does WCF support multiple EndPoint.
View 4 Replies
Dec 25, 2010
why does web services do not support datareader? plz explain it ,it's urgent .
View 3 Replies
May 5, 2010
if i have the web application with many pages like add order page, edit order page, and delete order page actually they also interact with the Sql Server 2008 and i also create web service page call Sales_Service.asmx. i know just i need to put something like query into Web Method in Sales_Service.asmx but i have a lot of queries, i don't know which query i should put into it and how the web page call the Sales_Services.asmx
View 2 Replies
Nov 8, 2010
A customer reported that our asmx web service is continually increasing in memory (mem usage as well as private bytes). We are able to reproduce the problem in our lab with Windows 2003 Server SP2 (fully patched) on some of the machines. The customer is using Windows 2008.
We created a Hello World web service targeting the 2.0 framework built under VS2005 SP1 and a test client that continues to call it. The memory increases steadily - approximately 40K per client request. If the test app is paused, the memory remains the same. When it is closed, the memory drops. Explicit calling of GC.Collect does not drop the memory.
We have run the memory profiler on the service and the leak is all native memory. We have uninstalled/re-installed the Framework on one of the machines but no difference. To our knowledge all of the security and IIS settings are not modified. We have compared app pool, default web site and virtual directory properties to machines that have no problem and they are identical.
View 11 Replies
Mar 28, 2011
I have to create a WCF service which can support 10,000 users simultaneous hits.
The job of the WCF service is to fetch a cached up XML object (we are using Enterprise Lib caching) and return it to the caller.
This WCF service will have to be publicly exposed. So I was thinking that we may have to use basicHttpBinding... I don't know, I may be wrong.
View 2 Replies
Aug 8, 2010
I am trying to connect forex trade server from my asp.net application. I am using MT4 Api for connecting. Its installed successfully and added to .net code library. But when i trying to create object of MetaTrader Class i got exception
The current configuration system does not support user-scoped settings.
There is no compile time error in code. I am getting run time exception.
There are the urls where i got some hope for solution but could not able to implement.
[URL]
View 3 Replies
May 12, 2010
Server does not support secure connections. at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) atSystem.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) at MailWebService.SendMail(String fromAddress, String toAddress, String subject, String body)I am using a web service to send my mail and I get this error when smtp.EnableSsl = true;If I change it to false it works
View 2 Replies
Mar 17, 2011
I have a .net app developed in .net 4.0 version. And I implemented an asmx web service in this. Now I want to call one of the webservice method in another classis ASP application java script function.
View 2 Replies
Mar 28, 2011
Is it possible to run a web service as a particular user/service account in the same way a Windows service can?I have a service account used for connecting to the DB and want to run the webservice under this account as the users using the webservice won't have DB access.The way I see to do it is to include the Impersonate option in the Web.config file, but is there any better way to do this?
View 1 Replies
Mar 17, 2011
How to create an instance of web service without adding web service reference? How to identify the server address/name where the web service is hosted from C# code?
View 1 Replies
May 25, 2010
My WCF Client calls my WCF Service which then calls ASMX Web Service. The problem is i have configured my wcf client and wcf service to windows credentials type but when wcf service calls asmx service the user credentials (default windowsidentity) is not passed to asmx service.
In WCF Service i am able to get user identity by using : Thread.CurrentPrincipal.Identity.Name;
WCF Service - i have disabled anonymous access and enabled windows authentication. ASMX Web Service - i have disabled anonymous access and enabled windows authentication.
WCF Service Config
[Code]....
View 1 Replies
Aug 4, 2010
i have created a normal web service and i want to host it outside IIS. one idea i got is to use window service as hosting environment. i have created a web service and hosted it window service and its window service is running now.would anybody please let me know that how can i call web service hosted in window service binded over soap.tcp. here is my sample code.
[Code]....
[Code]....
View 1 Replies
May 26, 2010
I want to develop a web service that handle another web service's event. (C#.Net 3.5 framework)
View 1 Replies
Nov 11, 2010
In IIS 7.5 i configured my asp.net website for "http,net.pipe" in "Enable protocols".
Note:
net.pipe configuration is done to call another module within the website (SOA). Every thing worked fine with simple asp.net & net.pipe service invocation calling other module. But When i try to call RIA service from silverlight 4 i get the following error
The provided URI scheme 'net.pipe' is invalid; expected 'http'.
Parameter name: context.ListenUriBaseAddress
How can i configure my website to work in http & net.pipe configuration ?
View 1 Replies
Aug 30, 2010
How to create simple web service in VS2010 Professional (trial version). There is no template to do this. I am not trying to create WCF service here.
View 2 Replies
Sep 20, 2010
I have running existing web service in framework 2.0, but i want to convert all my service to framework 3.5 WCF Service..
View 1 Replies
Feb 7, 2011
How do I add the WCF service built using VS2010 as a service reference to a Winforms app which is written in VB6?
View 1 Replies
Feb 2, 2011
I am keep getting an error that "Service Error : wbsTest failed" where wbsTest is my webservice.
The error comes up frequently enough for the user - normally reproducible within a minute or so of working with an application.
A bit of background: An user is a remote user accessing application hosted on our servers over https. He is software firewalled and his connection isn't the fastest but it is responsive enough. When errors do not present themselves, page loads are fairly quick.
View 8 Replies
Jan 8, 2011
I wrote a windows service of batch processor to request statistic information from a web service whose url is end with *.ashx. The windows service and web service are on the same PC. When the batch tasks started, CPU usage came from 1% to 99%, w3wp.exe took 70%, and sqlserver.exe took 29%. About five minutes later the batch process tasks completed, but CPU usage still kept the level 60%, w3wp.exe took 40%, and sqlserver.exe took 20%, and it's never down. Request codes in batch processor are:
[Code]....
How can I bring down the CPU usage? PS. OS version WIndows 2003 sp2; SQL 2008 sp2; iis 6; Four Cores AMD CPU; 4G Memory
View 1 Replies
Jan 27, 2011
I am trying to call a webservice and i am receiving the following error
Server was unable to process request -- > object reference not set to an instance of object .
Steps done for calling the webservice
1) created a wrapper class using wsdl.exe tool
syntax :- wsdl.exe /l:vb <url.asmx?wsdl>
<url.asmx?wsdl> is the url of the webservice to be called.
2) Imports <webservicenamespace>
[Code]....
3) while checking the trace Its occuring while invoking the webservice function
object[] results = this.Invoke(<webservicefunction(parameters)>)
View 4 Replies