Page 1 of 1

WAP PUSH MESSAGE

Posted: Thu May 24, 2012 3:35 pm
by majortargets
Hello Alt,

I tried to send wap push message with your dll but it is complaining about the first parameter i.e transaction ID. what am i suppose to add there. see may code below. Kindly share with me a working sample if you have it.

Public Sub WapPushSubmit(ByVal originator As String, ByVal destination As String, ByVal textmessage As String, ByVal title As String)
' Use this commented example to prepare and send Wap Push message.
Dim packets As List(Of Inetlab.SMPP.PDU.SubmitSm)
packets = client.PrepareWapPush(Byte.Parse("1"), Byte.Parse(tbSrcAdrTON), Byte.Parse(tbSrcAdrNPI), originator, Byte.Parse(tbDestAdrTON), Byte.Parse(tbDestAdrNPI), destination, textmessage, title)
client.SubmitAsync(packets)
End Sub

Re: WAP PUSH MESSAGE

Posted: Wed May 30, 2012 7:33 pm
by alt
Hi majortargets,

Did you get any error message?

I think you need to replace parameter "textmessage" with url to wap page.

Re: WAP PUSH MESSAGE

Posted: Wed May 30, 2012 9:07 pm
by majortargets
Hi Alt,

Thanks for your reply.

I got an error message which is related to the first parameter Byte.Parse("1"). I will update you with the exact error message.

The parameter text message is a url string, not a text

Re: WAP PUSH MESSAGE

Posted: Sat Jun 02, 2012 6:16 pm
by majortargets
Hello,

I have tried it again and it is working now.

Thanks