Receiving Wap Push Messages

.NET library for SMPP protocol
Post Reply
wcchor
Posts: 3
Joined: Mon Mar 20, 2017 8:21 am

Receiving Wap Push Messages

Post by wcchor » Thu Jun 29, 2017 9:47 am

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.
Last edited by wcchor on Mon Jul 23, 2018 4:49 am, edited 1 time in total.
alt
Site Admin
Posts: 742
Joined: Tue Apr 25, 2006 9:45 am

Re: Receiving Wap Push Messages

Post by alt » Mon Jul 03, 2017 7:38 pm

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
ElvinLo
Posts: 1
Joined: Fri Jul 28, 2017 9:30 am

Re: Receiving Wap Push Messages

Post by ElvinLo » Fri Aug 04, 2017 6:11 am

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

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