cancel
Showing results for 
Search instead for 
Did you mean: 

XML out put in predefined format

former_member209575
Contributor
0 Kudos

Dear All,

We are trying to send bilk SMS using client application. The client application needs a file in below format for sending SMS

I have to generate an xml file in the reciver side in below format.

http://www.XML_parse_API.php?action=send&; data=

<MESSAGE VER="1.2"> <USER USERNAME="xxx" PASSWORD="xxx" DLR="0"/>

<SMS TEXT="This is first sms" ID="1">

<ADDRESS FROM="test" TO="919944014" SEQ="1"/>

<ADDRESS FROM="test" TO="91996016" SEQ="2"/>

</SMS>

<SMS TEXT="This is second sms" ID="2">

<ADDRESS FROM="test" TO="919945014" SEQ="1"/>

<ADDRESS FROM="test" TO="919945016" SEQ="2"/>

</SMS>

</MESSAGE>

Kindly guide me how to acieve it.

Regards

Pradeep P N

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

did the target system share any XSD or data structure with you?

If so you can easily do a mapping.

Else try to use a java or XSLT mapping that will help you create the target structure.