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 / July 2005

Tip: Looking for answers? Try searching our database.

Non-hardcoded web service location

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcus - 14 Jul 2005 21:45 GMT
Is it possible to not hardcode the address to the web service in C#; i.e.,
the address written in the .wsdl file?

Thanks
BillyLiu007 - 15 Jul 2005 02:42 GMT
change the proxy property, use the web serivce address dynamic rather than
static.
so that you can change the web service address at web/app.config file.

Signature

Can You?You Can.

> Is it possible to not hardcode the address to the web service in C#; i.e.,
> the address written in the .wsdl file?
>
> Thanks
Chad Z. Hower aka Kudzu - 18 Jul 2005 12:25 GMT
"=?Utf-8?B?QmlsbHlMaXUwMDc=?=" <billyliu007@gmail.com> wrote in
news:727324B2-9C3C-4086-A720-DF38575732FF@microsoft.com:
> change the proxy property, use the web serivce address dynamic rather
> than static.
> so that you can change the web service address at web/app.config file.

You can also override it at runtime. Set the URL after calling teh constructor.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
     "Programming is an art form that fights back"

Blogs: http://www.hower.org/kudzu/blogs

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.