AnsweredAssumed Answered

Parse Complex Type XML payload

Question asked by robin.zhang344808 on Oct 22, 2018
Latest reply on Oct 23, 2018 by britto.parthalomew

Hi, everyone

 

I have the following XML payload. When I tried to import as XML, Boomi cannot parse type definition correctly. For example, it will read <P0> Xsi:type as attribute rather than type definition. I am wondering if there is a way Boomi can read the foolowing XML correctly rather than build everything from scratch. 

 

Thanks 

 

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://systinet.com/wsdl/it/codegen/tbx/client/webclient/salesforce/SalesForceWebClientManager#saveWebProfile?KExpdC9jb2RlZ2VuL3RieC9jbGllbnQvd2ViY2xpZW50L3NhbGVzZm9yY2UvV2ViQ2xpZW50U2F2ZUNyaXRlcmlhOylMaXQvY29kZWdlbi90YngvY2xpZW50L3dlYmNsaWVudC9SZXN1bHRQYWNrOw==" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <soapenv:Header/>
   <soapenv:Body>
      <web:saveWebProfile soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <p0 xsi:type="web:WebClientSaveCriteria" xmlns:web="http://systinet.com/wsdl/it/codegen/tbx/client/webclient/salesforce/">
            <password>1</password>
            <username>1</username>
             <webClients xsi:type="ms:ArrayList" xmlns:ms="http://systinet.com/containers/encoded/ms.net">
               <Items xsi:type="ms:ArrayOfAnyType" soapenc:arrayType="xsd:anyType[]">
                  <!--Zero or more repetitions:-->
                  <item xsi:type="web:WebClient">                   
                    <clientType>DIRECT</clientType>
                      <address>2 Test Street</address>
                  </item>
               </Items>
             </webClients>
         </p0>
      </web:saveWebProfile>
   </soapenv:Body>
</soapenv:Envelope>

Outcomes