Basic question about creating/setting up webservices

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • news.microsoft.com

    #1

    Basic question about creating/setting up webservices

    I have been looking around at the documentation and have come across a lot
    about how to create webservices and consume them.

    I have a fairly large 3 tier application with a ton of classes in c# that
    are currently being used by the website. Is there a quick/ rad tool that can
    take a c# class and generate a webservice proxy/asmx file? Any suggestions
    that does not involve writing the guts of the code from scratch :) would be
    really helpful.

    Thanks in advance

    Sanjay


  • Softwaremaker

    #2
    Re: Basic question about creating/setting up webservices

    Are you referring to a proxy stub class or an asmx documentation file ?
    These are 2 different things altogether ;-)

    If I were you, my asmx does NOT even contain guts or any business logic.
    They will just act as gateways to your C# classes containing business
    application logic.

    --
    Thank you.

    Regards,
    Softwaremaker


    =============== =============== ===========

    "news.microsoft .com" <spais@marketli nksolutions.com > wrote in message
    news:uToZS881EH A.3504@TK2MSFTN GP12.phx.gbl...[color=blue]
    > I have been looking around at the documentation and have come across a lot
    > about how to create webservices and consume them.
    >
    > I have a fairly large 3 tier application with a ton of classes in c# that
    > are currently being used by the website. Is there a quick/ rad tool that[/color]
    can[color=blue]
    > take a c# class and generate a webservice proxy/asmx file? Any suggestions
    > that does not involve writing the guts of the code from scratch :) would[/color]
    be[color=blue]
    > really helpful.
    >
    > Thanks in advance
    >
    > Sanjay
    >
    >[/color]


    Comment

    • Sanjay Pais

      #3
      Re: Basic question about creating/setting up webservices

      Hmmm I am indeed ignorant about the guts of webservices :) Let me explain
      what I really need:
      We have a three tier web application that uses the UIP, Data and Error
      blocks. As
      all the business logic is contained in the C# classes in the business layer,
      I was hoping to expose
      some /all of that logic via webservices so that I could make use of it via
      other thin/thick clients.

      Having said that, at this point this is really an experiment/ proof of
      concept that I am doing. The
      business layer has built in security so that in order to use the methods in
      the classes, the client
      would need to be authenticated and possess a valid token.

      I was hoping to create objects in the webservices layer that act as
      proxies/stubs for the classes.

      I hope this answers you question?

      Thanks for the reply.

      Sanjay

      "Softwarema ker" <msdn@removethi s.softwaremaker .net> wrote in message
      news:%23aC3MW%2 31EHA.1452@TK2M SFTNGP11.phx.gb l...[color=blue]
      > Are you referring to a proxy stub class or an asmx documentation file ?
      > These are 2 different things altogether ;-)
      >
      > If I were you, my asmx does NOT even contain guts or any business logic.
      > They will just act as gateways to your C# classes containing business
      > application logic.
      >
      > --
      > Thank you.
      >
      > Regards,
      > Softwaremaker
      > http://www.softwaremaker.net/blog
      >
      > =============== =============== ===========
      >
      > "news.microsoft .com" <spais@marketli nksolutions.com > wrote in message
      > news:uToZS881EH A.3504@TK2MSFTN GP12.phx.gbl...[color=green]
      >> I have been looking around at the documentation and have come across a
      >> lot
      >> about how to create webservices and consume them.
      >>
      >> I have a fairly large 3 tier application with a ton of classes in c# that
      >> are currently being used by the website. Is there a quick/ rad tool that[/color]
      > can[color=green]
      >> take a c# class and generate a webservice proxy/asmx file? Any
      >> suggestions
      >> that does not involve writing the guts of the code from scratch :) would[/color]
      > be[color=green]
      >> really helpful.
      >>
      >> Thanks in advance
      >>
      >> Sanjay
      >>
      >>[/color]
      >
      >[/color]


      Comment

      Working...