I’m trying to call ServiceStack service from a console app with a service reference client (generated after using Add Service Reference in VS 2010).
I looked at the sample at github but was unable to create a similar client code.
My objective is to provide a set of services with a simple API that can be called by a .NET client as easy as possible. Ideally, client should not need any knowledge of ServiceStack to call the services.
My questions are:
- How should I create request if the service does not need any parameters?
- How can I resolve proxy.Properties?
Here is the gist
You can use SOAP/WSDL’s
Add Service Referencebut you should be mindful of SOAP’s Limitations.Although the current recommendations for client libraries is to use your preferred choice of ServiceStack’s built-in generic service clients.