Skip to Content
0
Former Member
Apr 06, 2016 at 09:24 PM

Content conversion module MessageTransformBean

34 Views

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

Attachments