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

Home Posts Topics Members FAQ

Web service invoking for a server / client app

I want to design a server which performs some business related user
authentiation, and would like to let the clients invoke it through
webservice, so my first thinking is using IIS as the web server to host
webservice, but then how does it interact with my server. Another invoking
from IIS to my server ? no way, it should be damn slow. The problem is I
want my server to control many authentiation information, so I don't want
them to be sparsed put into "every" webservice functions the client will
invoke, instead a centralized server to do the logic. Can anyone give me
some solutions for this scenario ?

Dec 25 '05 #1
2 2321
Jack,

Well, you seem to have a problem. You don't want to place code in your
web service methods themselves, because you want a centralized server to
handle it. At the same time, you don't want to make a call from the web
service to your centralized server.

You have to make a decision to use one or the other.

What you could do is have your service expose methods/objects through
remoting, and then use a cross-process channel on the same machine to access
the service. It should be pretty fast in that case.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Jack" <jack@no_spam.c om> wrote in message
news:u3******** ******@TK2MSFTN GP15.phx.gbl...
I want to design a server which performs some business related user
authentiatio n, and would like to let the clients invoke it through
webservice, so my first thinking is using IIS as the web server to host
webservice, but then how does it interact with my server. Another invoking
from IIS to my server ? no way, it should be damn slow. The problem is I
want my server to control many authentiation information, so I don't want
them to be sparsed put into "every" webservice functions the client will
invoke, instead a centralized server to do the logic. Can anyone give me
some solutions for this scenario ?

Dec 26 '05 #2
Thanks Nicholas,

Is it complicated my server implements webservice itself without IIS. I
think the dotnet framework is built in such stuff. I've to implement about
40 web service methods in total.

I've 2 choices now.

1. Implement WS in IIS and using remoting to access my SAO.
2. Client is in IIS, and call my server implemented webservice.

Jack

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:Oi******** ******@TK2MSFTN GP11.phx.gbl...
Jack,

Well, you seem to have a problem. You don't want to place code in your
web service methods themselves, because you want a centralized server to
handle it. At the same time, you don't want to make a call from the web
service to your centralized server.

You have to make a decision to use one or the other.

What you could do is have your service expose methods/objects through
remoting, and then use a cross-process channel on the same machine to
access the service. It should be pretty fast in that case.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Jack" <jack@no_spam.c om> wrote in message
news:u3******** ******@TK2MSFTN GP15.phx.gbl...
I want to design a server which performs some business related user
authentiation , and would like to let the clients invoke it through
webservice, so my first thinking is using IIS as the web server to host
webservice, but then how does it interact with my server. Another invoking
from IIS to my server ? no way, it should be damn slow. The problem is I
want my server to control many authentiation information, so I don't want
them to be sparsed put into "every" webservice functions the client will
invoke, instead a centralized server to do the logic. Can anyone give me
some solutions for this scenario ?


Dec 26 '05 #3

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

Similar topics

0
1574
by: DT | last post by:
I'm writing a .NET 1.1 client that invokes a method of a Web Service running on another organization's IIS 5 server. I need help understanding a fine point about HTTP, specifically in relation to the use of the Expect: 100-Continue header, in order to determine whether the problem is with my client or their server. Here's the situation: After invoking the web service successfully one time, all subsequent requests then fail. Using...
7
7118
by: David Laub | last post by:
I've also posted this issue to a Sun/java formum, but since it appears to be an integration issue, this may be the better place to posr: I have written a dot net/c# Web Services doesn't fully work with J2ME client a) c# web service works with c# WIndows Client (local & remote web service) b) c# web service works with J2ME client - when the Web Service is local c) c# web service fails with J2ME client - when the Web Service is remote ...
5
3261
by: Paul Hasell | last post by:
Hi, I'm trying to invoke a web method asynchronously but just can't seem to get it to tell me when it has finished! Below is the code I am (currently) using: private void btnUpload_Click(object sender, System.EventArgs e) { try { SOPWebService.Client uploader = new
0
1867
by: Dave A | last post by:
When I register a remoting service programmatically things work great but when I register the service using a config file I get the error "Requested Service not found" when invoking a server activated object and "Type 'RemotingTest.ClientActivated, RemotableObjects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not registered for activation" when attempting to call the client activated object. Can someone point out the...
0
1235
by: kostadin | last post by:
I want to expose the whole functionality of a library through a web service. In order to do that of course I've created web methods for all public methods in this library. Because only public data and no logic or private fields is transferred through web services, I need to know what is the correct pattern for invoking the methods of the proper objects. By now I've found two possible patterns: 1) Objects are created on the server and then...
0
8281
by: =?Utf-8?B?QWRyaWFuIENvbGU=?= | last post by:
I have written a simple WCF service hosted in a Windows console application and a simple WCF client console application that connects successfully to that service and retrieves data. I then ported the console application to WinForms and also got that to work properly. My next move was to host the WCF service in a Windows service application. I believe I have that working correctly, but I can't for the life of me get a client to connect...
0
1490
by: hepsubah | last post by:
I'm trying to capture a client cert in my ASP.NET application, and use that cert as the client cert for a call to secure web service. I've used the following code, but am getting a 403 error on the invocation of the service. All the service is supposed to do is return the subject of the passed cert (I'll do more with it later) ...
0
1581
by: iprogrammer | last post by:
i have a problem when i try to run my windows service ..which is "Error 1053: The service did not respond to the start or control request in a timely fashion" >after this i cannot anything with the service and have to restart the computer inorder for the service to be deleted. >1) my service program is basically a client tht is listening on a port to a request from a server and establishing a new connection. 2) reading and extracting...
2
5571
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the serialization settings for the build handled the initial slows we encountered when invoking the web service. Since that time, we ported the original VB.net code over to C# - this was done to make it cleaner easier to include the project in the rest of...
0
9705
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
10568
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...
1
10311
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
9138
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...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5516
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2988
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.