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 July 13th, 2003, 11:07 AM
Registered User
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error While Adding Web Reference

Hello Everyone,

I hope someone can help me with this.

I created a Simple Web Service using VB .net and Build the project. I created another project VB .net Windows Applications to use the Web service that I created.

In my Windows Client Applications I clicked on "Add Web Reference". In the Add Web Reference dialog box, I typed the URL of my web service, which is 'http://geeta/AuthorsWebService/AuthorsService.asmx

In the "Available References" window, it brings up my Webservice. When I click on "View Contents", I get the following error.

The document was understood, but it could not be processed.
  - The WSDL document contains links that could not be resolved.
  - There was an error downloading 'http://geeta/AuthorsWebService/AuthorsService.asmx?schema=authors1'.
  - The request failed with the error message:

Ignoring the error, I clicked on "Add reference" button. But it also came up with the following error message.

"Unable to download the following files http://geeta/AuthorsWebService/AuthorsService.asmx, 'http://geeta/AuthorsWebService/AuthorsService.asmx?wsdl. Do you wan to skip these files and continue?"

Please help.

Old July 18th, 2003, 09:41 AM
Registered User
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

I get the same error. Don't have an answer yet. Maybe it has something to do with the way the web server security is setup.

Old July 19th, 2003, 11:57 AM
Registered User
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

I solved my problem. If you are running an ISA server this may be causing your problem. I discovered that I could not Add Web Reference because the server was returning port 81 in my URL string and then creating my .cs (or .vb) source file. When I compiled the source code it would naturally stick the :81 in my web reference dll file. I corrected the problem by not using the Web reference but by manually creating the .cs file, removing the :81 on URL and then recompiling the dll. Reference the new dll in your code.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Error while adding reference to WebService vijayaramb ASP.NET 2.0 Basics 0 March 7th, 2007 01:28 AM
Chpt 20 - adding a web reference kco1122 BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 12 September 4th, 2006 12:30 PM
Adding a reference to a web service loganscott2000 .NET Web Services 1 April 13th, 2005 09:51 PM
Adding a web reference times out bat21 Pro VB.NET 2002/2003 0 March 3rd, 2005 04:38 AM
Component/Reference Adding Error mythios VS.NET 2002/2003 0 August 28th, 2003 12:45 AM

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