I just updated my references to the new ServiceStack from nuget (from 3.9.11 to version 3.9.56) and I could not get my soap clients to work. So I decided to try once again the Hello World solution provided on [github] (https://github.com/ServiceStack/ServiceStack.Examples/tree/master/src/ServiceStack.Hello) which by the way is using an older version (3.9.32).
I added the [DataContract]
attributes on the Hello
and HelloResponse
classes and then I tried to build a C# console client by adding a service reference to my localhost soap12 endpoint (using the Add Service Reference on VS2010, also tried 2012 and 2013). Unfortunately while I do get the OneWayClient
and the SyncReplyClient
I do not get any of my DTOs generated. Why is that? I tried to build my code with an older version of ServiceStack (using the IService<T>
and the Execute
method and everything worked fine! Are there any breaking changes that I am not aware of?
P.S. I tried also to recompile the whole ServiceStack.Examples project against the nuget libraries and it failed too. I could not even generate the proxy. Please do not try to convince me to use a share assembly for my DTOs as this defeats the purpose of having a language agnostic web service!