cancel
Showing results for 
Search instead for 
Did you mean: 

Content conversion module MessageTransformBean

yajjala1
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi John

Configure parameter below:-

xml.structureTitle = LTSARecordSet

Regards

Eng Swee

yajjala1
Participant
0 Kudos

Hello Eng,

I am getting this error:

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.adapter.http.api.HttpAdapterException: STATUS_CODE_NOT_OK-Error during parsing of SOAP header.


Could you please help me..


I am using AAE, abap proxy..


Thank you

John

engswee
Active Contributor
0 Kudos

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

Answers (0)