1 Reply Latest reply: Jan 28, 2013 10:30 PM by 974733 RSS

    Urgent - Adding XML version along with CDATA enabled XML message in OSB

    974733
      Hi,

      we have requirement where our OSB service receives SOAP response message from SAP system has to send that data to client webservice after adding CDATA tags and XML version. here is the syntex -


      Since client expect data in below format.

      .......
      ....
      <web:data>
      *<![CDATA[*
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <***_Response>
      <Record>
      <PO_DATE>20130102</PO_DATE>
      ...........
      </Record>
      </***_Response>
      ]]>
      </web:data>
      ...
      ...

      we are able to add CDATA tags using OSB fn-bea:serialize funcation but unable to add " <?xml version="1.0" encoding="UTF-8" standalone="yes"?>" tags in output message. we have tried concat xml version syntax with bea:serialize but thats removing CDATA tags,

      Could some please advice, how I can add "?xml version..." syntax in my response message but this should be under *<![CDATA[* tags.  We have tried verious combination of insert/delete/replace activity but nothing worked.


      Thanks in advance.