Skip to Content
author's profile photo Former Member
Former Member

How to pass entire Message as a String in Message Mapping

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Apr 27, 2012 at 07:34 AM

    Hi,

    Try with the following:

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

    Hope this helps,

    Greg

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 27, 2012 at 07:39 AM

    Hi,

    Use replacestring function ( hope i understood u correctly):

    Thanks

    Amit Srivastava

    Message was edited by: Amit Srivastava


    Image.jpg (22.3 kB)
    Image.jpg (22.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.