{"id":778,"date":"2020-03-05T14:18:32","date_gmt":"2020-03-05T14:18:32","guid":{"rendered":"https:\/\/mobiletidings.com\/?p=778"},"modified":"2020-04-13T08:43:11","modified_gmt":"2020-04-13T07:43:11","slug":"wap-push-over-sms","status":"publish","type":"post","link":"https:\/\/techsofar.com\/wap-push-over-sms\/","title":{"rendered":"WAP Push Over SMS (The Complete Guide)"},"content":{"rendered":"
As you may understand, the data you can send via SMS is limited. It is limited because:<\/p>\n
So how do you send more and richer information to a device? There are 2 possibilities:<\/p>\n
Today I\u2019ll focus on WAP push.<\/p>\n
The principle of WAP push is simple. You send an HTTP link. Yes, you can already do this with plain text SMS messages. The special thing about WAP push is that you can tell the device what to do with the link. There are 2 common actions:<\/p>\n
Both forms of WAP push can be sent in an SMS message. Again we\u2019ll need to use the User Data Header (UDH) to get the appropriate WAP push behaviour. Both forms of WAP push effectively send an XML document to the device. Of course, XML is very chatty, so these XML documents are encoded. The encoding is known as WBXML.<\/p>\n
An example XML document sent with a Service Indication WAP Push message is the following:<\/p>\n[php]<\/pre>
\n<pre class="xml"><?xml version="1.0"?>
\n<!DOCTYPE si PUBLIC "-\/\/WAPFORUM\/\/DTD SI 1.0\/\/EN"
\n "www.wapforum.org\/DTD\/si.dtd">
\n<si>
\n <indication href="http:\/\/mobiletidings.com\/"
\n created="2009-02-19T16:25:00Z"
\n si-expires="2009-02-26T16:25:00Z">Please visit Mobile Tidings!<\/indication>
\n<\/si>
\n[\/php]\n
The structure this XML document should be self-explanatory:<\/p>\n
An example XML document sent with a Service Indication WAP Push message is the following:<\/p>\n[php]<\/pre>
\n<pre class="xml"><?xml version="1.0"?>
\n<!DOCTYPE sl PUBLIC "-\/\/WAPFORUM\/\/DTD SL 1.0\/\/EN"
\n "www.wapforum.org\/DTD\/sl.dtd">
\n<sl href="http:\/\/mobiletidings.com\/"\/>
\n[\/php]\n
This XML document is even simpler. It just contains the link to the content that is to be pulled.<\/p>\n
The information that is missing is:<\/p>\n
We\u2019ll focus on these items in the next post.<\/p>\n","protected":false},"excerpt":{"rendered":"As you may understand, the data you can send via SMS is limited. It is limited because: A…\n","protected":false},"author":2,"featured_media":780,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/techsofar.com\/wp-content\/uploads\/2020\/03\/WAP-PUSH.jpg","_links":{"self":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts\/778"}],"collection":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":0,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts\/778\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/media\/780"}],"wp:attachment":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/categories?post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/tags?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}