(Blimey, that was a mouth full!)
Hello,
I'm currently integrating with a mobile service provider called mblox. Basically the process if that the end user submit a text message to a number. Mblox then send a notification to our server, we interpret what's been sent and submit an output back to their servers with a wap push message. Mblox then deliver and charge the mobile user.
The return notifications to mblox are in xml format with the message part of the response (wap push) being in binary. The problem is I can't decode it! This is an example of the reponse xml:
<NotificationRequest Version="3.3">
<NotificationHeader>
<PartnerName>MyUserName</PartnerName>
<PartnerPassword>MyPassword</PartnerPassword>
</NotificationHeader>
<NotificationList BatchID="1">
<Notification SequenceNumber="1" MessageType="SMS"
Format="Binary">
<Message>:81:06:03:AE:81:EA:03:05:6A:00:45:C6:0C:03:61:62:63:3
1:2E:6D:62:6C:6F:78:00:85:03:6D:62:6C:6F:78:6C:6F:67:6F:74:36:
38:2E:67:69:66:00:0A:C3:07:20:04:07:16:12:49:15:10:C3:07:20:04
:07:23:12:49:15:01:03:20:6D:42:6C:6F:78:20:54:36:38:69:20:6C:6
F:67:6F:20:00:01:01</Message>
<Profile>9999</Profile>
<Udh>:06:05:04:0B:84:23:F0</Udh>
<SenderID Type="Alpha">Test</SenderID>
<Subscriber>
<SubscriberNumber>447900000000</SubscriberNumber>
</Subscriber>
</Notification>
</NotificationList>
</NotificationRequest>
"This Notification Request submits a binary message (including UDH), which will be
interpreted as a WAP push SI, if delivered to a Sony Ericsson T68i. The alert will point to the URL http://abc1.mblox.com/mbloxlogot68.gif (this resource does not exist), with the title “mBlox T68i logo”."
Can anyone therefore advise how to decrypt/encrypt the 'Message' section above or how to generate a WAP PUSH message in binary.
Any help at all is appriciated as I'm starting to headbut the table in frustration!
Many thanks,
Adam.