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 / March 2006

Tip: Looking for answers? Try searching our database.

Packaging Web Services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bholemaharaj - 09 Mar 2006 14:58 GMT
Hi,

I am new to the web services. We have a web application that we package and
sell. In our next release we want to use web services which will run on
client's web server and client application potentially on a different client
machine. I am having issues referencing the web services used by client
machine. On my development machine both run on the same machine. So when I
call web services I can use http://localhost/default.asmx but on the client
machine that may not be the case.

Any ideas will be appreciated.

Thanks,

Salil
Martin Kulov - 12 Mar 2006 23:51 GMT
> Hi,
>
[quoted text clipped - 14 lines]
>
> Salil

Hi Salil,

when you add the web reference to your client project make sure to select
URL Behavior to Dynamic instead of Static. That will cause a entry in client
.config file to show up and the client can modify the location of the web
service. You still have to provide a way to set the location during the
installation of your client for example. Or if this is not an issue, the
user can just change client's .config file by hand.

Regards,

Signature

Martin Kulov
http://www.codeattest.com/blogs/martin

MCT
MCSD.NET Early Achiever


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.