SOAP requset 예
Service type
urn:schemas-upnp-org:service:ContentDirectory:1
Action name
GetSystemUpdateID
HTTP header
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"
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:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<u:GetSystemUpdateID xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"/>
</s:Body>
</s:Envelope>SOAP response 예
HTTP header
HTTP/1.1 200 OK
CONTENT-TYPE: text/xml; charset="utf-8"
EXT:
SERVER: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13
Content-Length: 328
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:GetSystemUpdateIDResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<Id>76941487</Id>
</u:GetSystemUpdateIDResponse>
</s:Body>
</s:Envelope>
댓글 없음:
댓글 쓰기