0

你好,晚上好,

我尝试向我的 UPnP 设备发出请求,但结果始终是:

HTTP/1.1 500 Internal Server Error
CONTENT-LENGTH: 497
CONTENT-TYPE: text/xml;charset="utf-8"
CONNECTION: close

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <s:Body>
    <s:Fault>
      <faultcode>s:Client</faultcode>
      <faultstring>UPnPError</faultstring>
        <detail>
          <UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
            <errorCode>501</errorCode>
            <errorDescription>Action Failed</errorDescription>
          </UPnPError>
       </detail>
    </s:Fault>
  </s:Body>
</s:Envelope>

我的要求是:

POST /Server0/SRS_control HTTP/1.1
HOST: 192.168.2.25:60606
SOAPACTION: "urn:schemas-upnp-org:service:ScheduledRecording:1#GetAllowedValues"
CONTENT-TYPE: text/xml; charset="utf-8"
connection: close
Content-Length: 380

<?xml version="1.0" encoding="UTF-8"?> 
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"  s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <s:Body>
   <u:GetAllowedValues xmlns:u="urn:schemas-upnp-org:service:ScheduledRecording:1">
     <DataTypeID>A_ARG_TYPE_RecordScheduleParts</DataTypeID>
     <Filter>*:*</Filter>
   </u:GetAllowedValues>
 </s:Body>
</s:Envelope>

有谁知道如何解决这个问题?我想获取质量/分辨率字段的允许值以创建新的 scheduleRecord。我只知道一个:“MVGA”,但这只是 640x360。非常感谢!

4

0 回答 0