Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making Web References Private in a Compiled Assembly

Status
Not open for further replies.

cpope

Programmer
Jul 7, 2000
58
US
I would like to provide another department compiled assemblies that gather information from existing Web Services and provide them with a limited subset of the data retrieved. The issue I am experiencing, is that the web service reference is available as a public member of the assembly (which defeats the purpose of sending only a subset of the data if they can access the entire webservice directly). I tried changing the class modifiers in the Reference.cs to internal, and the consuming application errors out with the web reference being inaccessible due to it's protection level. Does anyone know if there is an easy way to have the web reference available to the assembly only, and not the consumer of the assembly ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top