|
-
May 26th, 2004, 09:43 AM
#1
Thread Starter
Frenzied Member
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
-
May 26th, 2004, 10:40 AM
#2
PowerPoster
The Font class is serializable, check out MSDN library to figure that out. Brush isn't.
-
May 27th, 2004, 01:14 AM
#3
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|