468,168 Members | 1,461 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,168 developers. It's quick & easy.

Have idl and sdl - need wsdl....

I'm making one of my first web services (with C#) and need help
getting started.
I have received an idl file and a sdl file that describes the
interface I need to implement... but how do I generate anything from
these files? It seems like I have to convert one of the files to a
wsdl file and then use wsdl.exe??

Thanks for your help!

(I wont be back to reed your answer until monday...so no hurry! :-)
Nov 12 '05 #1
1 2033

You could take a detour and somehow build a COM DLL or a type library
from the IDL.

With the type library you could either generate a COM DLL using the
Implement Interface option from the Class View in unmanaged C++. Then
compile the project and extract the WSDL using the WSDL Generator from
the SOAP Toolkit, which you should find for download on the Microsoft
web site. You find documentation on how to use the tool in the SOAP
Toolkit documentation.

You could also try to compile the IDL into a type library using
midl.exe, then create a .NET interop assembly with tlbimp.exe. Then
create a new ASP.NET Web service in Web service, reference the interop
assembly, implement the interfaces from the interop assembly in the web
service class. Visual Studio should generate the methods on the
interface for you. Then mark the generated methods with the [WebMethod]
attribute, compile your project and now you can get the WSDL by querying
the service URL with the ?wsdl URL, but at that point you already have
services.

Finally, the Christian Weyer's contract first tool [0] does a better job
than wsdl.exe at generating code for web services from WSDL.

HTH and I'd be curious to hear how you solved your problem.
Christoph Schittko
MS MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Camilla [mailto:vi****@hotmail.com]
Posted At: Friday, November 26, 2004 9:15 AM
Posted To: microsoft.public.dotnet.xml
Conversation: Have idl and sdl - need wsdl....
Subject: Have idl and sdl - need wsdl....

I'm making one of my first web services (with C#) and need help
getting started.
I have received an idl file and a sdl file that describes the
interface I need to implement... but how do I generate anything from
these files? It seems like I have to convert one of the files to a
wsdl file and then use wsdl.exe??

Thanks for your help!

(I wont be back to reed your answer until monday...so no hurry! :-)


Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by relaxedrob | last post: by
reply views Thread by Sonna Nach | last post: by
reply views Thread by Dave | last post: by
reply views Thread by Suresh Pasala | last post: by
3 posts views Thread by Siva | last post: by
reply views Thread by Geoffrey Summerhayes | last post: by
1 post views Thread by gcdp | last post: by
reply views Thread by kamranasdasdas | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.