0% found this document useful (0 votes)
110 views2 pages

Ussd XML

The document contains XML messages and HTTP headers related to a USSD session. It shows the initiation of a USSD session with a request, the delivery of a USSD notification to the user with response options, and the ending of the session with a response from the user.

Uploaded by

Naser Naseer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views2 pages

Ussd XML

The document contains XML messages and HTTP headers related to a USSD session. It shows the initiation of a USSD session with a request, the delivery of a USSD notification to the user with response options, and the ending of the session with a response from the user.

Uploaded by

Naser Naseer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

POST /ussddemo/test HTTP/1.

1
Accept: text/xml
Content-Length: 702
Content-Type: text/xml
Content-Encoding: utf-8
Host: 127.0.0.1:8080
Connection: Keep-Alive

<?xml version="1.0" encoding="UTF-8" ?>


<dialog type="Begin" appCntx="networkUnstructuredSsContext_version2" networkId="0"
localId="1" remoteId="1" mapMessagesSize="1" returnMessageOnError="false">
<localAddress pc="2" ssn="8">
<ai value="67"/>
</localAddress>
<remoteAddress pc="1" ssn="8">
<ai value="67"/>
</remoteAddress>
<destinationReference number="222222" nai="international_number" npi="ISDN"/>
<originationReference number="111111" nai="international_number" npi="ISDN"/>
<processUnstructuredSSRequest_Request invokeId="0" dataCodingScheme="15"
string="*519#">
<msisdn number="9960639901" nai="international_number" npi="ISDN"/>
</processUnstructuredSSRequest_Request>
</dialog>

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Set-Cookie: JSESSIONID=89A78491F65358B865059CA39439F050; Path=/ussddemo
Transfer-Encoding: chunked
Date: Fri, 17 Sep 2021 12:58:55 GMT

2df
<?xml version="1.0" encoding="UTF-8" ?>
<dialog type="Continue" appCntx="networkUnstructuredSsContext_version2"
networkId="0" localId="1" remoteId="1" mapMessagesSize="1"
customInvokeTimeout="25000" returnMessageOnError="false" userObject="Session Id :
89A78491F65358B865059CA39439F050">
<localAddress pc="2" ssn="8">
<ai value="67"/>
</localAddress>
<remoteAddress pc="1" ssn="8">
<ai value="67"/>
</remoteAddress>
<destinationReference number="222222" nai="international_number" npi="ISDN"/>
<originationReference number="111111" nai="international_number" npi="ISDN"/>
<unstructuredSSRequest_Request invokeId="0" dataCodingScheme="15"
string="USSD String : Hello World&#10; 1. Balance&#10; 2. Texts Remaining"/>
</dialog>
0

<?xml version="1.0" encoding="UTF-8" ?>


<dialog type="Continue" appCntx="networkUnstructuredSsContext_version2"
networkId="0" localId="1" remoteId="1" mapMessagesSize="1"
returnMessageOnError="false" userObject="Session Id :
89A78491F65358B865059CA39439F050">
<localAddress pc="2" ssn="8">
<ai value="67"/>
</localAddress>
<remoteAddress pc="1" ssn="8">
<ai value="67"/>
</remoteAddress>
<destinationReference number="222222" nai="international_number" npi="ISDN"/>
<originationReference number="111111" nai="international_number" npi="ISDN"/>
<unstructuredSSRequest_Response invokeId="0" dataCodingScheme="15"
string="2"/>
</dialog>

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Transfer-Encoding: chunked
Date: Fri, 17 Sep 2021 12:59:10 GMT

2a6
<?xml version="1.0" encoding="UTF-8" ?>
<dialog type="End" appCntx="networkUnstructuredSsContext_version2" networkId="0"
localId="1" remoteId="1" mapMessagesSize="1" prearrangedEnd="false"
returnMessageOnError="false" userObject="Session Id :
89A78491F65358B865059CA39439F050">
<localAddress pc="2" ssn="8">
<ai value="67"/>
</localAddress>
<remoteAddress pc="1" ssn="8">
<ai value="67"/>
</remoteAddress>
<destinationReference number="222222" nai="international_number" npi="ISDN"/>
<originationReference number="111111" nai="international_number" npi="ISDN"/>
<processUnstructuredSSRequest_Response invokeId="0" dataCodingScheme="15"
string="Thank You!"/>
</dialog>
0

oÕoÓ0

You might also like