problems with webservices
-
Hi, I am making a web application which uses webservices. The problem is that whenever I reopen my web application after closing it, I get an error message: http://lh3.ggpht.com/_EC8qUhn9kJY/SrOHGWPKa0I/AAAAAAAAAHE/vByKCtukRsk/error%28web_service%29.JPG[^] Then I have to delete and add webservices again to make the project back in working state. This same problem also occurs when I leave my project in idle state for long time. How can I resolve this error? Any help shall be appreciated.
-
Hi, I am making a web application which uses webservices. The problem is that whenever I reopen my web application after closing it, I get an error message: http://lh3.ggpht.com/_EC8qUhn9kJY/SrOHGWPKa0I/AAAAAAAAAHE/vByKCtukRsk/error%28web_service%29.JPG[^] Then I have to delete and add webservices again to make the project back in working state. This same problem also occurs when I leave my project in idle state for long time. How can I resolve this error? Any help shall be appreciated.
Can you specify the actual error message that comes. I cant see the image, I think there must be some problem with the link. :(
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
Can you specify the actual error message that comes. I cant see the image, I think there must be some problem with the link. :(
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
the error is as follows Failed to update WEB REFERENCE 'MAILSERVICE_assign_req.SENDMAILService3' ERROR: there was an error downloading 'http://localhost:1446/sendmailservice/sendmailservice3.asmx?disco'.(0x80131509)
-
the error is as follows Failed to update WEB REFERENCE 'MAILSERVICE_assign_req.SENDMAILService3' ERROR: there was an error downloading 'http://localhost:1446/sendmailservice/sendmailservice3.asmx?disco'.(0x80131509)
Can you tell me what you are referencing while adding the web service. Are you adding sendmailservice3.asmx?wsdl If so try to connect to sendmainservice3.asmx?disco Have you tried to browse the disco file directly? You can also add reference to web service manually. open Visual studio command prompt, browse to your application directory type
disco http://localhost:1446/sendmailservice/sendmailservice3.asmx
this will generate a wsdl file, disco, and discomap file on your disk Next type wsdl sendmailservice3.asmx This will generate the c# file Now include those files to your project and try to run. :)Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
Can you tell me what you are referencing while adding the web service. Are you adding sendmailservice3.asmx?wsdl If so try to connect to sendmainservice3.asmx?disco Have you tried to browse the disco file directly? You can also add reference to web service manually. open Visual studio command prompt, browse to your application directory type
disco http://localhost:1446/sendmailservice/sendmailservice3.asmx
this will generate a wsdl file, disco, and discomap file on your disk Next type wsdl sendmailservice3.asmx This will generate the c# file Now include those files to your project and try to run. :)Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
Hi Abhishek, I tried adding the things YOU specified but nothing seems to happen all the files were added , but the error still comes. here is the code along with responses You asked me to Run in visual studio cmd: Setting environment for using Microsoft Visual Studio 2008 x86 tools. C:\Program Files\Microsoft Visual Studio 9.0\VC>cd\ C:\>cd C:\Documents and Settings\server\My Documents\Visual Studio 2008\WebSites \my_project C:\Documents and Settings\server\My Documents\Visual Studio 2008\WebSites\ my_project >disco http://localhost:1446/SendMailService/SendMailService.asmx Microsoft (R) Web Services Discovery Utility [Microsoft (R) .NET Framework, Version 2.0.50727.1432] Copyright (C) Microsoft Corporation. All rights reserved. Disco found documents at the following URLs: http://localhost:1446/SendMailService/SendMailService.asmx?disco http://localhost:1446/SendMailService/SendMailService.asmx?wsdl The following files hold the content found at the corresponding URLs: .\SendMailService.disco <- http://localhost:1446/SendMailService/SendMailServi ce.asmx?disco .\SendMailService.wsdl <- http://localhost:1446/SendMailService/SendMailServic e.asmx?wsdl The file .\results.discomap holds links to each of these files. If you would like more help, please type "wsdl /?". C:\Documents and Settings\server\My Documents\Visual Studio 2008\WebSites\ my_project >wsdl http://localhost:1446/sendmailservice/sendmailservice3.asmx Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 2.0.50727.1432] Copyright (C) Microsoft Corporation. All rights reserved. Writing file 'C:\Documents and Settings\server\My Documents\Visual Studio 2008\W ebSites\my_project\Service3.cs'. please reply