Skip to main content

i am trying to create a tag <Send xmlns="http://tempuri.org/"> using XML outbound message in IFS FSM. Can anyone help me on how to configure this url using xml maps. Below is the expected output.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" >
    <soap:Body>
        <Send xmlns="http://tempuri.org/">
            <userid>xxxxx</userid>
            <password>xxxx</password>
            <SourceAddress>xx</SourceAddress>
            <DestinationAddress>xxxxx</DestinationAddress>
            <ShortMessage>xxxxx</ShortMessage>
            <FlashSMS>xxx</FlashSMS>
            <Smsc>xxxxx</Smsc>
        </Send>
    </soap:Body>
</soap:Envelope>

You can create this xml using the below map.

As you can see, a new mapping record is added as:

Extract Column = @xmlns, Value = http://tempuri.org/

 

This map will result in the following xml.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap:Envelope
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <Send xmlns="http://tempuri.org/">
            <userid>xxx</userid>
            <password>xxx</password>
            <SourceAddress>xxx</SourceAddress>
            <DestinationAddress>xxx</DestinationAddress>
            <ShortMessage>xxx</ShortMessage>
            <FlashSMS>xxx</FlashSMS>
            <Smsc>xxx</Smsc>
        </Send>
    </soap:Body>
</soap:Envelope>


Thank You @Nirmal Seneviratne Could you please assist on how we can concat 

“charset=utf-8”  and to add http headers as 
“Content-Type: text/xml; charset=utf-8” and I have tried as below but it is not working as expected. Kindly advice.

 

Thanks

Manikandan