473,386 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Deploying webservice

Hi

I have created my first web service on my local server. I now need to deploy
the ws to www.mydomian.com/MyApp/webservice/ site. What are the steps to do
that? Is there a way to use only compiled version so the source code is not
exposed? Also, how would my client apps be able to add reference to the ws
when it is no longer on my local server but on a remote server?

Thanks

Regards

Nov 18 '05 #1
1 1477
To publish your web service, the easiest way is to use, from the Visual
Studio menu, Project->Copy Project. From there, for local intranet if you
have the appropriate shares created, you can use the file share method, for
internet or, depending on your network, use the FrontPage method.

Of course, there are more advanced methods, such as creating deployment
projects in Visual Studio, but for one-off deployments, they're generally
not necessary.

To configure the client, follow these steps:

In the solution explorer for the client project, click the web reference for
your web service. Then in the properties, set the URL Behavior property to
Dynamic. This will do two things. First, it will create an entry in the
client application's web.config file that will point to the reference on
your local machine and, second, it will configure the client application to
look in the web.config file to find out where to locate the web service.

Now you can modify the Web Reference URL Property in the properties window
or directly in the web.config file. I keep entries in my web.config files
for all web services and all locations and just comment out all but the
current ones. That enables me to rapidly switch from running local, to
development servers, to test servers, and finally to production servers.

Hope this helps,

Dale

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:eN**************@TK2MSFTNGP11.phx.gbl...
Hi

I have created my first web service on my local server. I now need to deploy the ws to www.mydomian.com/MyApp/webservice/ site. What are the steps to do that? Is there a way to use only compiled version so the source code is not exposed? Also, how would my client apps be able to add reference to the ws
when it is no longer on my local server but on a remote server?

Thanks

Regards

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
2
by: Peter Schmitz | last post by:
Hi, I just created my first .net web service and now I want to create an installation program for it. That's why I added a WebSetup project to my current solution and added the primary output of...
1
by: dansan | last post by:
We have a webservice that we have been deploying using the deployment project in Visual Studio. Now we are trying to deploy this service to a server that has multiple sites. I have looked...
0
by: Riga | last post by:
Hi guys, I'm trying to deploy a WebService on a server. Here's what I did so far: 1) Created a new website in IIS (on the port I want to use) 2) Shared that directory through windows so that I...
2
by: Kevin | last post by:
Hi, Hope someone can help us with this problem. This is our first endeavour into .NET 2.0 :-) BACKGROUD INFO: ---------------------- We've built a website using .NET 2.0 and deployed onto...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
1
by: Duncan | last post by:
Guys a little please, I'm creating a windows application that uses a webservice and WSE1.0 to talk to a database, currently this works fine when using localhost, I now want to test the...
0
by: Nerd | last post by:
I have created a webservice in dotnet using VS2005. When I run the solution I can see the webservice. But it does not create any virutal directory in my server. How do I deploy this webservice in...
3
by: adi | last post by:
Hi I only have this situation at one of my client's site. I install the webservice setup prog. Usually, i may access the asmx file from an IE browser. Not this time. My webservice uses .NET...
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.