Web Services and interfaces

Discussion in 'ASP .Net Web Services' started by msnews.microsoft.com, Jul 14, 2003.

  1. Hi!
    I wrote a simple web service that has four web methods in it. This web
    service is designed to run on four different machines. There is a central
    asp.net application which consumes the web services running on four
    different machines. I want to run these web service methods by using
    interfaces only.
    I wrote an interface, and implemented the methods of interface in my web
    service class, but when I cast the web service to the interface I receive an
    invalid cast exception. Isn't it possible to use web services with
    interfaces?

    Any advices?

    Thanks...
     
    msnews.microsoft.com, Jul 14, 2003
    #1
    1. Advertisements

  2. msnews.microsoft.com

    Jackie_ol Guest

    Jackie_ol, Jul 14, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.