hello.
is it possible to send an xml command over TCP
I have a system of Innovus (zwave) which may receive Xml to the regime z-wave with
I have a PDF guide here http://forum.innovus.dk/yaf_postst57_XM ... ption.aspx
Excuse my poor English
XML over TCP/IP
Re: XML over TCP/IP
Hello Finn, Did you ever get an answer for your question. I have invested in a Nevo S70 remote control and I also have the innovus house controller. Today i asked Innovus exately the same question. I really need to send xml over tcp.
BRDGS
Jacob G. from denmark
BRDGS
Jacob G. from denmark
Re: XML over TCP/IP
You will need to do some work, but this should get you started. You will need to create a script and a script device to accomplish this.
Google for how to use XMLHTTP and XMLDOM to enhance the script and make it do what you want.
Osler
Code: Select all
Dim oXMLDOM
Dim oXMLHTTP
Dim strXML
Dim XMLResponse
strXML = "<root><mhx f=""get"" seqnr=""onGetRooms""><rooms/></mhx></root>\0"
Set oXMLDOM = CreateObject("Microsoft.XMLDOM")
XMLDOM.loadXML strXML 'load the string into oXMLDOM to convert it into an xml document
Set oXMLHTTP = CreateObject("Microsoft.XMLHTTP")
oXMLHTTP.open "POST" ,"http://<IP Address>:8081",False
oXMLHTTP.send oXMLDOM.xml 'send the xml document created in XMLDOM to the server
XMLResponse = oXMLHTTP.responseXML 'retrieve the xml document sent by the server
Osler