Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

WCF Contract first

Back to Forum: Tech Off
  • User profile image

    Hello I am new to WCF development.

     Please suggest the correct approach.

    1. We have been provided an WSDL file by customer.
    2. We are required to implement the WSDL contract and expose the service for the customer.
    3. Customer is requesting the end points from us.
    4. We need to implement using .NET


    1. Would this be an WCF service? Any other choice?
    2. How to implement the contract on our side?
    3. How to add the data passed via the contract in our DB?


    Would appreciate is anyone who has done this to answer the above questions.

  • User profile image

    WCF can do this and is probably the best choice given your requirements.

    See for how to generate C# classes from the WSDL you have. That should give you a contract interface. To 'implement the contract' you create a service class implementing the generated interface and host that as a service.

    You'll likely need to use BasicHttpBinding as a binding type.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.