Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope of web service in a class library
Message
De
21/04/2008 09:23:22
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
19/04/2008 20:35:45
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
01310550
Message ID:
01312051
Vues:
17
>>I have a reference to a web service in my class library. When I use my class library in another application, I can browse the classes and see the references to my web service. Is there a way to change the reference to my web service to be protected instead of public? Thanks!
>
>I doubt if you can realistically do this ... since the web references are all generated through VS and any change you *did* make would have to be duplicated everytime you updated your web reference.
>
>I'm curious why you want to?
>
>~~Bonnie

I have a web service set up to send email. We have to set up each client individually on our web server to allow for programmatic emails. We set up this web server and all automated emails will go through the web service. I am creating a utility class to interface with the web service, but I don't want the client to interface with the web service directly.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform