Hello
I Am trying to write a function that will update select service parameters but when i try to make the call to cucm i get an error message that says "Error generating XML Document " my code bombs on the StandardResponse step. can anyone could provide some insight?
private List<string> parameterList()
{
List<string> l = new List<string>();
l.Add("Cisco CallManager,CallDiagnosticsEnabled,1");
return l;
}
public void updateBestPractices(IDictionary<string, string> inputs)
{
UpdateServiceParameterReq us = new UpdateServiceParameterReq();
List<string> l = parameterList();
us.Items = new object[l.Count];
int x = 0;
foreach (string i in l)
{
string[] v = i.Split(',');
XServiceParameter sp = new XServiceParameter();
sp.service = v[0];
sp.name = v[1];
sp.value = v[2];
us.Items[x] = sp;
x++;
}
StandardResponse res = axlApiService.updateServiceParameter(us);
}