2

Unfortunately, I am new to web services. I have a WSDL schema, which I have to provide as a service. So how can I do this?

Can someone please tell me instructions step by step?

Freshblood
  • 6,285
  • 10
  • 59
  • 96

1 Answers1

2

I'm not sure why you would want to create a web service based on an existing WSDL schema (i'm assuming you mean WSDL and not WDSL).

You could use the WSDL.exe tool that ships with the SDK to reverse engineer the WSDL file to ASMX web services (older )

You can find more details here

However it is advised to use WCF for newer projects, you can then use svcutil.exe to reverse engineer your WSDL file instead. find a description in a question answered How to use a WSDL file to create a WCF service (not make a call)

Hope this helps

Community
  • 1
  • 1
scartag
  • 17,548
  • 3
  • 48
  • 52
  • 2
    Please do not use WSDL.EXE. Use svcutil.exe. WSDL is part of the legacy "ASMX" web service technology and should not be used for new development. – John Saunders Jan 09 '11 at 15:56
  • 3
    Creating WSDL first is common in large integration projects or when integration is done between different teams and platforms. Check this: http://stackoverflow.com/questions/3504271/asp-net-web-services-design-methodologies-top-down-and-bottom-up-whats-the-di/3504346#3504346 – Ladislav Mrnka Jan 09 '11 at 17:47
  • @Ladislav Mrnka ... good to know that ... Thanks for pointing out that. – scartag Jan 09 '11 at 18:14