Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. problems with webservices

problems with webservices

Scheduled Pinned Locked Moved ASP.NET
helpquestioncom
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shankbond
    wrote on last edited by
    #1

    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.

    A 1 Reply Last reply
    0
    • S shankbond

      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.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      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.

      S 1 Reply Last reply
      0
      • A Abhishek Sur

        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.

        S Offline
        S Offline
        shankbond
        wrote on last edited by
        #3

        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)

        A 1 Reply Last reply
        0
        • S shankbond

          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)

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          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.

          S 1 Reply Last reply
          0
          • A Abhishek Sur

            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.

            S Offline
            S Offline
            shankbond
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups