Title: cobol copybook inside CDATA

Hi,

I have to transform a Cobol copybook to XML in the broker flow. The output message would look as follows

<?xml version="1.0" encoding="UTF-8"?>
<xmlRequest xmlns="http://a.b.com/ns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"       xsi:schemaLocation="http://a.b.com/ns/Input.xsd ">

  <Header>
     <attr1>attr1</attr1>
      ......
  </Header>
  <inputRequestBody>
    <request>
      <inputRequest>
         <field1>field1</field1>
         .......
      </inputRequest>
      <Query1Data>
             <![CDATA[FIELD1   FIELD2  FIELD3    ]]>                                                                                                                                            

      </Query1Data>
      <Query2Data>
             <![CDATA[FIELDX 0000 FIELDY ]]>
      </Query2Data>
    </request>
   </inputRequestBody>
</xmlRequest>

The CDATA sections needs to be in a cobol copybook format. How can I use intermediate message sets to accomplish this? Is there any other technique other than using intermediate message sets.

Thanks in advance

Subhajit


This e-mail may contain confidential or privileged information. If you
think you have received this e-mail in error, please advise the sender by
reply e-mail and then delete this e-mail immediately. Thank you. Aetna

Reply via email to