Wednesday, June 15, 2011 6:41:00 PM
Within my new job the need arose to test against webservices of third parties like ERP en administrative systems. Momentarily our implementers and system integrators have to be on premises at the client or copy the whole back end system locally. During my first agile sprint I hit this problem directly head on and my first thought was, there must be a smarter way to accomplish this! Indeed, design of services with "Contract First" design isn't that new and ideal to make a servicestub, using the WSDL to generate a proxy class (and interface). At first I've started with svcutil.exe, the commandline tool delivered with VS2010 en his predecessors. This turned out to be a disappointing exercise, the generated Class wasn't what I've expected and that was why I started searching Internet to see if there are easier ways to accomplish this. And then I've found this gem from Christian Weyer, WSCF.Blue an add-in tool for VS2010 that offers the possibility to generate server and/or Client proxy classes from XSD's and/or WSDL's including the configuration for WCF services. The Thinktecture boys have there own place on Codeplex with downloads and a Walkthrough to download and online. Click on the links for more information and downloads.
As soon I've get the opportunity, I'll make a sample solution and publish it here so you can investigate the possibilities yourself. If you have any questions, you know how to reach me, See you
As I promised above, I've supplied a solution how to use WSCF to create a Webservice stub. It's based on a simple webservice already created in the connectoren blog. Have fun with is and for any questions and remarks leave a reaction behind or to email@example.com. Just click the image below for downloading the sample.