multiple web services in a WSDL

K

krism42

Anybody know how to get multiple web services into a single .wsdl file,
using .Net?

We want to do it like the MapPoint web service does it [but I do not
think that's written in .Net].

Thanks!
Kris
 
R

//Rutger Smit

I don't know the MapPoint Webservice by heart but aren't you confusing
the term webmethod and webservice?

AFAIK multiple webmethods go into a WSDL, every webservice is exposed
using a WSDL.

Cheers,
//Rutger

http://www.RutgerSmit.com
 
K

kris

Thanks for the reply, but I do mean web services and not web methods.

The WSDL 1.2 (and I believe 1.1) specs support mutiple services in one
WSDL.

What we really one is one connection point for multiple services - so
consumers of our service don't have to have 3 proxy classes (that have
to be configured for www proxy/etc seperately). Perhaps there is
another way to achieve this?
 
J

John Scragg

This is a bit of a pain in .Net Framework 1.1, but if you have (or are soon
moving to) .Net Framework 2.0, you are in luck :)

In the new framework, you just add a switch to the WSDL.EXE called
"/sharetypes". Include the url for the multiple WebServices and away you go.

http://msdn2.microsoft.com/en-us/library/7h3ystb6

In .Net Framework 1.1, it is much more manual. MSDN magazine did an article
on it in march or so.

http://msdn.microsoft.com/msdnmag/issues/05/03/WSDL/default.aspx?_r=1

HTH,

John Scragg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top