Reputation: 13
In my application I need to consume a third party a SOAP API.
For this purpose, I created a wrapper-project to encapsulate the SOAP-client generated from WSDL using dotnet-svcutil.
However, when I reference my wrapper-project, all of the resources from the service-reference in the wrapper-project becomes available in the referencing project.
My initial thought was edit the generated SOAP-client, making all of the classes internal. But this lead to an issue with the XmlSerializer, which can only reflect public types.
Is there any other way to exclude/hide dependencies and service-references when referencing a project?
Thanks!
Upvotes: 0
Views: 21