Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 394863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:23:51+00:00 2026-05-12T16:23:51+00:00

.Net provides some wonderful mechanisms for defining a remote service and then automagically creating

  • 0

.Net provides some wonderful mechanisms for defining a remote service and then “automagically” creating a client to connect to it, hiding away much of the nasty wiring and fuss. But is there a similar route for going the other way?

My most recent task at work is to create a series of services that will communicate with one another for things like authentication and search queries. One requirement is the ability for our core service to call out to other “service nodes”, which may or may not be created in house but all need to implement a common interface. I can build a reference implementation of this service, create the WSDL from that, and automatically generate the client side without issue. It seems that the only way to define the service, however, is to basically point someone at the WSDL I create and say “Implement something that looks like that.” Seeing as how WSDLs are rarely designed to be read by human beings, this route seems less than attractive.

So is there a way that I’m not aware of to generate a service interface from a WSDL or similar descriptor? Primarily looking at .NET 3.5 here, using C# and WCF. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T16:23:51+00:00Added an answer on May 12, 2026 at 4:23 pm

    If you have a WSDL which describes the methods your client wants to call, plus a XSD (XML Schema) which describes what data elements it will expect to send and receive, you have all it takes to create a service from it. This is called the “Contract First” approach to building WCF services and is fairly popular especially in environments with interoperability requirements (like Java client and .NET services or vice-versa).

    Using svcutil.exe, you can generate a service interface class – your service description. This will contain service contract, operation contracts, and data contracts.

    svcutil yourMethods.wsdl yourDataSchema.xsd /language:C# /out:YourServiceInterface.cs
    (or /language:VB, if you prefer VB.NET)
    

    This will create a YourServiceInterface.cs (or YourServiceInterface.vb) file, which is the basis for your server code.

    From this, you can then create an actual service implementation – your service class that does the real work.

    And last but not least, you’ll need to decide how to host your service – in IIS or self-hosted in a console app or an NT service or some other means.

    Marc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

ASP.NET Ajax Library provides some client-side events. For instance: Sys.Application.add_load( function(args) { // handle
I have a WCF service that provides access to some data. Our client has
Does dot net 3.5 provides some api to calculate crc32 for input data?I have
Authorize.net provides some sample code for using CIM with ruby but its uses XML.
I have an ASP.NET page where a user provides an ID, and then we
We can give some information in HTML form. Then different peoples provides different HTML
Upgrading from ASP.NET WebAPI Beta to RC has provided some amount of excitement and
I want sell some .NET library and I want provide edition with full source
I'm trying to fetch some settings from my membership provider in my asp.net application
I have a ASP.NET MVC site using Membership Provider. I have trouble testing some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.