What I was going for was an output 'similar' to a DataSet
<DataSet> - Collection
<Table1> - Collection Objects
<Field1 /> - Object properties
<Field2 />
</Table1>
</DataSet>
And you provided the solution: XmlType
When I applied the XmlType (without the XmlElement on the indexer) it all...
Actually, I tried something else.
Just a very simplified test (which didn't work)
If you don't mind, post your code that worked.
I'm sure it's something simple I'm not seeing...
I tried this (and several variations)
[Serializable(), XmlRoot("ThisRoot")]
public class Class3 ...
I think this is what you've requested (And then some):
/// <summary>
/// Collection object for TBL_ASSET
/// </summary>
[Serializable(), XmlRoot("ASSETS")]
public class AssetCollection : DataObjectCollection
{
/// <summary>
/// Select command that will...
The XmlRoot attribute only works on the root object.
If the Asset object is serialized by itself - ok.
The AssetCollection however; is the root object. So the XmlRoot attribute is ignored.
The XmlElementAttribute can not be declared on a class.
Error: Attribute XmlElement is not valid on this declaration type. It is only valid on 'property, indexer, field, param, return' declarations.
(I have tried the element attribute on the indexer of the AssetCollection and it didn't work)...
Have a collection to serialize.
No problems.
Problem:
How do you define the name of the objects in the collection?
Collection defined with <XmlRootAttribute> (OK)
Objects contained in the collection, I cannot define.
[Serializable(), XmlRoot("ASSETS")]
public class AssetCollection ...
The change did not work. Sorry.
Currently, if I dial 8887, I go to the TOD and the calls are correctly directed (business, off hours and holiday) all controls, services, and messages setup and tested.
(Prior to change- because 8887 was ncfw to mail,
after change- because it still goes to mail...
I need to put a TOD control on our Voice Mail System
Opt11 C version 2121 release 3
The system currently uses ACDN 6299 for Messaging Services
I have set up a TOD control on ACDN 8887 with business times for the 6299 and off hours as well as holiday announcements
I need incoming calls routed...
Here are the results:
First, I was trying from a phone that for some reason could not access the trunk using the access code. Which may lead to the issue with the mermail.
Any way,
I didn't get route 0 from rdb print out when I printed without specifying the route, but I was able to get the...
Sorry for the delay- busy.
As soon as i figure out how to get the acod for that I'll give it a go (bars/nars was not my forte- just user administration)
Thanks again for all the replies.
I'll post what did or didn't work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.