473,396 Members | 1,917 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,396 software developers and data experts.

Web service deployment

Hi

I have completed my first web service and have tested it on my local win2k
server. Now I need to deploy it to a remote server run by a web hosting
company. Here are my questions;

- What files do I need to provide them and how and where do these need to be
installed?

- Do I need to change the namespace of the web service (from vs default) if
the location where it is going to be installed is; www.mydomian.com/myapp?

- How does my local client see and get the reference for the remotely
installed web service?

Thanks

Regards
Nov 21 '05 #1
3 4455
Change the namespace for your own sanity, and others who will see the asmx
page online, only. It isn't required but it'll clean up all that nonsense
MS forces you to look at.

use the exampe:

[WebService(Namespace=http://www.mydomain.com/myaspp)]

but really the web address can be anything. It doesn't have to resolve and
is never called upon.

As for the files, just copy the asmx file, web.config, global.asax if you
use it, and the BIN folder. Unless you have other library files or
references you have to copy, that should do it.

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

I have completed my first web service and have tested it on my local win2k
server. Now I need to deploy it to a remote server run by a web hosting
company. Here are my questions;

- What files do I need to provide them and how and where do these need to be installed?

- Do I need to change the namespace of the web service (from vs default) if the location where it is going to be installed is; www.mydomian.com/myapp?

- How does my local client see and get the reference for the remotely
installed web service?

Thanks

Regards

Nov 21 '05 #2
Is there no way to protect the source?

Thanks

Regards
"Dale" <da************@msndotcomNot.Net> wrote in message
news:O9*************@tk2msftngp13.phx.gbl...
Change the namespace for your own sanity, and others who will see the asmx
page online, only. It isn't required but it'll clean up all that nonsense
MS forces you to look at.

use the exampe:

[WebService(Namespace=http://www.mydomain.com/myaspp)]

but really the web address can be anything. It doesn't have to resolve and is never called upon.

As for the files, just copy the asmx file, web.config, global.asax if you
use it, and the BIN folder. Unless you have other library files or
references you have to copy, that should do it.

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

I have completed my first web service and have tested it on my local win2k server. Now I need to deploy it to a remote server run by a web hosting
company. Here are my questions;

- What files do I need to provide them and how and where do these need to
be
installed?

- Do I need to change the namespace of the web service (from vs default)

if
the location where it is going to be installed is;

www.mydomian.com/myapp?
- How does my local client see and get the reference for the remotely
installed web service?

Thanks

Regards


Nov 21 '05 #3
You're copying the asmx file, not the asmx.cs file. The asmx file doesn't
do anything except point to the dll in the BIN folder. That provides
limited source protection since any CLR app can be disassembled with tools
provided with the framework SDK.

Dale

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uW*************@TK2MSFTNGP12.phx.gbl...
Is there no way to protect the source?

Thanks

Regards
"Dale" <da************@msndotcomNot.Net> wrote in message
news:O9*************@tk2msftngp13.phx.gbl...
Change the namespace for your own sanity, and others who will see the asmx
page online, only. It isn't required but it'll clean up all that nonsense MS forces you to look at.

use the exampe:

[WebService(Namespace=http://www.mydomain.com/myaspp)]

but really the web address can be anything. It doesn't have to resolve

and
is never called upon.

As for the files, just copy the asmx file, web.config, global.asax if you use it, and the BIN folder. Unless you have other library files or
references you have to copy, that should do it.

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

I have completed my first web service and have tested it on my local win2k server. Now I need to deploy it to a remote server run by a web hosting company. Here are my questions;

- What files do I need to provide them and how and where do these need to
be
installed?

- Do I need to change the namespace of the web service (from vs

default) if
the location where it is going to be installed is;

www.mydomian.com/myapp?
- How does my local client see and get the reference for the remotely
installed web service?

Thanks

Regards



Nov 21 '05 #4

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

Similar topics

5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
2
by: raghavendra | last post by:
Hi, How to run automatically windows service by using setup deployment insatllation script using visual studio 2003.? What i did is :-- 1. created a windows service & tested the same. 2....
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
0
by: yawnb | last post by:
I have a windows service written in C++ .NET. I am able to install it fine from the command prompt with "service.exe" -Install. I added a deployment project with a custom action and selected the...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
2
by: Brian Cuthie | last post by:
Please excuse me if this is an often asked question, but I've been unable to locate an answer. I have a web service that I've packaged up using a VS.NET 2003 "Web Service Deployment" project....
2
by: wph101larrya | last post by:
I have a developed service and client application running on a Vista machine in IIS7 in the Visual Studio 2008 beta 2 with .NET 3.5 framework. I am trying to deploy the service app to a test...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
2
by: Mika M | last post by:
I'm doing Windows Service programming using C# 2005. My solution contains Windows Service project. Then I added Setup and Deployment project into the same solution. Both service- and Setup and...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.