Serialize array to XML

  • Thread starter Thread starter Looch
  • Start date Start date
L

Looch

All,

I'm getting a 'There was an error generating the XML document' when
using the following code:


//list is ArrayList with 20 UsageLogEntry objects - each consisting of
50 string properties

object[] log = (object[])list.ToArray(typeof(UsageLogEntry));

//Web service proxy

Placement.Service dlog = new LogParser.Placement.Service();

//Web method call - four params are: string, string, string, object[]

dlog.SendDailyUsageLog("AMS", "TFTP00479", "2", log);


Not sure why.

Thanks in advance
 
Back
Top