B
Brendan C
Hi,
I am using Visual Studio .NET 2003 and am adding a web reference to a
web service. One of the fields in a web service method output classes
is defined as:
[System.Xml.Serialization.XmlArray("Sensitivities"),
System.Xml.Serialization.XmlArrayItem(typeof(Sensitivity))]
public System.Collections.ArrayList sensitivity;
However when I add a web reference from the client, the field in the
generated class gets defined as:
public Sensitivity[] Sensitivities;
- ie. it gets generated as an Array, and not as an ArrayList.
How do I specify to generate the client class field as an ArrayList
and not an Array?
thanks,
Brendan
I am using Visual Studio .NET 2003 and am adding a web reference to a
web service. One of the fields in a web service method output classes
is defined as:
[System.Xml.Serialization.XmlArray("Sensitivities"),
System.Xml.Serialization.XmlArrayItem(typeof(Sensitivity))]
public System.Collections.ArrayList sensitivity;
However when I add a web reference from the client, the field in the
generated class gets defined as:
public Sensitivity[] Sensitivities;
- ie. it gets generated as an Array, and not as an ArrayList.
How do I specify to generate the client class field as an ArrayList
and not an Array?
thanks,
Brendan