Results 1 to 3 of 3

Thread: Possibility to send complex objects using webservices?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    Possibility to send complex objects using webservices?

    I got a bunch of classes that have methods that returns complex custom designed objects (which contains font objects, brush objects and color objects etc)... I have been instructed to turn them into webmethods because they want a client app to be able to use them! Is this at all possible? My first thought was that the objects returned have to be able to serialize into xml... and how do you do that with a brush object, or a font object?


    kind regards
    Henrik

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    The Font class is serializable, check out MSDN library to figure that out. Brush isn't.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602
    Hmm.. thats what I figured...(I noticed that I need to send image objects as well) Since this will only be used in our intranet i will use .net remoting instead. Have no clue why they wanted webservices...

    And with .NET Remoting I can marshal my objects binary...using the binaryformatter... thank you for that.


    Kind regards
    Henrik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width