AnsweredAssumed Answered

How to embed an XML into a soap envelope

Question asked by reddimseshu on Oct 11, 2017
Latest reply on Oct 12, 2017 by reddimseshu

Hi Boomi Friends,

I have a requirement toembed an xml into a soap envelope. 

for example 

 

xml structure : 

 

<Boomi>

<contact1>1</contact1>

<contact 1>2</contact2>

<contact3>3</contact3>

</Boomi>

 

Soap envelope: 

<?xml version="1.0" encoding="utf-8" ?>  <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      xmlns:xsd="http://www.w3.org/2001/XMLSchema">  <soap:Body>     </soap:Body> </soap:Envelope>

final output:

 

need to embedd the xml in soap envelope

<?xml version="1.0" encoding="utf-8" ?>  
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
<soap:Body>     
   <Boomi>

   <contact1>1</contact1>

   <contact 1>2</contact2>

   <contact3>3</contact3>

   </Boomi>

</soap:Body> </soap:Envelope>

please help to provide a graphical picture on how to achieve this requirement

Outcomes