HTTP Binding - Help needed (Data, Header)

Hello, I might need a little help to setup a http Binding item. To change the input of my TV I have to call the following .conf with curl -v -K hdmi1.conf:

url = "http://192.168.1.103:52323/upnp/control/AVTransport"
header = "Content-Type: text/xml; charset=utf-8"
header = "SOAPAction: \"urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI\""
data = "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body><u:SetAVTransportURI xmlns:u=\"urn:schemas-upnp-org:service:AVTransport:1\"><InstanceID>0</InstanceID><CurrentURI>local://192.168.1.103:60151/I_14_02_0_-1_00_06_6_23_0_0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData></u:SetAVTransportURI></s:Body></s:Envelope>"

And I try to translate it into the http binding.
The item definition looks like this atm:

Switch htsLivingHdmi1 { http=">[ON:POST:http://192.168.1.103:52323/upnp/control/AVTransport{SOAPAction="urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"&Content-Type=text/xml}:<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body><u:SetAVTransportURI xmlns:u=\"urn:schemas-upnp-org:service:AVTransport:1\"><InstanceID>0</InstanceID><CurrentURI>local://192.168.1.103:60151/I_14_02_0_-1_00_06_6_23_0_0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData></u:SetAVTransportURI></s:Body></s:Envelope>]"}

which throws this :

2017-07-19 10:48:17.445 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'sony.items' has errors, therefore ignoring it: [11,105]: missing '}' at 'urn'
[11,108]: extraneous input ':' expecting RULE_ID

2017-07-19 10:48:41.308 [INFO ] [thome.io.rest.core.item.ItemResource] - Received HTTP POST request at 'items/htsLivingHdmi1' for the unknown item 'htsLivingHdmi1'.

Any help is highly appreciated!

I’m pretty sure you cannot pass header information or data in a call using HTTP binding.

You will need to use a Rule and the HTTP Actions.