ASP.NET 2.0 B2: Howto change web reference?

O

Olav Tollefsen

When using Web Services from ASP.NET 1.1, you got a "Web References" folder
in your project containing an entry for the web service references you
added. The property page for this entry contained the URL to the web service
and you could change this URL if you wanted to point to another web service
and then you could do an "Update Web Reference" to refresh the references.

In ASP.NET 2.0, you get a "App_WebReferences" folder instead, but it doesn't
contain the same kind of entry for the web reference. It contains a folder
with three files for each web service reference added (.disco, .discomap and
..wsdl). You also get an entry in the .config file for the URL of the web
service.

My question is: How do I change the URL of my web service? I notice that if
I change the URL in the .config file, there are still the old URL referenced
in the .disco file. What do I do in order to get the correct changes in all
neccessary places?

Olav
 

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

Top