Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

Operation timed-out downloading web service durning Add Web Reference - still no solution

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe - 04 Oct 2005 16:32 GMT
I'm hosting my web service on a Windows 2003 box which is remotely located.
When trying to add a web reference to a C# project I get an error message
'There was an error downloading 'http://mydomain.com:port/webservice.asmx'
The operation has timed-out
(I've tried with and without using a separate port for the service)

The weird thing is the page does show up on the left side of the screen
listing the available methods but the Add Reference button is disabled.

The web service is accessible from a web browser such as IE using the same
URL and I can test the web service method using IE directly on the server
itself.

The service was working fine for several months but than stopped responding
to the application.

The server was upgraded to a DNS/AD server which is when I think the problem
started happening.

My dev machine is Win XP/SP2

-Joe
Steven Cheng[MSFT] - 05 Oct 2005 05:30 GMT
Hi Joe,

Wecome to ASPNET newsgroup.
From your description, you're encountering problem when try using the
VS.NET Add webreference function to create cilent proxy for a certain
remote webservice, and the problem is occuring after your server upgrated
to a DNS/AD server ,yes?

So based on the changing of your webservice hosting server, it's likely due
to the networking issue. Have you tried using the IP address of the server
to reference the online WSDL document and add it as webrefernce in VS.NET?  
YOu can also try using the wsdl.exe utility to create proxy externally to
see whether it works.  
Also, to confirm the networking issue, another means is to use IE browser
to view the WSDL description of the remote service (.....xxxx.asmx?wsdl
)and then save the document as a local xml file. After that , use wsdl.exe
for VS.NET add webreference to create the webservice proxy through the
local WSDL document.

Please feel free to post here if there're any other finding.

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| From: "Joe" <jbassking@noemail.noemail>
| Subject: Operation timed-out downloading web service durning Add Web
Reference - still no solution
| Date: Tue, 4 Oct 2005 11:32:17 -0400
| Lines: 25
[quoted text clipped - 5 lines]
| Message-ID: <uIFpOjPyFHA.2076@TK2MSFTNGP14.phx.gbl>
| Newsgroups:
microsoft.public.dotnet.framework.aspnet,microsoft.public.dotnet.framework.a
spnet.webservices
| NNTP-Posting-Host: 69.37.58.70.adsl.snet.net 69.37.58.70
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:7943
microsoft.public.dotnet.framework.aspnet:128891
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
[quoted text clipped - 20 lines]
|
| -Joe
Joe - 05 Oct 2005 14:00 GMT
Hi Steven,

If I use the IP address the web proxy will get created but calling a method
from a C# application returns 'The operation has timed-out'.

This service and methods were working fine before the upgrade. I removed the
DNS server but I still need to use the IP address to create the proxy.

Any other suggestions?

Thanks,
Joe

> Hi Joe,
>
[quoted text clipped - 76 lines]
> |
> | -Joe
Steven Cheng[MSFT] - 06 Oct 2005 07:33 GMT
Hi Joe,

So have you tried the samething through the wsdl.exe tool? Based on my
research, the WSDL.exe (also VS.NET add webreference) will use the
WebRequest component to download document /schemas from remote address.  
Also you can try using HttpWebRequest to send request to the remote server
(some web pages...) through DNS name to see whether you'll encounter the
similiar problem.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
--------------------
| From: "Joe" <jbassking@noemail.noemail>
| References: <uIFpOjPyFHA.2076@TK2MSFTNGP14.phx.gbl>
<VH6xBWWyFHA.3772@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: Operation timed-out downloading web service durning Add Web
Reference - still no solution
| Date: Wed, 5 Oct 2005 09:00:45 -0400
| Lines: 103
[quoted text clipped - 8 lines]
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:129099
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
[quoted text clipped - 53 lines]
| > | Message-ID: <uIFpOjPyFHA.2076@TK2MSFTNGP14.phx.gbl>
| > | Newsgroups:

microsoft.public.dotnet.framework.aspnet,microsoft.public.dotnet.framework.a
| > spnet.webservices
| > | NNTP-Posting-Host: 69.37.58.70.adsl.snet.net 69.37.58.70
[quoted text clipped - 33 lines]
| > |
| > | -Joe
Joe - 31 Oct 2005 20:20 GMT
In case anyone else reads this the way I fixed the problem was by removing
and than reinstalling ASP.NET through Add/Remove Windows components.

> I'm hosting my web service on a Windows 2003 box which is remotely
> located.
[quoted text clipped - 21 lines]
>
> -Joe

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.