Hosting a Web service on local machine

Posted on 2006-04-18
Last Modified: 2010-05-18
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 ?
    LVL 15

    Expert Comment

    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.

    LVL 10

    Expert Comment

    This is the case what you want solve plz see it may work for you

    LVL 19

    Expert Comment

    I suggest you use remoting instead of webservices. It is a lot more performant.
    LVL 15

    Accepted Solution

    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 :)

    Author Comment

    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
    LVL 15

    Expert Comment

    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.
    LVL 15

    Expert Comment

    Solution provided

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now