Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Webservice deployment


Message #1 by Terrence Joubert <Terrence@v...> on Wed, 16 Oct 2002 11:47:49 +0400
Hi,
 
We just completed the development of a web application that incorporates a
large number of web services. During development in VS .NET, when
referencing web service A, we would point the VS.NET reference window to
http://DevelopmentServer/WebServiceA.asmx
<http://developmentserver/WebServiceA.asmx> . The web services will now be
deployed on a different server called DeploymentServer. How to I amend the
references (without a recompile) so that my application reference points to
http://DeploymentServer/WebServiceA.asmx
<http://deploymentserver/WebServiceA.asmx> . I am sure there must be a file
somewhere that I can amend; I just do not know which one it is.
 
Your help will be very much appreciated.
 
Cheers 
 
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
 
 

Message #2 by "Mike Amundsen" <mike@a...> on Wed, 16 Oct 2002 22:46:18 -0400
If you are using VS.NET, then you can access the properties for each
imported web service and set the URL to DYNAMIC. This forces the URL for
the web service to be added to the WEB.CONFIG file and the code
references that config entry.  

Now, why you go to production, you just need to change the web.config of
the production app to point to the production server.

MCA
Mike Amundsen
mca@E...
xxx.xxx.xxxx
xxx.xxx.xxxx  (FAX)
Host your .NET apps @ EraServer.NET
 

-----Original Message-----
From: Terrence Joubert [mailto:Terrence@v...] 
Sent: Wednesday, October 16, 2002 3:48 AM
To: ASP+
Subject: [aspx] Webservice deployment

Hi,
 
We just completed the development of a web application that incorporates
a
large number of web services. During development in VS .NET, when
referencing web service A, we would point the VS.NET reference window to
http://DevelopmentServer/WebServiceA.asmx
<http://developmentserver/WebServiceA.asmx> . The web services will now
be
deployed on a different server called DeploymentServer. How to I amend
the
references (without a recompile) so that my application reference points
to
http://DeploymentServer/WebServiceA.asmx
<http://deploymentserver/WebServiceA.asmx> . I am sure there must be a
file
somewhere that I can amend; I just do not know which one it is.
 
Your help will be very much appreciated.
 
Cheers 
 
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
 
 


---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---

Message #3 by =?big5?B?pP2r2LlE?= <calvin@m...> on Thu, 17 Oct 2002 14:56:26 +0800
Change your web reference's property [URL Behavior] from static to Dynamic.
Than after deployment check out your web.config file for appSettings and
change it as you need.


-----Original Message-----
From: Terrence Joubert [mailto:Terrence@v...]
Sent: Wednesday, October 16, 2002 3:48 PM
To: ASP+
Subject: [aspx] Webservice deployment


Hi,
 
We just completed the development of a web application that incorporates a
large number of web services. During development in VS .NET, when
referencing web service A, we would point the VS.NET reference window to
http://DevelopmentServer/WebServiceA.asmx
<http://developmentserver/WebServiceA.asmx> . The web services will now be
deployed on a different server called DeploymentServer. How to I amend the
references (without a recompile) so that my application reference points to
http://DeploymentServer/WebServiceA.asmx
<http://deploymentserver/WebServiceA.asmx> . I am sure there must be a file
somewhere that I can amend; I just do not know which one it is.
 
Your help will be very much appreciated.
 
Cheers 
 
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
 
 


---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---


  Return to Index