Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 20th, 2003, 09:16 AM
Registered User
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default serialize more complex objects


in chapter 5 (prof asp.net webserv.) wrox gave a sample of serialising complex objects but typically they use an arraylist for bilding more complex objects.
But what if I want to code a different way and implement a list by myself?
I changed the order-object in that I use my own list creating object but then serialisation fails. So my question: How serialize this order-object?
wkr: Wilhelm Pieper

public class Order: Object
    private LinearList _OrderItems;

    public class LinearList
        public ListItem Head = null;
        public ListItem Current = null;
        public int Count = 0;

        public class ListItem{
            public OrderItem OI = null;
            public ListItem Next=null;
                public ListItem(){}

            public LinearList(){}

            public void Add(OrderItem oI)
                if (Head == null)
                    Head = new ListItem();
                    Head.OI = oI;
                    Head.Next = null;

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto Serialize System.Exception? jacob C# 3 November 6th, 2006 12:12 PM
XMLSerialization - Cannot serialize interface ricardotome C# 0 July 7th, 2006 06:04 AM
how to serialize object into SQL Server? gooood SQL Server 2000 0 July 17th, 2005 10:28 PM
help!help me,please!(about serialize) gooood General .NET 2 July 12th, 2005 07:30 PM
Trying to serialize CultureInfo object cgbissio C# 0 July 17th, 2003 10:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.