I'm using client methods for soap web service. On one of the methods it has a parameter as string[] list, so i create...
string[] myList = { "12345678" };
and i send off the request via the client method but i get an error saying SAXException Found character data inside an array element while deserializing. I know the client method sends this inside the envelope.
<List>12345678</List>
Which is supposed to be like this...
<List><string>12345678</string></List>
I've tried the following and still do not get the result which i need.
[XmlArrayItem("m")]
public string[] list
{
get; set;
}
i did this to use the class above,
string[] a = new string[] { "12345678" };
list = a;
and the result is the same,
<List>12345678</List>