Apparently, trying to quote the structure of an XML file got interpreted in the previous post.
Let's see if this works as an example of how to encapsulate commands to be sent to the Sony BDP-S780 Blu-ray player:
TO SEND AN ACTUAL CONTROL COMMAND TO THE BLU-RAY PLAYER:
You'll first have to Post the first part, and then after that send and XML file.
Inside the XML file you'll need to replace what is between <IRCCCode> and </IRCCCode>
a valid command. The example XML file below is for issuing the PLAY command.
======================================================================
--->SEND THIS TO PORT 52323 at your Blu-ray Player's IP ADDRESS:<---
POST /upnp/control/IRCC HTTP/1.1\r\n
Host: 192.168.1.1:52323\r\n
User-Agent: MediaRemote/3.0.1 CFNetwork/548.0.4 Darwin/11.0.0\r\n
Content-Length: 317\r\n
Content-Type: text/xml; charset=UTF-8\r\n
SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n
Connection: close\r\n\r\n
--->THEN ALSO SEND THIS TO PORT 52323 at your Blu-ray Player's IP ADDRESS:<---
<?xml version="1.0"?>\n
<s:Body>\n
<u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1">\n
<IRCCCode>AAAAAwAAHFoAAAAaAw==</IRCCCode>\n
</u:X_SendIRCC>\n
</s:Body>\n
</s:Envelope>\n
Hope that helps serve as a workable example of how to format an XML command to the Blu-ray player.