• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 695
  • Last Modified:

asp.net web service....client server - pass info back and forth

How does a asp.net web service do fro substitulting for windows services in the sense that on a client server situation that the client can listen to the server and execute commands....would this work??
0
GlobaLevel
Asked:
GlobaLevel
  • 2
  • 2
2 Solutions
 
thepanchCommented:
pls be more specific, a web service is just a "function" available on the "web", so in this way is a server object, so you can only interact with the web service and it only returns strings in a XML format.
0
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
Hi,

Let us understand how web service works. You have deployed web service on Server. This web service do simple task of converting your string values in upper case or lower case based on your parameters as you need..

Your web application call the web service's method to convert your string value into lower case. So when you call that method that is executed on server side in Web service. Then output is send back to your application.

In essence the client call web service and web service executes those commands.

Hope it helps you to understand.

Regards,
VSS

0
 
GlobaLevelProgrammerAuthor Commented:
I'm seeing web services as client driven. But I'm trying to create something that is server driven to push to clients then wait for a response. Windowservices seems better
0
 
thepanchCommented:
windows services and web services are 2 different things, windows services are only to run in localhost, while webservices are designed to be runing on server, but to be visible to the "web" or a pc that has visibility to server, in other words webservices are a "function" in the server. you can send and receive data.
0
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
Hi,

I too agree with thepanch comments. I think he had made more clear about the doubts you were having.

Regards,
VSS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now