I would like to add several links to the same .XSD / .WSDL file in the same project.
More details. The server is in Java (WebSphere Application Server / 7.0). Client dll in C #. We use the contract-first approach.
In Visual Studio 2008, I add a service link. But instead of my original WSDL / XSD contracts, it extracts dummy XService.wsdl and XService_schema1.xsd and generates "not so friendly" code (with message wrappers, xFieldSpecified stuff, dummy collections of ArrayOfx ...). So what am I doing? I am changing the Reference.svcmap so that it includes exactly the original WSDL / XSD contracts and inserts them where they belong. This is normal, I get friendly code, and I'm happy.
But what if someone changes the contract with the server? Here I canβt just update the service link. I must copy-paste new contracts into my Service Reference folder at any time when the contract has been changed.
To summarize, I need to add the WSDL / XSD source files as links to all Service Reference folders in order to simplify the process of changing the contract. Just run the new WSDL / XSD, right-click Reference.svcmap> Run Custom Tool.
Isn't that a decent feature?
wisdom
source share