Mm7 and drm forward lock

Mm7 and drm forward lock SearchSearch
Author Message
Jorge Hernandez
New member
Username: Jorge

Post Number: 1
Registered: 10-2004
Posted on Monday, October 25, 2004 - 06:08 pm:   

Hi,

Im trying to send a 'drm forward lock mms' according to mm7 specs. The error i get on the phone is 'image.dm. Object format not allowed'. The phone allows mms and drm.

This is the http packet:

POST /mm7 HTTP/1.0
Host: 192.168.0.11:8082
SOAPAction: ""
Content-Length: 23683
Content-Type: multipart/related; boundary="---mime-boundary-F032A15B.98A2DA1C---"; type="text/xml"; start="<mm7_msg>"
Connection: close

-----mime-boundary-F032A15B.98A2DA1C---
Content-Type: text/xml; charset=utf-8
Content-ID: <mm7_msg>

<?xml version='1.0' ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" env:mustUnderstand="1">
20040715/11/D32E025B@172.16.92.22
</mm7:TransactionID>
</env:Header>
<env:Body>
<SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
<MM7Version>5.3.0</MM7Version>
<SenderIdentification>
<VASPID>192.168.0.11</VASPID>
<VASID>192.168.0.11</VASID>
</SenderIdentification>
<Recipients>
<To>
<Number>555552220</Number>
</To>
</Recipients>
<DeliveryReport>False</DeliveryReport>
<Subject>MMS Subject</Subject>
<Content href="cid:mms_cid" />
</SubmitReq>
</env:Body>
</env:Envelope>

-----mime-boundary-F032A15B.98A2DA1C---
Content-Type: multipart/related; boundary="---mime-boundary-C97CAD9D.029FABDE---"
Content-ID: <mms_cid>

-----mime-boundary-C97CAD9D.029FABDE---
Content-type: application/vnd.oma.drm.message; boundary=---mime-boundary-D97DAD9C.029FABDE---

-----mime-boundary-D97DAD9C.029FABDE---
Content-type: image/gif
Content-Transfer-Encoding: base64

..... gif file (encoding base64) .....
-----mime-boundary-D97DAD9C.029FABDE-----
-----mime-boundary-C97CAD9D.029FABDE-----
-----mime-boundary-F032A15B.98A2DA1C-----

Can anyone help me ?? How can i send a drm mms (forward lock) according to mm7 specs ??

thank you


Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3638
Registered: 10-2002
Posted on Tuesday, October 26, 2004 - 04:50 pm:   

Hi Jorge,

Use "Content-transfer-encoding: binary" for the GIF.

Otherwise, the server doesn't actually parse the inside of the "application/vnd.oma.drm.message" content, and passes it to the phone in BASE64 encoding format, which the phone is not likely to understand.

When you use binary encoding within a submission, I would recommend including "Content-length:" headers around any binary content. In this case, for best results, include a "Content-Length:" header in the "application/vnd.oma.drm.message" content and the "image/gif" content.

-bn