cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass entire Message as a String in Message Mapping

Former Member
0 Kudos

Hi,

I have a source structure like below :

<SRC_DET_XML>

        <DetailRecord LineNumber = "1">

                  <Fileds>abc</Fields>

       </DetailRecord>

        <DetailRecord Linenumber = "2">

                  <Fileds>xyz</Fields>

       </DetailRecord>

</SRC_DET_XML>

I have target field(SRC_ITEM) which needs to be capture entire DetailRecord structure as a string.

I tried in the mapping like below.

SRC_DET_XML(Return as XML) -------> Splitbyvalue ------->  SRC_ITEM

But it's not working......appreciate your inputs

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Use replacestring function ( hope i understood u correctly):

Thanks

Amit Srivastava

Message was edited by: Amit Srivastava

former_member184681
Active Contributor
0 Kudos

Hi,

Try with the following:

DetailRecord(Return as XML) -> splitByValue -> SRC_ITEM

Hope this helps,

Greg