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

File Content Conversion - Receiver Adapter

Hi To All

I have an XML Structure

<LIST>
	<Seg1>
		<Element1>123</Element1>
	</Seg1>
	<Seg2>	
		<Element1>ABC</Element1>
		<Element2>DEF</Element2>
		<Element3>GHF</Element3>
   	</Seg2>	
<LIST>

I'm using File content conversion in receiver Adapter

I want my output like this.

ABCDEFGHF

I don't need the Segment Seg1.

In my parameters RecordsetStructure only I have Seg2 and the details for this Segment

but When I receive a file, the adapter convert with segment 1.

123
ABCDEFGHF

can you help me?.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2009 at 02:26 AM

    FCC will transform the Content of XML to Flat file. It cannot withhold any data that is present.

    I will do a 2nd mapping that will contain only those nodes & Segments that are required in FileContent Convertion.

    Regads,

    Siva Maranani

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 07, 2009 at 08:32 AM

    Hi,

    Please do not map Seg1 in the receiver mapping side.

    Then it will not come.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2009 at 08:19 PM

    easiest alternative is mentioned here already, drop it in the mapping.

    You can also try to write a java pgm and invoke it as an OS command. that cuts the segment1 out before passing it to content conversion. ..more painful..but will work.

    Regards

    Ravi Raman

    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.