Problems with PAP

Problems with PAP SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 31, 2007 » Problems with PAP « Previous || Next »
Author Message
Mark Ryan
New member
Username: Mryan

Post Number: 1
Registered: 07-2007
Posted on Monday, July 30, 2007 - 02:41 pm:   

Hi All,

I'm trying to generate a WAP Push message that contains a SyncML DM plain profile bootstrap document. I've followed the instructions given in the post

but I'm having some problems. It seems that nowSMS is only including a portion of the plain profile bootstrap document in the wap push message. In fact, it seems to skip through the binary content of the payload until it finds a null byte, thereby excluding part of my document from the wap push message. Has anybody else noticed this? Or am I doing something wrong?

Here the HTTP request that I'm sending ( with the binary data removed )

POST /pap HTTP/1.0
Content-Type: multipart/related; boundary=mime-boundary; type="application/xml"
Content-Length: 823

Content-Type: application/xml

<?xml version="1.0"?>
[<?wap-pap-ver supported-versions="2.0,1.*"?>]>
<push-message push-id="">
<address address-value="wappush=+336534985/"></address>
Content-Type: application/
X-WAP-Application-ID: x-wap-application:push.syncml
Content-Transfer-Encoding: binary
Content-Length: 252

<252 bytes of binary data>


I have also attached a file that contains the full post including the binary data.

I'm using NowSMS v2006.03.09

Thanks in advance for your help,

plainprofile.bin (1.0 k)

Login Login / Register Logout Logout Search Last 30 Days Topics Topics