WAP PUSH email notification

WAP PUSH email notification SearchSearch
Author Message
Anonymous
 
Posted on Friday, February 27, 2004 - 10:11 am:   

Please, could you tell me how is it possible to send WAP PUSH email notification (EMN)? This specification located here: http://www.openmobilealliance.org/tech/docs/EmailNot/OMA-Push-EMN-V1_0-20020830- C.pdf
I'm reading it at present time, but not understand how is it possible to do for the time being.
Lars Nielsen
New member
Username: Larsmservice

Post Number: 25
Registered: 10-2003
Posted on Friday, February 27, 2004 - 10:38 am:   

Very interesting readingthere.
Nice little thing.
Actually we've got sometihng similar running for windows smartphones, where we send a message which makes the smartphone react either as an alert or as a calendar event.
Maybe it would be a good idea to implement things like that too in NowSms...


;)Lars
Anonymous
 
Posted on Friday, February 27, 2004 - 12:53 pm:   

I'm interested if it is possible to send WAP PUSH email notification via NowSMS as a binary message or any different way?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1997
Registered: 10-2002
Posted on Tuesday, March 09, 2004 - 03:39 pm:   

For the next release (due any day now), we've been adding support for some of the new OMA MIME types that can be sent via WAP Push.

For example, we've added support for sending OMA DRM Rights documents.

We've also added a PAP interface so that as new types are added, you can submit them via PAP (if you perform the binary encoding ... we only perform the XML to WBXML encoding for types that we are aware of, such as OMA DRM Rights, OMA Provisioning Content, Nokia/Ericsson OTA types, Service Indication, Service Load).

A PAP request (supported in the next version of NowSMS) looks something like this:

Submit an HTTP POST to http://127.0.0.1:8800/PAP (substitute the address of your NowSMS install) with PAP content, something like this:

Content-Type: multipart/related; boundary=asdlfkjiurwghasf; type="application/xml"
Content-Length: xxxx

--asdlfkjiurwghasf
Content-Type: application/xml

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.0//EN"
"http://www.wapforum.org/DTD/pap_2.0.dtd"
[<?wap-pap-ver supported-versions="2.0,1.*"?>]>
<pap>
<push-message push-id="9fjeo39jf084@pi.com">
<address
address-value="wappush=xxxxxxxxxxx/type=user@ppg.operator.com"></address>
</push-message>
</pap>
--asdlfkjiurwghasf
X-Wap-Application-Id: x-wap-application:drm.ua
Content-Type: application/vnd.oma.drm.rights+xml
Content-Length: xx

<xml rights document here>

--asdlfkjiurwghasf--

The next version of NowSMS can do the binary encoding of OMA DRM rights. So the MIME type "application/vnd.oma.drm.rights+xml" is for text XML rights, and NowSMS performs WBXML encoding to send out the actual message with MIME type "application/vnd.oma.drm.rights+wbxml".

In the case of the E-Mail Notification push, you would set the "X-Wap-Application-Id" to "x-wap-application:emn.ua" or "9". The content type of the push would be "application/vnd.wap.emn+wbxml", and you would need to include a WBXML encoding of the e-mail notification message.

Since the E-Mail Notification specification looks very simple, I'm going to check and see if we can include support for the text version of the XML document and build the WBXML encoding into the gateway for this upcoming version.

Now the question will be whether or not there are any phones that actually support this message type.

-bn