Steps, How DissemblerComponent converts FlatFile to XML

Hi,
I am working on custom FlatFile Dissembler Component. please suggest me, what is the internal Processing of FlatfileDissembler and how Flat file is converted into XML.
Regards
Atul

Actually my scenario is like this :
I am receiving 3 Flat files (Student.txt, Employee.txt,Department.txt ).I am having three schemas as:
1) comma delimited(,) - StudentSchema.xsd
2) Semicolon delimited(;) -EmployeeSchema.xsd
3) Pipe delimited(|) -DepartmentSchema.xsd
Student.txt
1,Atul,MCA,90
2,Abhishek,MBA,95
3,Prakash,BTECH,90
Employee.txt
Emp1;100;10000;Biztalk
Emp2;101;20000;SQL
Emp3;102;30000;VB
Emp4;103;40000;C#
Department.txt
1|Dev|A
2|IT|B
3|HR|C
I use a Receive Pipeline in which , i have 3 "Flat file disassembler Components", for each Schema (StudentSchema.xsd , EmployeeSchema.xsd, DepartmentSchema.xsd) . 
But i am getting Error if i change the sequence of Components in Pipeline . 
Ex : if i put StudentSchema disassembler Component first and i pass Student flat file as my first message , it works fine . but if i pass Employee or Department Flat File , Message got suspended .
 Pipeline Flatfile Dissamble stage Execution Mode is "First Match " .but it is not working
as expected 
Kindly Help me to solve this Issue.
Regards,
Atul

Similar Messages

  • Step by step bapi to convert SAP to XML please its urgent

    step by step bapi to convert SAP to XML please its urgent
    full points if with full example and coding in ABAP,
    Thank you,
    Regards,
    Jagrut Shukla

    yes i want to convert Catsdb table into xml format and safely in server, i.e secured  place

  • How to convert idoc into xml/edifact

    hi everyone just now i have started to work on edi, i want to kno how to convert idoc into xml/edifact. plz  reply asap

    Firstly, I will reply when and if I choose to. I do not require the asap nonsense at the end of your sentence.
    EDIFACT - You will need a subsystem.
    XML - I am not 100%. It may also depend on what version of SAP you are on. As I do not know if later versions of SAP can convert IDoc to XML.

  • How to convert well format xml in coldfusion?

    Hi,
    I am consuming asp.net webservice in coldfusion.It returns xml but it is not in wellformat.
    Please suggest me how to convert to well format xml.
    Advance Thanks,

    chandra12345 wrote:
    I am consuming asp.net webservice in coldfusion.It returns xml but it is not in wellformat.
    Please suggest me how to convert to well format xml.
    Technically speaking, a piece of text must be well-formed before it can be called an XML document. So you cannot yet say the returned text is XML.
    The first thing to do is to check whether it is. Use, for example, isXml(someString) to check whether someString is well-formed XML.
    There is no one standard way to convert text to well-formed XML. This is because there are infinitely many ways in which text can fail to be well-formed. The easiest solution for you will be to learn the rules for well-formed XML.
    Any elementary book on XML will teach you that. If you find books old-fashioned, then you could instead google well-formed xml .

  • Hi, how to convert pdf to xml

    hi, how to convert pdf to xml

    Hi Sunil,
    You have to use Acrobat for this.
    Open the pdf, go to File > Save as other > More options > select xml and save the file.

  • How to convert a string-xml placed  inside an xml tag to xml format.

    I have a invoke activity to invoke Web service(code snippet from bpel) .The text in bold is a string that gets formed based on some condition using concat inside while loop .Before calling the WS i need to convert this string into xml
    Any idea how can we do this ?
    <Invoke_A9WS_createObject_InputVariable>
    <part name="parameters">
    <createObject>
    <request>
    <requests>
    <classIdentifier>10141</classIdentifier>
    <data rowId="0">*<number>C0001</number><description>Component from CDM</description>*</data>
    </requests>
    </request>
    </createObject>
    </part>
    </Invoke_A9WS_createObject_InputVariable>
    Request someone to please help .
    Edited by: 869283 on Jul 14, 2011 4:34 AM

    Thanks Dev for your reply ..I have tried using parsEscapedXML but it gives exception
    Fault ID     default/ProjReverseTransform!1.0*soa_6761b853-f458-4b1a-b9c3-6c060cde9350/transform/210018-BpAss3-BpSeq0.3-3
    Fault Time     Jul 15, 2011 1:23:42 PM
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><subLanguageExecutionFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is oraext:parseEscapedXML('&lt;?xml version="1.0"?>&lt;number xmlns:ns2="http://schemas.oracle.com/service/bpel/common&amp;quot;>C0001 &amp;lt;/number>&amp;lt;description xmlns:ns2=&amp;quot;http://schemas.oracle.com/service/bpel/common">Component from CDM &lt;description>'). The XPath expression failed to execute; the reason was: internal xpath error. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary></part><part name="code"><code>XPathExecutionError</code></part></subLanguageExecutionFault></bpelFault>
    I am using the assign activity as below
    <assign name="Assign_BpelVar">
    <copy>
    <from expression="oraext:parseEscapedXML('&lt;?xml version=&quot;1.0&quot;?>&lt;number xmlns:ns2=&quot;http://schemas.oracle.com/service/bpel/common&amp;quot;>C0001 &amp;lt;/number>&amp;lt;description xmlns:ns2=&amp;quot;http://schemas.oracle.com/service/bpel/common&quot;>Component from CDM &lt;description>')"/>
    <to variable="parameterVar"
    query="/ns2:parameters/ns2:item/ns2:value"/>
    </copy>
    </assign>
    I have harcoded the string here so as to check the working othersie this string gets formed inside a while loop and is stored in a variable.
    parameterVar is variable of type
    <variable name="parameterVar" element="ns2:parameters"/>
    XSD for parameterVar
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/service/bpel/common"
    targetNamespace="http://schemas.oracle.com/service/bpel/common"
    elementFormDefault="qualified">
    <xsd:element name="parameters">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="item" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="value">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:any minOccurs="0"
    maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

  • How to convert org hierarchy XML to CSV/Excel format using PI/XI

    Hi All,
    I am working with SAP PI/XI for the first time and need some help file conversion of complex hierarchy XML to CSV file using PI. I have done plenty of research on SDN and could find much related to what I want to do.
    Here is the example of how my input XML would look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <PartyMaster type="OrgHierarchy" name="Compass Group Owned">
    <PartyMasterHierarchy>
    <Hierarchy level="3" nodeName="Bon Appetit Sector" type="Sector" ID="A00000" refID="A00000">
    <Hierarchy level="4" nodeName="BA Division" type="Division" ID="AB0000" refID="AB0000" >
    <Hierarchy level="5" nodeName="BA East Coast Region" type="Region" ID="ABE000" refID="ABE000">
    <Hierarchy level="6" nodeName="Engstrom, John RVP" type="District" ID="ABE01" refID="ABE01" >
    </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    <Hierarchy level="3" nodeName="Levy Sector" type="Sector" ID="K00000" refID="K00000".
    <Hierarchy level="4" nodeName="Levy Sector Division" type="Division" ID="K90000" refID="K90000">
    <Hierarchy level="5" nodeName="Levy Sector Region" type="Region" ID="K99000" refID="K99000">
    <Hierarchy level="6" nodeName="TBA Total" type="District" ID="K9901" refID="K9901"> </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    </PartyMasterHierarchy>
    </PartyMaster>
    I would like to get CSV output in the format below
    DISPLAY_NAME, DOCUMENT_DESCRIPTION, PARENT, EXTERNAL_ID, ORG_UNIT_TYPE
    Bon Appetit Sector, Bon Appetit Sector,constant value, A00000, constant value
    Levy Sector, Levy Sector, constant value, K00000, constant value
    BA Division, BA Division, A00000, AB0000, constant value
    Levy Sector Division, Levy Sector Division, K00000, K90000, constant value
    BA East Coast Region, BA East Coast Region, AB0000, ABE000, constant value
    Levy Sector Region, Levy Sector Region, K90000, K99000, constant value
    Engstrom John RVP, Engstrom John RVP, ABE000, ABE01, constant value
    TBA Total ,TBA Total ,K99000, K9901, constant value
    1) How do I go about this? I think I have to configure an adapter but which adapter would give me the desired result?
    2) How do I tell PI when to pick the file from and where to place it after conversion? Could this be done in adapter configuration?
    Any help will be greatly appreciated.
    Thanks.
    --Mithun

    >>> 1) How do I go about this? I think I have to configure an adapter but which adapter would give me the desired result?
    Use File adapter at the sender side to pick up the xml and use file adapter at the receiver side (message protocol file content conversion) to convert xml format to csv.
    Basically you have to configure in the file adapter (FCC) on the receiver side to get desired csv structure from XML.
    >>> 2) How do I tell PI when to pick the file from and where to place it after conversion? Could this be done in adapter configuration?
    Configure sender file adapter to pick up the file from the specified directory. Configure receiver file (fcc adapter) to drop the csv file after conversion.
    For sender adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    For receiver adapter in our case FCC (FILE content Conversion) follow the link
    http://help.sap.com/saphelp_NW04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Hope answered your question.
    Mapping area: simple suggestion. Keep input and output message same structure and do one to one mapping.  In the receiver fcc adapter configure for csv structure following instruction given in the above second link
    Note: FCC adapter does not support nested structure more than 2. So in your case you can achieve using conversion agent tool. Otherwise you might have to achieve through some graphical mapping.

  • How to convert xlst to xml

    I have a below code need to convert to xml format, please help
    <p textLikeLists="N" tabAfter="" tabBefore="" actualTabBefore="" actualTabAfter="" tabList="N" currentListTab="" currentLvlJc="" bodyStartIndent="0pt" bodyStartIndentSrc="" bulletType="N" bulletFontFamily="" style="margin-top:0pt;margin-bottom:0pt;line-height:12pt;" miscellaneous="after:0;line-rule:;line:;">ARTICLE 1 - DEFINITIONS. As used throughout this Agreement:</p>

    Kevin Lii wrote:
    I have a below code need to convert to xml format, please help
    <p textLikeLists="N" tabAfter="" tabBefore="" actualTabBefore="" actualTabAfter="" tabList="N" currentListTab="" currentLvlJc="" bodyStartIndent="0pt" bodyStartIndentSrc="" bulletType="N" bulletFontFamily="" style="margin-top:0pt;margin-bottom:0pt;line-height:12pt;" miscellaneous="after:0;line-rule:;line:;">ARTICLE 1 - DEFINITIONS.  As used throughout this Agreement:</p>
    Care to elaborate a little more?
    Noboby can help with such a cryptic requirement.
    What output do you want?
    How does XSLT fit in? (assuming that's what you meant in the thread title)
    And see how to use tags to enclose code snippets, otherwise it's not readable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to convert to ' ' in xml using xsl.

    Hi all,
    I have a string downloaded which has the following string
    String= text1 <I> text2 </I&it;
    I have italics tag in my xml file. But my browser does not identifies italics. So i decided to comment out italics tag in my xml using xsl
    So what i need is
    String = text1 <!--I-->text2<!--I-->
    basically to comment out italics tag alone.
    How can i replace <I> to <!--I-->?
    Is there any way in xsl to do the above in a string?
    or
    Any other ways where i can just remove <I> in my out xml file using xsl?
    Thanks in advance.
    Menaga.

    Hi,
    The ultimate solution would be that you also install also a cocoon server (http://cocoon.apache.org/), but that might be overkill.
    Have a look at /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp for detailed info on creating PDF from BSP.
    If you want to use XSL(-FO), you might have a look at things like http://alt-soft.com/products_xml2pdf.jsp to be called as external command.
    Eddy

  • How to convert pdf to xml or pdf to doc

    My requirement is that i want to convert pdf data to xml.. Could any one please help me this issue

    Good work
    Good Luck.
    My
    Si
    tes

  • How to convert HTML into XML

    I know I can parse XML into some HTML, but is there any tools or methods existed to parse HTML into XML?
    I have a not well-formed HTML with a lot data fields, including a lot not closed tags. This HTML is generated by some XML(as I can see), but I can't find a way to reform it into a XML, and eventually stored the data into another database.
    Anyone can help me? I appreciate!
    KIB

    As SAm has told you, you can use jTidy, for the purpose, a sample code , which can convert an html file to xml file is given at following url:
    see the documentation as well.
    http://sourceforge.net/docman/display_doc.php?docid=1298&group_id=13153
    gaurav_k1

  • How to Convert the following XML? using XSLT Mapper?

    Hey all,
    I have a simple looking but complex problem
    I have a XML file like this
    <userdata>
    <city> new york</city>
    <address>San Fransico </address>
    </userdata>
    My result XML should look like this
    <UserDetails>
    <Details>
    <id>1234</id>
    <place>new york</place>
    </Details>
    <Details>
    <id>42345</id>
    <place>San Fransico </place>
    </Details>
    </UserDetails>
    I tried things but they never worked.
    Any help regarding this will be of great helpppppppppppppppppppppppppp!!
    Thanks in advance
    -Murthy.

    You can use XSLT. Between, where do you want to get the ID values of the place tag in result xml.
    --Shiv                                                                                                                                                                                                                       

  • Is xml dissembler component can convert flatfile to xml file in biztalk

    Hi please see the subject line

    actually, in disassembler stage only one will execute based on "First match" criteria.
    i don't understand why you are trying to use xml disassembler. for it.
    all that you need is, in your schema at record level, set max occur to 1.
    And create separate header and trailer schemas and set those properties in your flat file disassembler component. that's it, it should debatch all your records in your message. 
    No need to use xml disassmbler.
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How should convert text file into XML file?

    I do a project "WEB SERVER LOG ANALYZER" using JSP. For that i copy the content of log file into the other file . how i convert it into XML file . xplain with coding

    Read this [page.|http://www.devx.com/getHelpOn/10MinuteSolution/20356]

  • How to convert an xml to wbxml

    Hi,
    I want to use wbxml format,but i am not getting how to convert a simple xml to wbxml,and parse wbxml and displa the data.
    Can anyone provide me some useful links or some sample example?
    Thank You

    Use [kXML parser.|http://kxml.objectweb.org/]

Maybe you are looking for

  • ITunes only gives me the option of setting up as a new phone, or from backup?

    Hi guys, I'm having an issue with my new iPhone 6 Plus and connecting it to iTunes. To cut a long story short;  I received a brand new, sim free iPhone 6 Plus for Christmas, upgrading from my old 4s.  I backed up the 4s to iTunes on my PC (not iCloud

  • Changing MIDI Port Order is wreaking havoc on my Environment

    Anyone seen this before? I've got a MOTU Midi Express with 4 ins and outs - it's my main interface. I've also got a Novation Remote25SL which works as a control surface/controller with 3 out ports. It requires some special Environment cabling to work

  • AudioSystem.getMixerInfo() problem with linux

    Hello, I use: jdk1.5.0, alsa-driver-1.0.4 and kernel 2.4.19. I also have 3 soundcards (one on-board and two Live 5.1). I use AudioSystem.getMixerInfo() to access my soundcards. It return either 0 length array or just my on-board card. I have also use

  • Apache & missing libaprutil-1.so.0 [Solved]

    I just updated my system via pacman, and now can't get apache to start. httpd -k start gives me the following: httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory Th e refernce to

  • Viewing pictures directly in email

    I use gmail, and on my iphone 3g I can't view the pictures that I am being sent from other iphones directly in the email, I have to download the attachment first and sometimes they take a while. Anyone know how to fix this?