Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
New Member
harsher
Posts: 1
Registered: ‎05-18-2010
My Device: none

Sending what response to MDS server?

Hi there

 

I create both push and pap notification thingy using asp.net .

 

I have no problem for the RIM push but then for the Pap part,

 

1. my asp.net page can send the pap message to mds server - no problem

2. mds server can send the message to the bb device simulator - no problem

3. mds server sends notification to notifyurl; notifyurl page can grab the xml response from mds server - no problem but what should the notifyurl page respond to the mds server?

 

since i'm not sure what to send back to mds server, i did not send any response and the mds server give this error.

 

<2010-05-18 16:11:11.841 SGT>:[286]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = N
otifying to URL = http://localhost:8010/notify.aspx, pushId = pushID:89975, dest
ination = 2100000A, result code = 1000>
<2010-05-18 16:11:15.153 SGT>:[287]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT =
RemovedSendingQueue, DEVICEPIN = 2100000a>
<2010-05-18 16:11:24.297 SGT>:[288]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = P
ush notification failed with error:net.rim.ippp.a.b.c.an.jA: javax.xml.bind.Unma
rshalException: unexpected element (uri:"http://www.w3.org/1999/xhtml", local:"h
tml"). Expected elements are <{}address>,<{}badmessage-response>,<{}cancel-messa
ge>,<{}cancel-response>,<{}cancel-result>,<{}ccq-message>,<{}ccq-response>,<{}pa
p>,<{}progress-note>,<{}push-message>,<{}push-response>,<{}quality-of-service>,<
{}response-result>,<{}resultnotification-message>,<{}resultnotification-response
>,<{}statusquery-message>,<{}statusquery-response>,<{}statusquery-result>>

 

my question is, once my notifyurl page receives the xml content, what should i send back to the mds server?

 

Thanks in advance.

Please use plain text.
Developer
mikes2002
Posts: 18
Registered: ‎02-10-2009
My Device: Not Specified

Re: Sending what response to MDS server?

Does anyone know?  I am looking for the same answer.

Please use plain text.
Developer
mikes2002
Posts: 18
Registered: ‎02-10-2009
My Device: Not Specified

Re: Sending what response to MDS server?

I found the answer.  Look at this documentation page 24.  http://www.wapforum.org/tech/documents/SPEC-PAP-19991108.pdf

Please use plain text.