I have read the example but there is no mention of session id or how it should be supplied. After the Application Session Start all of the listed queries return the same invalidSession error. any actual code samples anywhere? not just the xml that should be sent but everything from start to end.
Currently my send function is as follows:
var bytesSent = Encoding.UTF8.GetBytes([xmlstring]);
Socket s = ConnectSocket(IPAddress.Parse([serverIP]), [portnumber]);
if (s == null)
return ("Connection failed");
s.Send(bytesSent, bytesSent.Length, 0);
with the
[xmlstring] as
<?xml version="1.0" encoding="UTF-8"><MonitorStart xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed4"><monitorObject><deviceObject>[extension@domain]</deviceObject></monitorObject>monitorType>device</monitorType></MonitorStart>