3.3. HTTP Sequence Example
The followings are some HTTP sequence example for reference. *For example: KX-HDV330
3.3.1. GET XML method
GET /hdv330/pana.xml?tb=ABC4567890ABC4567890ABCD HTTP/1.0
User-Agent: Panasonic_KX-HDV330/01.066 (0080f0xxxxxx)
Host: 192.168.0.100:80
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
X-Powered-By: ASP.NET
Date: Fri, 16 Dec 2011 01:46:29 GMT
Content-Type: text/xml
Accept-Ranges: bytes
Last-Modified: Thu, 01 Dec 2011 07:21:33 GMT
ETag: "902242daf9afcc1:1023"
Content-Length: 433
<?xml version="1.0" encoding="utf-8"?>
<ppxml xmlns="http://panasonic/sip_screen"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_screen sip_screen.xsd">
<Screen name="Screen" version="3.0">
<Components>
<PictureBox name="PictureBox1" left="0" top="27" width="120" height="55"
source="http://192.168.0.100/hdv330/pana4.bmp" />
</Components>
</Screen>
</ppxml>
Note. <Except for HDV330/430>
<PictureBox name="PictureBox1" left="0" top="0" width="120" height="55"
source="http://192.168.0.100/hdv330/pana4.bmp" />
3.3.2. Push method
GET /Request.cgi HTTP/1.1
HOST: 192.168.0.115
Content-Type: text/xml
Content-Length: 305
<?xml version="1.0" encoding="utf-8"?>
<ppxml xmlns="http://panasonic/sip_menu"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_menu sip_menu.xsd">
<Trigger version=“3.0”>
<Source>http://192.168.0.111/hdv330/Page1.xml</Source>
</Trigger>
</ppxml>
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-type:text/html; charset=UTF-8
Status:200
Content-length: 0
GET /HDV330/Page1.xml HTTP/1.0
User-Agent: Panasonic_KX-HDV330/01.023 (0080f0xxxxxx)
Host: 192.168.0.111:80
HTTP/1.1 200 OK
Fixed file name for push request.
Access to the port 6666
of the phone from server.
Get main XML data from
the phone to the server.
Get XML data from the
phone to the server.