sarunk
Guest
|
Posted:
Mon Dec 19, 2005 9:30 am Post subject:
Fetching License from WMC2 to a Media Renderer device |
|
|
Hi,
We are trying to get WMDRM-ND getting to work on our device. We were able
to get the
following procedures working,
* Authorization with WMConnect
* IsAuthorized() is returning that our device is authorized
* Registration with WMConnect using the sample keys and certificate
* Proximity detection with WMConnect returned that the proximity detection
procedure
was successful
* IsValidated is returning that our device is validated
After this we are invoking browse from our device and then using the URL we
are trying to fetch
the license for the content. WMConnect returns error to our HTTP request
for fetching the license.
The messages we sent and got back is as shown below. The HTTP request if
formatted fine, but still
WMConnect is returning failure.
Do you see anything wrong in what we are doing? Any idea why WMConnect is
returning failure for
our License Request message?
Regards,
Arun.S
The request we sent looked like this,
POST
http://172.20.33.71:10243/WMCv2/%7b2B9DC67A-52FE-41FF-9625-A1FF8B3AE4AF134521128/4-89.wma HTTP/1.0
Host: 172.20.33.71:10243
Accept: */*
Supported: com.microsoft.wmdrm-nd
Content-Type: application/vnd.ms-wmdrm-license-request
Content-Length: 5855
<----------License Request message is here--------------->
The response we got from WMConnect looked like this,
HTTP/1.1 400 Bad Request
Content-Type: text/html
Server: Microsoft-HTTPAPI/1.0
Date: Wed, 14 Dec 2005 09:36:28 GMT
Connection: close
Content-Length: 39
<h1>Bad Request (Invalid Hostname)</h1>]
|
|