[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

creating web services dynamically

Robin Prosch via .NET 247

6/5/2004 9:32:00 PM

Hello,

I wonder if I might get some pointers as to where I might look to=
accomplish this:

I want to create web services dynamically (that is to say at run=
time) to present XML data I have available through a database=2E=
The subset of the data I wish to present via a given webservice=
is defined through a separate configuration, which is entered by=
the user=2E

I can create a WSDL file based on the XML schema for each web=
service I create=2E

What I want to do is create a single implementation for all of my=
dynamically created web services that will interrogate an input=
XMLDocument, and return the appropriate result based on the=
identity of the invoked operation as another XMLDocument=2E

I wonder if anyone could suggest a strategy to do this? I'm=
looking for some idea as to where I need to write something=
custom and where I should be using what is in the framework=2E=2E

Thanks!

Simon


--------------------------------
From: Simon Hoare

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

<Id>11rKL/y4n0C+vy0vSCdcYA=3D=3D</Id>
1 Answer

Dino Chiesa [Microsoft]

6/7/2004 11:32:00 PM

0

suggestion: don't dynamically create WSDL files and ASMXs.
Just create one general webservice and handle the arbitrary XML there.

start here:
http://msdn.microsoft.com/library/en-us/dnservice/html/service04...

and
http://msdn.microsoft.com/msdnmag/issues/03/07/XMLSchemaValidation/de...


"Simon Hoare via .NET 247" <anonymous@dotnet247.com> wrote in message
news:%23ZoEpPzSEHA.240@TK2MSFTNGP11.phx.gbl...
Hello,

I wonder if I might get some pointers as to where I might look to accomplish
this:

I want to create web services dynamically (that is to say at run time) to
present XML data I have available through a database. The subset of the data
I wish to present via a given webservice is defined through a separate
configuration, which is entered by the user.

I can create a WSDL file based on the XML schema for each web service I
create.

What I want to do is create a single implementation for all of my
dynamically created web services that will interrogate an input XMLDocument,
and return the appropriate result based on the identity of the invoked
operation as another XMLDocument.

I wonder if anyone could suggest a strategy to do this? I'm looking for some
idea as to where I need to write something custom and where I should be
using what is in the framework..

Thanks!

Simon


--------------------------------
From: Simon Hoare

-----------------------
Posted by a user from .NET 247 (http://www.dotn...)

<Id>11rKL/y4n0C+vy0vSCdcYA==</Id>