Hosting a Web service on local machine

I have a client having 50 stores and one Head Quarter and all are connected through static IP.
All the stores have different databases and Head Quarter contails all data of all stores.If a customer comes in a store and the store issues a voucher to the customer, that voucher should be cashed at any store.I want to develop a web service which will be called at store and will connect to Head quarter to check balance of the voucher.
All stores and Head quarter are connected through internet.
Can I host the web service at Head Quarter ?
Or I will have to host the web service at ISP ?
RETAILREALMAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GavinMannionCommented:
You can easily host the web service at the Head Quarters.

As long as you have an internet connection, static IP and IIS you can host.

0
SystemExpertCommented:
Hi,
This is the case what you want solve plz see it may work for you

http://www.dotnet247.com/247reference/msgs/32/164167.aspx

Thanks
0
MsShadowCommented:
I suggest you use remoting instead of webservices. It is a lot more performant.
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

GavinMannionCommented:
Even though the comparison between remoting and web services has nothing to do with this question I will add in my 5 pennies ;)

Generally remoting is a lot faster but more difficult to create and maintain.
Web services are slower but easier to connect to and quicker to build.

Web services also have the fantastic ability that they run through basic http chanels. I have had problems before where the port I wanted to run my remoting through was blocked by some router along the network.

So choosing between remoting and web services is very dependant on exactly what you require. Also web services are platform independant so if you need to connect to your C# code from a websphere application then web services are generally the way to go.

It all depends :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RETAILREALMAuthor Commented:
Hi All
The client will have a Internet Access , static IP and IIS installed at the Head Quarter. So how will all the stores access the web service ? Is there any need for DNS configuration ? How to set security for web service so that other will not be able to use it ?

Best Regards
Pankaj
0
GavinMannionCommented:
They will access it just using the Web service. You will need to write an application to consume it though especially if you want security.

You can secure it using Verisign certificates and https (SSL) easily enough.

Also check the WSC3 standards for securing web services.

No DNS is required.
0
GavinMannionCommented:
Solution provided
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

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.