Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 11th, 2003, 07:35 AM
Registered User
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to clansullivan Send a message via MSN to clansullivan
Default problem with deploying and accessing web Service

I am trying to deploy and access a simple "hello world" xml web service. I have created a deployment project and ran the .msi file on the target server (installed with the latest .NET framework). However, when I access the URL in the Add Web Reference dialog box on the client/development machine, I get an error saying "The document at the url http://www.xxxxxxx.com/default.vsdisco was not recognized as a known document type." etc. etc.

I have uncommented the code in machine.config that turn on the disco file, but still no result.

I tried accessing the asmx page directly, but there is not an asmx page on the server as apparently the msi did not install one (is this the problem?).

any ideas?

Old September 11th, 2003, 09:43 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

The ASMX file is the public interface to your web service so it has to be there. I have never used an MSI to install a web service. All you really need to do is put the web service files (ASMX, bin\*.dll, etc) into an active web application. If you want you can create a new virtual directory for the web service and put the files there. As long as IIS is set up right with the framework installed you shouldn't have a problem.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on accessing Web Service vivekshah ASP.NET 1.0 and 1.1 Professional 0 June 17th, 2006 03:32 AM
Problem when downloading web service??? joan .NET Web Services 2 May 16th, 2004 06:39 AM
Urgent Web Service Problem DKillingsworth .NET Web Services 1 August 4th, 2003 12:58 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.