Hi all,
I was trying to generate a C# proxy using the DfsProxyGen.exe as mentioned in the Development Guide 6.7
The screenshot and text mentions a field called "Service model file" where I should specify the file created by the generateArtifacts ant task. But this field is not available in the DfsProxyGen.exe shipped with 6.7 (or even 6.6) of the SDK.
Problem: I was able to successfully create a C# proxy by specifying the Shared Assemblies for the Productivity Layer. Calling the methods exposed by the Custom Web Service was not a problem until I tried to catch a ServiceException thrown by the service method. It ended up unhandled inside the proxy cs file without "bubbling up" to the caller method in my project.
Using the standard Productivity Layer objects for e.g. ObjectService I was able to successfully catch those exceptions as FaultException<SerializableException>, but with the proxy it just failed. Checking the proxy shipped with the sample AcmeCustomService I found out that it is totally different to the one created for my custom service. The only obvious difference is the missing service model file ...
Regards
Thomas