Referencing web service

J

John

Hi

I have just uploaded my first web service to a remote host. So I am very new
to this. I am now trying to reference the ws by putting the ws url
(http://mydomain.com/myapp/myappws/appWS.asmx) in the add web reference
dialogue, When I click go, instead of the client app getting the reference,
I get a download dialogue asking to download file appWS.asmx of type
VISUALSTUDIO.ASMX.1.1. What should I do from here to get the reference of
the web service?

Thanks

Regards
 
J

John

Well I just copied the files in a subfolder under the main asp site. The asp
main site works.

Regards
 
D

Dan Rogers

Hi John,

Copying the files to the default folder won't quite do the trick. The
applicaiton settings for the default folder aren't set up for the ASP.NET
subsystem.

Try opening your solution from Visual Studio, and then from the File menu,
choose the Publish Web Service option. This launches a tool that takes you
thru the process of selecting a server, creating a new VROOT for that
service, and then deploying the files needed by your service.

Hope this helps

Dan Rogers
Microsoft Corporation
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top