Debugging Web Services: Quick Question

  • Thread starter Thread starter Timothy Alvis
  • Start date Start date
T

Timothy Alvis

Unfortunately due to a mishap with Visual Sourcesafe, I'm having to
recreate a solution file from scratch for a software package I
"inherited" when starting at this position.

I am wanting to be able to develop both the program that calls the web
service, and the web service itself in the same environment. This was
working before this mishap, but for the life of me I can't get it to
work now.

Let's say that the webservice is named: somewebservice.asmx

It is in it's own project within the solution named
"SomeWebServiceProj"

The other project is named, "SomeApp", with a proxy project to connect
the two named "SomeAppProxy".

What do I need to do so that when I create a function that calls the
proxy, which then calls the web service, to have it point to the
version of the web service I'm developing instead of the currently
"compiled" version that is running on the server?

I will provide any other information that is necessary.

Thanks!
 
If you didn't want to change your proxy app to point to a
different web reference (which is what I usually do), on
your iis box under administrative tools open Internet
Services Manager. Find the current Web service directory
under Default Web Site and right click for properties.
You'll need to change the application name (maybe just add
an underbar). The next thing you'll need to do is add the
directory your development web services is in to the
Default Web Site list and give it the same application
name as the original you just changed. If your directory
is under wwwroot then you should see it the Default Web
Site directory list. Otherwise you will need to create a
virtual directory to add it to the list
(Action>New>Virtual Directory). Once it's in the list,
right click it for properties and click Create button
under the directory tab. Make sure you give your dev
directory the same 'Application Name' your proxy app is
looking for.

hth,

~Bill
 
Back
Top