Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

generating wsdl on the fly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Manish Soni - 16 May 2005 10:06 GMT
I wish to expose a set of backend functions as web services. Now the
metadata for the functions is not available before hand. So I want to have a
way to dynamically generate the wsdl when user requests for it. I should be
able to execute some code to generate wsdl and then return that. How can I
override the default behavior of ASP.NET to accomplish this?

-- Manish Soni
Chad Z. Hower aka Kudzu - 16 May 2005 18:09 GMT
> I wish to expose a set of backend functions as web services. Now the
> metadata for the functions is not available before hand. So I want to
> have a way to dynamically generate the wsdl when user requests for it. I
> should be able to execute some code to generate wsdl and then return
> that. How can I override the default behavior of ASP.NET to accomplish
> this?

Im not sure if there is an event for this, you might have to use a ashx or
HTTP handler.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
     "Programming is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
David Starr - 17 May 2005 07:45 GMT
I would strongly suggest that WSDL on the fly is not the solution to any
problem that you are trying to solve.  Unless the client is doing simple
mesage processing, the proxy class would need to be created at compile time,
which means that it won't vary with your WSDL.

You may consider a flexible object model for your return types so that you
can get the data that you want back to the client.

> I wish to expose a set of backend functions as web services. Now the
> metadata for the functions is not available before hand. So I want to have a
[quoted text clipped - 3 lines]
>
> -- Manish Soni

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.