Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / January 2004

Tip: Looking for answers? Try searching our database.

shifting a webservice from one m/c to another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jaydeep - 27 Jan 2004 12:39 GMT
Hi All,
   I have created a webservice. I used this webservice in a ASP.NET Web
Application project, by adding a webreference
http://myMachine/service1.asmx. Now I shifted all code to my live server,
which is having just framework installed on it.Now I want to change
webreference of the webservice ? how to do that ?
Is there any command-line command to do this ?

Thanks
JD
Jan Tielens - 27 Jan 2004 12:48 GMT
In your client project, you should the URL Behavior property of your web
reference to Dynamic (using the Properties window). By doing so VS.NET will
create an App.Config file containing the value of the URL property
(=location of your webservice). When you want to change that location you
just have to change the value in the .config file (=plain xml), and without
re-building the solution the next time you start your application it will
use the location specified.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

> Hi All,
>     I have created a webservice. I used this webservice in a ASP.NET Web
[quoted text clipped - 6 lines]
> Thanks
> JD
Jaydeep - 30 Jan 2004 07:34 GMT
Thanks for your prompt reply. One question,

Do I need to read this setting in a page or webservice will automatically
reads this ?

Jaydeep
--
> In your client project, you should the URL Behavior property of your web
> reference to Dynamic (using the Properties window). By doing so VS.NET will
[quoted text clipped - 21 lines]
> > Thanks
> > JD
Jan Tielens - 30 Jan 2004 07:51 GMT
It will be read automatically.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

> Thanks for your prompt reply. One question,
>
[quoted text clipped - 31 lines]
> > > Thanks
> > > JD

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.