Dear All,

 

I am trying to generate WAP Push using DTD PAP 1.0. I can successfully
generate WAP push on standard port that is 2948. For a particular port I
have to change UDH for the WAP Push.  The XML code I am sending to my WAP
gateway is

 

Message to http://mydomain.com:8080/wappush

 

Content-Type: multipart/related; boundary=PMasdfglkjhqwert;
type="application/xml"

 

--PMasdfglkjhqwert

Content-Type: application/xml

 

<?xml version="1.0"?>

<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
"http://www.wapforum.org/DTD/pap_1.0.dtd";>

<pap>

<push-message push-id="PI/450720"> 

  <address address-value="WAPPUSH=+1234567891/type=p...@mydomain.com"/>

</push-message>

</pap>

--PMasdfglkjhqwert

Content-Type: text/vnd.wap.si

 

<?xml version="1.0" encoding="iso-8859-1"?>

<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/SI.dtd";>

<si>

  <indication href="http://Yahoo.com"; 

    si-id = "WapIDE_SI/10" 

    >Open Yahoo</indication>

</si>

 

--PMasdfglkjhqwert-

 

The above XML successfully generates a WAP Push on standard port i.e. 2948.
I want this WAP Push on a particular port e.g. 5500. I know this can be done
by modifying UDH and by changing udh=%06%05%04%0B%84%23%F0 but don't know
where to change. 
 
Any help will be much appreciated. 

 

Reply via email to