VSDISCO/WebReference Woes

S

Shaun Wilson

I have two webservices Service1.asmx and Service2.asmx and a client library
that has two web references to each. I find it inelegant that I have to
maintain two web references for each webservice I am exposing. For example,
although both web services exist on the same webserver and in the same
folder I cannot get them to appear as such in client code because the code
generator generates a local namespace based on the webref names.

What I'm hoping is that a single web reference can be created that
encompasses 2 or more service objects such that client code can access all
web service proxies from the same namespace, and so that I only have to
update one web reference when the server interfaces changes.

I've tried using a vsdisco according to MSDN but i get a file not found
error when I try and navigate to the /default.vsdisco location on the
webserver, there is no such file at this location. I assume I do not have to
add a file since the purpose of *.vsdisco is dynamic discovery of
webservices exposed by the webserver.

I'm also assuming that with a vsdisco file I will get a single web reference
with multiple webservices, thus solving my problem above.

Any help/insight is appreciated, thanks.
Shaun Wilson
 

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,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top