Web Reference

  • Thread starter Thread starter Jennifer
  • Start date Start date
J

Jennifer

I've inherited a c-sharp application that uses a web service to pass
data to the app from a central database. I don't know a whole lot
about web services and am trying to learn.

We're moving the database and web server to a new physical location,
thus diferent servers. My question is this: Do I have to repoint the
web service reference in the application to the new web service
location? Or is there some way to get around this? I would assume it
would have to be repointed and a new version of the app rolled out.
But since I didn't know for sure 100%, I thought I'd ask. Also, this
app was written with the earliest version of c-sharp and Visual
Studio.

Thanks for the insights!
Jennifer Miller
 
I've inherited a c-sharp application that uses a web service to pass
data to the app from a central database. I don't know a whole lot
about web services and am trying to learn.

We're moving the database and web server to a new physical location,
thus diferent servers. My question is this: Do I have to repoint the
web service reference in the application to the new web service
location? Or is there some way to get around this? I would assume it
would have to be repointed and a new version of the app rolled out.
But since I didn't know for sure 100%, I thought I'd ask. Also, this
app was written with the earliest version of c-sharp and Visual
Studio.

You should be able to just set the Url property of the web service
proxy instance to point at the new server.

Jon
 
Hi,

Jennifer said:
I've inherited a c-sharp application that uses a web service to pass
data to the app from a central database. I don't know a whole lot
about web services and am trying to learn.

We're moving the database and web server to a new physical location,
thus diferent servers. My question is this: Do I have to repoint the
web service reference in the application to the new web service
location? Or is there some way to get around this? I would assume it
would have to be repointed and a new version of the app rolled out.
But since I didn't know for sure 100%, I thought I'd ask. Also, this
app was written with the earliest version of c-sharp and Visual
Studio.

What is the earliest version?

You can repoint the references and that would do it (remember to recompile).

Now I have to warn you that we found a problem last week when we tried to
change references like that from developmet to staging and the code kept
going to dev. I do not know how they solve it (I was not part of that team)
but I hear the problem.
 
Back
Top