Re: encapsulating webservice proxy to hide complexity
- From: roberto <roberto.marchickos@xxxxxxxxx>
- Date: 16 May 2007 23:55:28 -0700
The question is not about server-side methods - they are optimised for
web access. The problem is that a client proxy DLL is to be used in
third-party application, so I'd like to hide its methods to not
confuse people when they try to use Intellisense.
The simpliest example: the web service gives a list of available files
and allows to download them one by one (e.g. GetFilesInfo,
GetFileByName). What I want to expose to DLL's clients is
RefreshLocalCache method, which will internally call the
aforementioned and take care of error handling etc. So - in this case
- I really don't want my Web Proxy class to be exposed...
As I said, nothing wrong WILL happen if somebody calls the WS either
directly or from the proxy; but by exposing too much I'll have to
respond to questions concerning the internal (from my POV) method
usage - who reads the documentation? developers use Intellisense....
(that's another argument against - web proxy methods don't have any
documentation by default)
Thanks
.
- Follow-Ups:
- Re: encapsulating webservice proxy to hide complexity
- From: John Saunders [MVP]
- Re: encapsulating webservice proxy to hide complexity
- References:
- encapsulating webservice proxy to hide complexity
- From: roberto
- Re: encapsulating webservice proxy to hide complexity
- From: John Saunders [MVP]
- encapsulating webservice proxy to hide complexity
- Prev by Date: Re: Radio Button to populate datagrid
- Next by Date: Re: encapsulating webservice proxy to hide complexity
- Previous by thread: Re: encapsulating webservice proxy to hide complexity
- Next by thread: Re: encapsulating webservice proxy to hide complexity
- Index(es):