Home  /  Questions  /  Question



108   96.7
Jun 27, 2012


How does WCF help giving access to outside clients?

I studied the Design Pattern Framework and I finally get the whole application finally.

My question now is how does having a WCF service help in this example if outside clients need to access it? I couldn't imagine giving a url to expose the methods if I have to tell them to add an AuthRepository Class, RepositoryBase class, and a RequestHelper class. Am I missing something but if someone outside needs to access my service how is having all these classes needed beneficial? Is there a way around this? I'm probably not understanding something here but a lot of work is needed in my opinion and I don't see how you explain to a client/user all the work/coding needed to access the service.

Thanks
Dennis



113   96.7
Jul 12, 2012
Isn't this what WSDL is all about? WSDL stands for Web Service Description Language.
WSDL was designed to allow clients to easily retrieve the API and the objects of the exposed Web Service.



 1 comment
 
But in the example the solution has to add a bunch of additional classes right? --- Dennis Tucker  Jul 24, 2012

90   96.5
Jul 19, 2012
It depends on how are your hosting your service. If it is hosted through web service and if the web service can be exposed to outside world then , yes, the outside world can call your WCF code (provided all security requriements are satisfied)
thanks,
Tarriq
 1 comment
 
But does your client have to also add shook the additional classes? --- Dennis Tucker  Jul 24, 2012