<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Zarafa WebAccess v7.1.1-37812">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RE: [mythtv-users] New Sky+ App - control Sky box via tcp/ip network</title>
<style type="text/css">
body
{
font-family: Arial, Verdana, Sans-Serif ! important;
font-size: 12px;
padding: 5px 5px 5px 5px;
margin: 0px;
border-style: none;
background-color: #ffffff;
}
p, ul, li
{
margin-top: 0px;
margin-bottom: 0px;
}
</style>
</head>
<body>
<blockquote style="border-left: 2px solid #325FBA; padding-left: 5px;margin-left:5px;">-----Original message-----<br /><strong>From:</strong>        Michael Watson <michael@thewatsonfamily.id.au><br /><strong>Sent:</strong>        Fri 14-12-2012 00:10<br /><strong>Subject:</strong>        Re: [mythtv-users] New Sky+ App - control Sky box via tcp/ip network<br /><strong>To:</strong>        Discussion about MythTV <mythtv-users@mythtv.org>; <br />On 14/12/2012 10:54 AM, Michael Watson wrote:<br />><br />> Try changing the header line to this<br />><br />> headers= { "SOAPACTION": <br />> "urn:schemas-nds-com:service:SkyPlay:2#SetAVTransportURI"}<br />><br />Or<br /><br />headers= { "Content-Length": "%d" % len(XML), "SOAPACTION": <br />"urn:schemas-nds-com:service:SkyPlay:2#SetAVTransportURI", <br />"Content-Type": "text/xml; char-set=utf-8" }<br /><br /><br />><br />> Regards,<br />> Michael Watson<br />><br /><br />_______________________________________________<br />mythtv-users mailing list<br />mythtv-users@mythtv.org<br />http://www.mythtv.org/mailman/listinfo/mythtv-users<br /></blockquote><p><br /> Hi,</p><p> </p><p>Thanks for the suggestions, the second of them seems to be the closest, but sadly it still fails with this error:</p><p> </p><p>500 Internal Server Error</p><p><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"></p><p><s:Body></p><p><s:Fault></p><p><faultcode>s:Client</faultcode></p><p><faultstring>UPnPError</faultstring></p><p><detail></p><p><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"></p><p><errorCode>-111</errorCode></p><p><errorDescription>Invalid Action</errorDescription></p><p></UPnPError></p><p></detail></p><p></s:Fault></p><p></s:Body></p><p> </p><p>Regards,</p><p>Dave.</p>
</body>
</html>