Passing a custom class as a parameter to a web service

Discussion in 'ASP .Net Web Services' started by DalePres, Jun 14, 2004.

  1. DalePres

    DalePres Guest

    Well, I have searched the net, MSDN, and the newsgroups more (for weeks now
    really) and still no clear cut examples or descriptions of how to pass a
    custom class as a parameter to a WebMethod or receive a custom class as a
    return value from a WebMethod. Every article or newsgroup response I was
    able to find speaks only in theoretical terms with no specifics or examples.

    I finally managed to piece together enough little pieces that I was able to
    work it through and produce a working example. I have documented it at
    http://www.dalepreston.com/programming/SharedClasses.aspx including source
    code.

    This is basic so far but for many of us, if we have enough to get started,
    we can figure the rest out for ourselves.

    I hope this will help others who are working through the same thing.

    Dale
    DalePres, Jun 14, 2004
    #1
    1. Advertising

  2. Jimmy [Used-Disks], Jun 14, 2004
    #2
    1. Advertising

  3. DalePres

    Dale Guest

    That's a choice/decision made way above my head. All intranet web apps in
    the company must use web services for all database access.... So we go from
    IIS to IIS. I just do it.

    Dale

    "Jimmy [Used-Disks]" <> wrote in message
    news:...
    > > http://www.dalepreston.com/programming/SharedClasses.aspx

    >
    > If you have control over the client and server, why use SOAP at all? Why

    not
    > remoting?
    >
    > --
    > -Jimmy
    > Blog: http://research.remobjects.com/blogs/jimmy/
    > Furl: http://www.furl.net/members/jimmytharpe
    >
    >
    Dale, Jun 15, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mister B
    Replies:
    8
    Views:
    550
    Nick Keighley
    Aug 26, 2010
  2. Ashok Subramanian

    Passing a Large String as a parameter to a web service

    Ashok Subramanian, Nov 6, 2003, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    175
    richlm
    Nov 9, 2003
  3. Al
    Replies:
    0
    Views:
    285
  4. Guest

    Passing collection as input parameter to web service

    Guest, Oct 21, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    188
    Dan Rogers
    Nov 12, 2004
  5. Jennifer Mathews

    JSON Web Service, Parameter Passing

    Jennifer Mathews, Mar 14, 2009, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    786
    Jennifer Mathews
    Mar 14, 2009
Loading...

Share This Page