Simple question about using a web service

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

    Simple question about using a web service

    My apologies for asking something so basic, I just want to avoid unpleasant
    surprises. I am using a web service developed by someone else on a remote
    server. In my development environment I used Visual Studio to create a Web
    Reference. I have successfully connected to and used the web service.

    Here's the question. When I migrate the application to the production
    server, is there anything special I need to do? Or do I just copy the Web
    References directory created by Visual Studio, along with the files it
    contains (Reference.map, Reference.vb, plus the .disco and .wsdl files) to
    the production server?

    Much obliged,
    Geoff.


  • Chad Z. Hower aka Kudzu

    #2
    Re: Simple question about using a web service

    "Geoff" <Geoff.Penningt on.ctr@NOSPAMwh s.mil> wrote in
    news:OHc30n7VFH A.2960@TK2MSFTN GP15.phx.gbl:[color=blue]
    > Here's the question. When I migrate the application to the production
    > server, is there anything special I need to do? Or do I just copy the
    > Web References directory created by Visual Studio, along with the files[/color]

    You dont need any of that. That is all source files.
    [color=blue]
    > it contains (Reference.map, Reference.vb, plus the .disco and .wsdl
    > files) to the production server?[/color]

    None. Just copy your binary file in the bin\Release dir.


    --
    Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
    "Programmin g is an art form that fights back"

    Blog: http://blogs.atozed.com/kudzu

    Comment

    • Geoff

      #3
      Re: Simple question about using a web service

      I should have mentioned that this is a Web Forms (i.e. ASP.Net) project, not
      a Windows Forms, so there is no Release directory. But there is a dll
      directly under the bin directory. So, is your answer essentially the same,
      just copy the dll file in the bin directory (as opposed to the exe file in
      the bin\Release directory)?

      "Chad Z. Hower aka Kudzu" <cpub@hower.org > wrote in message
      news:Xns9655CB7 453B9Acpub@127. 0.0.1...[color=blue]
      > "Geoff" <Geoff.Penningt on.ctr@NOSPAMwh s.mil> wrote in
      > news:OHc30n7VFH A.2960@TK2MSFTN GP15.phx.gbl:[color=green]
      >> Here's the question. When I migrate the application to the production
      >> server, is there anything special I need to do? Or do I just copy the
      >> Web References directory created by Visual Studio, along with the files[/color]
      >
      > You dont need any of that. That is all source files.
      >[color=green]
      >> it contains (Reference.map, Reference.vb, plus the .disco and .wsdl
      >> files) to the production server?[/color]
      >
      > None. Just copy your binary file in the bin\Release dir.
      >
      >
      > --
      > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
      > "Programmin g is an art form that fights back"
      >
      > Blog: http://blogs.atozed.com/kudzu[/color]


      Comment

      • Chad Z. Hower aka Kudzu

        #4
        Re: Simple question about using a web service

        "Geoff" <Geoff.Penningt on.ctr@NOSPAMwh s.mil> wrote in
        news:eEmnqq#VFH A.2748@TK2MSFTN GP10.phx.gbl:[color=blue]
        > I should have mentioned that this is a Web Forms (i.e. ASP.Net) project,
        > not a Windows Forms, so there is no Release directory. But there is a
        > dll directly under the bin directory. So, is your answer essentially the
        > same, just copy the dll file in the bin directory (as opposed to the exe
        > file in the bin\Release directory)?[/color]

        Yes. You do need the web.config as well, and *.asmx


        --
        Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
        "Programmin g is an art form that fights back"

        Blog: http://blogs.atozed.com/kudzu

        Comment

        • Chad Z. Hower aka Kudzu

          #5
          Re: Simple question about using a web service

          "Geoff" <Geoff.Penningt on.ctr@NOSPAMwh s.mil> wrote in
          news:eEmnqq#VFH A.2748@TK2MSFTN GP10.phx.gbl:[color=blue]
          > I should have mentioned that this is a Web Forms (i.e. ASP.Net) project,
          > not a Windows Forms, so there is no Release directory. But there is a[/color]

          Sorry - Ignore kind of my last reply. I remember now you were asking about a
          CLIENT initially, but this last mesasge you refer to the server? Thats why I
          said bin/release.

          You have an ASP.NET webforms client that uses a webservice? If thats the
          case, you deploy everything you normally deploy for ASP.NET webforms, ie
          *.aspx, the bin dir, global.asax and web.config.

          You do not need anything extra to use the webservice, all of the code is
          compiled into the binary.


          --
          Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
          "Programmin g is an art form that fights back"

          Blog: http://blogs.atozed.com/kudzu

          Comment

          • Geoff

            #6
            Thanks (no msg)

            Thanks.

            "Chad Z. Hower aka Kudzu" <cpub@hower.org > wrote in message
            news:Xns965660A EDE9A2cpub@127. 0.0.1...[color=blue]
            > "Geoff" <Geoff.Penningt on.ctr@NOSPAMwh s.mil> wrote in
            > news:eEmnqq#VFH A.2748@TK2MSFTN GP10.phx.gbl:[color=green]
            >> I should have mentioned that this is a Web Forms (i.e. ASP.Net) project,
            >> not a Windows Forms, so there is no Release directory. But there is a[/color]
            >
            > Sorry - Ignore kind of my last reply. I remember now you were asking about
            > a
            > CLIENT initially, but this last mesasge you refer to the server? Thats why
            > I
            > said bin/release.
            >
            > You have an ASP.NET webforms client that uses a webservice? If thats the
            > case, you deploy everything you normally deploy for ASP.NET webforms, ie
            > *.aspx, the bin dir, global.asax and web.config.
            >
            > You do not need anything extra to use the webservice, all of the code is
            > compiled into the binary.
            >
            >
            > --
            > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
            > "Programmin g is an art form that fights back"
            >
            > Blog: http://blogs.atozed.com/kudzu[/color]


            Comment

            Working...