Debugging Web Services: Quick Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Timothy Alvis

    #1

    Debugging Web Services: Quick Question

    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
    "SomeWebService Proj"

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

    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!
  • Bill Sonia

    #2
    Debugging Web Services: Quick Question

    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>Vir tual 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
    [color=blue]
    >-----Original Message-----
    >Unfortunatel y due to a mishap with Visual Sourcesafe, I'm[/color]
    having to[color=blue]
    >recreate a solution file from scratch for a software[/color]
    package I[color=blue]
    >"inherited" when starting at this position.
    >
    >I am wanting to be able to develop both the program that[/color]
    calls the web[color=blue]
    >service, and the web service itself in the same[/color]
    environment. This was[color=blue]
    >working before this mishap, but for the life of me I[/color]
    can't get it to[color=blue]
    >work now.
    >
    >Let's say that the webservice is named:[/color]
    somewebservice. asmx[color=blue]
    >
    >It is in it's own project within the solution named
    >"SomeWebServic eProj"
    >
    >The other project is named, "SomeApp", with a proxy[/color]
    project to connect[color=blue]
    >the two named "SomeAppPro xy".
    >
    >What do I need to do so that when I create a function[/color]
    that calls the[color=blue]
    >proxy, which then calls the web service, to have it point[/color]
    to the[color=blue]
    >version of the web service I'm developing instead of the[/color]
    currently[color=blue]
    >"compiled" version that is running on the server?
    >
    >I will provide any other information that is necessary.
    >
    >Thanks!
    >.
    >[/color]

    Comment

    Working...