Send DRM Rights Object in WBXML via WAP Push | Search |
NowSMS Support Forums ⬆ WAP Technical Discussions (unsupported) ⬆ Archive through March 07, 2006 ⬆ |
◄ ► |
Author | Message | |||
Christian Unregistered guest |
Hi... I try to send a OMA Rights Object via WAP Push to a Nokia6230. I created a .drc file with the Nokia Content Publishing Toolkit. This is the WBXML encoded Rights Object: 030E6A00C505850686078701464703312E30000101494A4648036369643A32303034303831303135 313931392D3231343430353731333840687474703A2F2F6D79776562616464726573732E64652F63 6F6E74656E7449640001014B4CC310F8DE3707745A0EBB603D57D6CE3302570101014D4F52530333 0001545503323030342D30382D31305431353A31393A313900015603323030342D30382D32305431 353A31393A31390001010101010101 I have successfully sent a ServiceIndication Message to a Device by using this String: 40 TransactionId 06 PDUType: Push 01 HeaderLength AE Content-type: application/vnd.wap.sic 02 WBXML Version 1.2 05 DTD Version 04 Character Encoding: iso-8859-1 00 45 <si> C6 <indication 0C ... 0364726D2E68616E64792E64652F70726F746F312F7269676874732E6A7370001103456545377963 3236374F000AC307200408050501250801034669636B656E212121000101 UDH: 05040B8423F0 So my first try for the WBXML encoded Rights Object is to change some Bytes: 40 Transaction Id 06 PDUType: Push 03 HeaderLength: 3 CB Content-type: application/vnd.oma.drm.rights+wbxml 81 Charset EA UTF-8 03 WBXML Version (1.3) 05 DTD Version Number 6A Character Encoding: UTF-8 00 03 The Beginning of the WBXML rights object 0E6A00C505850686078701464703312E30000101494A4648036369643A3230303430383130313531 3931392D3231343430353731333840687474703A2F2F6D79776562616464726573732E64652F636F 6E74656E7449640001014B4CC310F8DE3707745A0EBB603D57D6CE3302570101014D4F5253033300 01545503323030342D30382D31305431353A31393A313900015603323030342D30382D3230543135 3A31393A31390001010101010101 UDH: 05040B8423F0 I receive a message on the device which tells me that download wasn't success. What am i doing wrong? Can anybody help me? | |||
George A. K Unregistered guest |
Hi Christian, I think there is a mistake in the content type encoding. Quote: CB Content-type: application/vnd.oma.drm.rights+wbxml 81 Charset EA UTF-8 Since there is a parmeter along with the content type you need to use the "Value-length Media-type" (Refer "8.4.2.24 Content type field" in WSP specs) form of content-type encoding. So the correct content-type encoding will be 03CB81EA 03 Length of content-type CB Content-type: application/vnd.oma.drm.rights+wbxml 81 Charset EA UTF-8 | |||
George A. K Unregistered guest |
Also it is better to include the Wap Application ID header in the push headers. | |||
Adrian Corcoran New member Username: Comanche_cor Post Number: 3 Registered: 07-2004 |
Hi George, Can you tell me where you found the well know type for application/vnd.oma.drm.rights+wbxml, I have not been able to find this anywhere? Also what is the Wap Application ID value and how would this look as part of the headers. Sorry for the basic questions but am quiet new to this! | |||
piet Unregistered guest |
Hi is the wap push format applied on Sony Ericsson phone? above format seems as Nokia Smart Messaging Need some info here | |||
praveen_76_1999@yahoo.com New member Username: Praveen_76_1999 Post Number: 1 Registered: 07-2005 |
Hi, I was just trying to send right to the phone using Send XML Settings Document option. I just opened .dr right file in notepad and copied and pasted content and entered phone number and send to phone. Phone received this as a WAP puch but not able to process this. Can anybody tell me correct way to do this. It whould be more helpfull if screen shot of the nowSMS screen is send | |||
pavana Unregistered guest |
Please Help me.. Can anyone tell me How to create WBXML file from XML file. I'm dealing with OMA DRM Rights object. | |||
Ankur New member Username: Phoneynk Post Number: 4 Registered: 10-2005 |
I used Nokia NMIT to generate dcf and dr file of some gif file. Then I used the NOw SMS interface's Send XML settings to send this to some dummy smsc. This is the message send by the NOw SMS to SMSC 0605040B3F233F2006033F3F3F030E6A3F053F063F3F01464703312E300101494A4648036369643A 6C6F676F66696E616C3101014B4C3F103A1F3F3C3F3F52513F234E3F20483F3F0101014D4F520101 010101 But when I send it to my Sony erricson K700i . It si displaying it as text(binary). Non DRM supporting phones are not receiving the message. vaish_ankur@yahoo.com | |||
Joseph Boyd New member Username: Jkb7 Post Number: 1 Registered: 11-2005 |
Question: I have a WBXML encoded OMA 1.0 rights object which I want to send by WAP Push over SMS. Which programmatic means do I use to send this via the NowSMS gateway? Binary Message "Other"? If so, where do I find appropriate UDH, PID, and DCS values? Note that I have been able to send the equivalent XML rights object programmatically using the PhoneNumber and OMA=POST URL parameters. Thank you. | |||
jignesh kakkad New member Username: Jig21nesh Post Number: 18 Registered: 03-2005 |
Hi you can send as binary msg, nowSMS software supports this even you can send MSG from our gateway also we also support DRM tright object SMS and we implements all three emthods of DRM anything esl you want to? jig2nesh@hotmail.com | |||
camille Unregistered guest |
Hi! How do you convert the rights object to binary? Thanks! |