Skip to Content
avatar image
Former Member

Content conversion module MessageTransformBean

Hello,

I have simple scenario SFTP to ABAP proxy in process orchestration..

My input file is

12345666777777

223454566666666

My Message type

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:city-cob:ltsadata:to:sap" targetNamespace="urn:city-cob:ltsadata:to:sap">

   <xsd:element name="LTSARequest_MT" type="LTSARequest_DT" />

   <xsd:complexType name="LTSARequest_DT">

      <xsd:annotation>

         <xsd:documentation xml:lang="EN">

         LTSA Property Data

         </xsd:documentation>

      </xsd:annotation>

      <xsd:sequence>

         <xsd:element name="LTSARecordSet" maxOccurs="unbounded">

            <xsd:complexType>

               <xsd:sequence>

                  <xsd:element name="LTSARecords" type="xsd:string" />

               </xsd:sequence>

            </xsd:complexType>

         </xsd:element>

      </xsd:sequence>

   </xsd:complexType>

</xsd:schema>

Content conversion configuration is:

output is coming as:

<?xml version="1.0" encoding="utf-8"?>

<ns:LTSARequest_MT xmlns:ns="urn:city-cob:ltsadata:to:sap">

  <row>

  <LTSARecords>

<?xml version="1.0" encoding="utf-8"?>

<ns:LTSARequest_MT xmlns:ns="urn:city-cob:ltsadata:to:sap">

  <row>

  <LTSARecords>12345666777777</LTSARecords>

  </row>

  <row>

  <LTSARecords>223454566666666</LTSARecords>

  </row>

</ns:LTSARequest_MT>

My question is how to replace "</row>" tag with my recordset name "LTSARecordSet".

Thank you

John

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 07, 2016 at 01:24 AM

    Hi John

    Configure parameter below:-

    xml.structureTitle = LTSARecordSet

    Regards

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • Hi John

      As this is a different issue, please raise a different thread for this. Please provide as much info as possible, i.e. your configuration details as well as screenshot of the error.

      Regards

      Eng Swee