Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scope of web service in a class library
Message
From
21/04/2008 09:23:22
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
19/04/2008 20:35:45
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
01310550
Message ID:
01312051
Views:
15
>>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform