Page 1 of 1

Receiving Wap Push Messages

Posted: Thu Jun 29, 2017 9:47 am
by wcchor
Hi alt,

I've been using your library to handle MT/MO for quite sometime and it has been very helpful!

However recently I have new requirement to build WAP related gateway module, based on my current understanding, there's a couple primary info for a WAP Message, eg:
1. esmClass = 64
2. dataCoding = 4
3. source and destination
4. title
5. url

After doing some searching I found out how to send WAP Push using your libray, but may I ask how about the receiving part?

I'm actually having trouble with getting the title and URL because the data in Inetlab.SMPP.PDU.SubmitSm.MessageText seems to be corrupted.

Sample code of sending below:

Code: Select all

_client.Submit(SMS.ForWapPush()
                .TransactionId(transactionId)
                .From("1111").To("60166609999")
                .Title("Google").Url("http://www.google.com")
                );
And the data.MessageText on server side actually shows "\t®j\0EÆ\rgoogle.com\0\aGoogle\0", which doesn't really make sense.

Can you kindly guide me on how to retrieve the Title and URL from SubmitSm object?

Thank you so much.

Re: Receiving Wap Push Messages

Posted: Mon Jul 03, 2017 7:38 pm
by alt
Library can only build WAP push message, but it cannot deserialize it.

In order to implement this you may need following references:
Service Indication
WBXML
WAP_203_WSP see 8.2

Re: Receiving Wap Push Messages

Posted: Fri Aug 04, 2017 6:11 am
by ElvinLo
alt wrote:
Mon Jul 03, 2017 7:38 pm
Library can only build muscle with these pre workouts and push message, but it cannot deserialize it.

In order to implement this you following references:
Thanks alt, I'm trying to do the same with wap push messages but I think this is too complicated for me.