Skip to content

WSCF/WSCF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSCF

WSCF is a toolset that facilitates the development of web services using a contract first (specifically, a schema first) approach. This is the WCF version of the orginal Web Services Contract First tool.

Introduction

When developing Web Services, the first step is usually to:

  • Design your contract's data, messages and interface
  • Generate code from the contract

This first step can be done either in code or can be done with XML and XSD. As it turns out a number of enterprise scale projects prefer to take the option of starting with XML and XSD. For many integration and application development scenarios (not only at the enterprise level) it is customary to negotiate a WSDL/XSD based specification for the web services and then to embark on the actual development of the code that implements that specification. However, dealing with raw XML and WSDL can be very error-prone. WSDL in particular is non-trivial to handle as the original WSDL specification allows room for some complicated constructs and contracts to be defined. We need tools that can enable us to work at this level consistently and reliably and WSCF aims to address this need.

The diagram below shows the main steps involved in schema-first web service development. For more information please read the Schema-based Development with Windows Communication Foundation article on the MSDN Magazine website.

The WSCF tool

WSCF is a Visual Studio extension that provides the following features:

  • A WSDL Wizard that allows the developer to step through the creation of a WSDL from one or more XSDs.
  • A Data Contract Generator (similar to XSD.exe, XSDObjectGen.exe and Svcutil.exe) that generates the . NET equivalent of the XSD types.
  • A Service/Endpoint Stub (SVC) Generator and
  • A Client Proxy Generator.
  • A Generate Data Contract Code feature that supports the selection of multiple XSD/WSDL source files. More Information
  • Support for C# and VB.NET code generation.
  • You can choose if operation methods on your service class will throw a NotImplementedException, call an implementation method in a partial class, or will be defined as abstract methods. More Information
  • Force the SOAP actions (Action and ReplyAction) applied to each operation contract follow the standard WCF format: namespace/service/operation[Response]
  • A Paste XML as Schema option that generates a schema for a block of XML in the clipboard. More Information
  • Errors found in your WSDL are reported in a WSCF pane in the Output window. More Information

For the endpoints and the client proxy, WSCF also generates the necessary configuration file.

Download

Release Notes and VSIX package downloads are available on the GitHub Releases page.