Debugging a Web Service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sathyaish

    #1

    Debugging a Web Service

    How do you debug a web service in Visual Studio .NET 2003? To give you
    some background, I have been programming for some over 8 years now and
    know how to debug VB, VC++ apps in Visual Studio 6.0 and also know how
    to debug WinForms apps, Console Apps and ASP.NET apps in Visual Studio
    ..NET 2003.

    It occurs that this is the first time I am debugging a Web service.

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Debugging a Web Service

    Sathyaish,

    If you have debugged ASP.NET apps, then you should have no problem
    debugging a web service. Web serivces are hosted in ASP.NET, and not any
    different in the debugging sense than say, web pages.

    Of course, VS.NET makes this MUCH easier, since it will allow you to
    host locally, which makes the debugging experience MUCH easier.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Sathyaish" <sathyaish@gmai l.com> wrote in message
    news:1139005156 .570578.239410@ f14g2000cwb.goo glegroups.com.. .[color=blue]
    > How do you debug a web service in Visual Studio .NET 2003? To give you
    > some background, I have been programming for some over 8 years now and
    > know how to debug VB, VC++ apps in Visual Studio 6.0 and also know how
    > to debug WinForms apps, Console Apps and ASP.NET apps in Visual Studio
    > .NET 2003.
    >
    > It occurs that this is the first time I am debugging a Web service.
    >[/color]


    Comment

    • Ken Cox - Microsoft MVP

      #3
      Re: Debugging a Web Service

      This info here on attached to the process:

      http://builder.com.com/5100-6373-5035019.html


      "Sathyaish" <sathyaish@gmai l.com> wrote in message
      news:1139005156 .570578.239410@ f14g2000cwb.goo glegroups.com.. .[color=blue]
      > How do you debug a web service in Visual Studio .NET 2003? To give you
      > some background, I have been programming for some over 8 years now and
      > know how to debug VB, VC++ apps in Visual Studio 6.0 and also know how
      > to debug WinForms apps, Console Apps and ASP.NET apps in Visual Studio
      > .NET 2003.
      >
      > It occurs that this is the first time I am debugging a Web service.
      >[/color]


      Comment

      • Peter Bromberg [C# MVP]

        #4
        RE: Debugging a Web Service

        Sathyaish,
        add the webservice project to your solution where you have the app that
        calls your webservice. Set a WebReference to the WSDL url of the webservice
        project in your solution.
        Set your breakpoints, and have fun.
        Peter


        --
        Co-founder, Eggheadcafe.com developer portal:

        UnBlog:





        "Sathyaish" wrote:
        [color=blue]
        > How do you debug a web service in Visual Studio .NET 2003? To give you
        > some background, I have been programming for some over 8 years now and
        > know how to debug VB, VC++ apps in Visual Studio 6.0 and also know how
        > to debug WinForms apps, Console Apps and ASP.NET apps in Visual Studio
        > ..NET 2003.
        >
        > It occurs that this is the first time I am debugging a Web service.
        >
        >[/color]

        Comment

        Working...