Extracting XML fields and send it to backend

Can somebody give me an idea of how to take XML,extrace some fields from XML and send it to backend using stateless session bean?Which API's I should use?
Thanks,
Sonali

First and the foremost thing you require is a Java XML Parser....there are plenty available....xml4j, xerces, etc....google search will certainly yield better results in this category....
These tools will provide two ways to parse the given xml...DOM and SAX (don't ask me the details, pick up a book/search the net). Depending upon which parsing way you took, desired elements from the xml can be picked up....Now all of the code written to achieve the above can reside anywhere...either in a Swing client, Servlets, EJbs or whereever (of course you will require parsers jar file in the classpath). And then you can do anything with this data, send it to server or write it to a file!
Hope it helps.....but I sincerely suggest gaining kowledge by reading doc & trying examples in Sun site....U will find plenty of tutorials
Cheers,
Manjunath

Similar Messages

  • Check for a Comma (,) in an address field and send tht (,) as blank space t

    Hi,
    I have requirement , where I'm supposed to check for a Comma (,) in an address field and send tht (,) as blank space to the workarea.
    Do we have any FM or any check method for this.
    Plz tell me.
    Rohini.

    Hi,
      say address fields is "v_addr"
    DATA : v_len TYPE I,
               v_cnt1 TYPE i,
               v_cnt2 TYPE I value 1.
    v_addr = 'adresss,fiedls '.
    v_len = strlen( v_addr ) .
    DO v_len TIMES.
         IF v_addr+v_cnt1(v_cnt2)  EQ ','  .
             v_addr+v_cnt1(v_cnt2) = ' '.
            v_cnt1 = v_cnt1 + 1.
         ENDIF. 
    ENDDO.

  • Read  an XML file and send it to client

    Hi,
    I'm introducing to servlet development and I'm trying to do some AJAX calls. The client side is implemented, but I have some troubles on the server side. I want to open an XML file and send it to the client. How can I do that? Any special header?
    I have implemented this test in PHP, so you can imagine what I would like to do:
    if ($type == "xml"){
         $xml = "";
         $file = fopen ("file.xml", "r");
         while (!feof ($file)){
              $xml .= fgets ($file, 4096);
         fclose ($file);
         header ("Content-type: text/xml; charset=ISO-8859-1");
         echo $xml;
    }The XML file is:
    <?xml version='1.0' encoding='ISO-8859-1'?>
    <users>
         <user>
              <name>Pepe</name>
              <age>18</age>
         </user>
         <user>
              <name>María</name>
              <age>21</age>
         </user>
    </users>Thanks.

    Not very useful:(.
    This is my code:
    PrintWriter out = null;
            try{
                   String type = request.getParameter ("type");
                   if (type.equals ("xml")){
                        response.setContentType ("text/xml; charset=ISO-8859-1");
                        out = response.getWriter ();
                        String xml =
                             "<?xml version='1.0' encoding='ISO-8859-1'?>" +
                             "<users>" +
                                  "<user>" +
                                       "<name>Pepe</name>" +
                                       "<age>18</age>" +
                                  "</user>" +
                                  "<user>" +
                                       "<name>María</name>" +
                                       "<age>21</age>" +
                                  "</user>" +
                             "</users>";
                        out.println (xml);
            }finally{
                out.close ();
            }This code works. The servlet send back the xml and the client shows the content but, as you can see, i'm not reading the xml file. So my problem is on reading the xml file as a plain text. My code is this:
    response.setContentType ("text/xml; charset=ISO-8859-1");
                        out = response.getWriter ();
                        String xml = "";
                        FileReader fr = null;
                        BufferedReader br = null;
                        try{
                             fr = new FileReader (new File ("file.xml"));
                             br = new BufferedReader (fr);
                             String linea;
                             while ((linea = br.readLine ()) != null){
                                  xml += linea;
                                  //System.out.println (linea);
                             fr.close ();
                        }catch (Exception e){
                             e.printStackTrace ();
                        }But now I get an Exception File not found. The xml file is in the web directory (I'm using net beans 6.8). Where I have to put the file?
    Thanks.
    Edited by: GagleKas on Mar 15, 2010 6:39 AM

  • Converting String To XML Format and send as attachment

    Hi
    My requirement is to convert String into XML Format and that XML File i have to send as an attachment
    can any one one give solution for this Problem.
    Thank you
    Venkatesh.K

    hi,
    i m filling the itab first and converting to xml
    itab contaning these data
    GS_PERSON-CUST_ID   = '3'.
    GS_PERSON-FIRSTNAME = 'Bill'.
    GS_PERSON-LASTNAME  = 'Gates'.
    APPEND GS_PERSON TO GT_PERSON.
    GS_PERSON-CUST_ID   = '4'.
    GS_PERSON-FIRSTNAME = 'Frodo'.
    GS_PERSON-LASTNAME  = 'Baggins'.
    APPEND GS_PERSON TO GT_PERSON.
    after conversion data is coming like that
    #<?xml version="1.0" encoding="utf-16"?>
    <CUSTOMERS>
      <item>
        <customer_id>0003</customer_id>
        <first_name>Bill</first_name>
        <last_name>Gates</last_name>
      </item>
      <item>
        <customer_id>0004</customer_id>
        <first_name>Frodo</first_name>
        <last_name>Baggins</last_name>
      </item>
    </CUSTOMERS>
    but errors are  1) # is coming at the first
                            2)for 'encoding="utf-16"?>', it is not coming perfectly, some other data (iso-8859-1) should come here
    can anybody plz solve it.
    regards,
    viki

  • Extracting XML tags and its values using ORACLE PL/SQL

    I need help to create a procedure that receive a XML string and insert it into the table after parsing it.
    If the XML has 10 tags then it should insert into the table 10 rows. Table will be having tag name and value. This will be plain XML tags without attributes in tags.

    Hi,
    I am able to retreive the values of the tags using extract function (example: lv_xml.EXTRACT ('/ROWSET/EMPLOYEE/EMPNO/text()').getstringval() ). But could you help me to find some way to extract the tags also since we have no idea what the tags are and how many tags are there, in advance.
    Anybody's help will be a releif!
    Thanks in advance,
    Leslie
    Message was edited by:
    user544830

  • Reading A xml file and sending that XML Data as input  to a Service

    Hi All,
    I have a requirement to read(I am using File adapter to read) a xml file and map the data in that xml to a service(schema) input variable.
    Example of  xml file that I have to read and the content of that xml file like below:
      <StudentList>
        <student>
           <Name> ravi</Name>
           <branch>EEE</branch>
          <fathername> raghu</fathername>
        </student>
      <student>
           <Name> raju</Name>
           <branch>ECE</branch>
          <fathername> ravi</fathername>
        </student>
    <StudentList>
    I have to pass the data(ravi,EEE,raghu etc) to a service input varible. That invoked Service input variable(schema) contains the schema similar to above schema.
    My flow is like below:
      ReadFile file adapter -------------------> BPEL process -----> Target Service.I am using transform activity in BPEL process to map the data from xml file to Service.
    I am using above xml file as sample in Native Data format(to create XSD schema file).
    After I built the process,I checked file adapter polls the data and receive the file(I am getting View xml document in EM console flow).
    But transform activity does not have anything and it is not mapping the data.I am getting blank data in the transform activity with only element names like below
    ---------------------------------------------------------------------------EM console Audit trail (I am giving this because u can clearly understand what is happening-----------------------------------------------------
       -ReceiveFile
            -some datedetails      received file
              View XML document  (This xml contains data and structure like above  xml )
        - transformData:
            <payload>
              <InvokeService_inputvariable>
                  <part name="body">
                     <StudentList>
                         <student>
                           <name/>
                            <branch/>
                            <fathername/>
                         </student>
                   </StudentList>
              </part>
             </InvokeService_inputvariable>
    'Why I am getting like this".Is there any problem with native data format configuration.?
    Please help me out regarding this issue as I am running out my time.

    Hi syam,
    Thank you very much for your replies so far so that I have some progrees in my task.
    As you told I could have put default directory in composite.xml,but what happenes is the everyday new final subdirectory gets created  in the 'soafolder' folder.What I mean is in  the c:/soafolder/1234_xmlfiles folder, the '1234_xmlfiles' is not manually created one.It is created automatically by executing some jar.
    Basically we can't know the sub folder name until it is created by jar with its own logic. whereas main folder is same(soafolder) ever.
    I will give you example with our folder name so that it would be more convenient for us to understand.
    1) yesterday's  the folder structure :  'c:/soafolder/130731_LS' .The  '130731_LS' folder is created automatically by executing some jar file(it has its own logic to control and create the subdirectories which is not in our control).
    2) Today's folder structure :  'c:/soafolder/130804_LS. The folder is created automatically(everytime the number part(130731,130804).I think that number is indicating 2013 july 31 st like that.I have to enquire about this)is changing) at a particular time and xml files will be loaded in the folder.
    Our challenge : It is not that we can put the default or further path in composite.xml and poll the file adapter.Not everytime we have to change the path in composite.xml.The process should know the folder path (I don't know whether it is possible or not.) and  everyday and file adapter poll the files in that created subfolders.
    I hope you can understand my requirement .Please help me out in this regard.

  • Mail set TO field and send question...

    Hello,
    I need a little AppleScript help with Mail. Let's say I have an open outgoing mail message and I want to set the "to" field. How do I do this? Remember, this is with an existing open outgoing message, not an outgoing message I'm creating via AppleScript. Actually, I'm creating the message with the redirect AppleScript command, which is supposed to return an outgoing message, but it's broke and doesn't.
    I know I can use System Events to post keystrokes, but there has to be a better way.
    Also, is there a way to "Send" the message via AppleScipt? I know I can use the UI commands to select the menu item or push the button, but is there a way to send without relying on the GUI?
    Thanks,
    Allan

    Ummm, the script seems to do nothing. I would think it would create a new message and address it to [email protected], but it just does nothing.
    When I'm looking for is help to address an already open new message. For example:
    Open Mail
    Create a new message
    Switch to Script Editor
    Run a script that addresses the new message
    Spcifically what I'm doing is trying to redirect a message. Here's how aI have to do it now:
    tell application "Mail"
    activate
    set theRedirectRecipient to "[email protected]"
    set theSanityCheckNumber to 30
    set theCount to 0
    set selection_list to selection
    repeat with one_item in selection_list
    set theID to (message id of one_item)
    -- skip it if it was already redirected
    set theHeaders to the name of the header of one_item
    if theHeaders does not contain "resent-to" then
    redirect one_item with opening window
    delay 1 -- mail can get confused, so slow down a little
    tell application "System Events"
    tell process "Mail"
    keystroke theRedirectRecipient
    end tell
    end tell
    --delay 1 -- mail can get confused, so slow down a little
    -- send the mesage
    tell me to do_menu("Mail", "Message", "Send")
    --delay 1 -- mail can get confused, so slow down a little
    -- see if we should continue
    -- if mail or this script does something screwy, we can abort here
    set theCount to theCount + 1
    if theCount mod theSanityCheckNumber is 0 then
    tell me
    activate
    display dialog "We've redirected " & theCount & " of " & (count of items in selection_list) & ". Continue?"
    end tell
    tell application "Mail" to activate
    end if
    end if
    end repeat
    end tell
    on domenu(appname, menu_name, menu_item)
    try
    -- bring the target application to the front
    tell application app_name
    activate
    end tell
    tell application "System Events"
    tell process app_name
    tell menu bar 1
    tell menu bar item menu_name
    tell menu menu_name
    click menu item menu_item
    end tell
    end tell
    end tell
    end tell
    end tell
    return true
    on error error_message
    return false
    end try
    end do_menu
    2.7 GHz Dual Mac OS X (10.4.8)

  • Crate XML file and send that XML file from R3 to SIBEL

    Hi Friends,
              Is SAP provided any idoc type and Message type for Goods Receipt (MIGO)??
    My requirement is to create XML file having 4 fields from MIGO then that XML file to be display in SIBEL system. Can anybody help me how can I do this.

    Hi Mohanty,
    hope it can help you.
    http://www.sapfans.com/sapfans/forum/intface/messages/4062.html
    Try cl_xml_document class, and also look at cl_ixml class factory.
    Regards,
    David

  • How to Allow Reader Users to Save XML Data and Send?

    A huge problem w/ LiveCycle Designer is (this is what I found), by clicking the "Submit via Email" button, the Adobe Reader is trying to connect to the local default email program, like outlook express.
    However, public computers are usually banned the users to launch an email program, and users are more likely to check email within a webpage. I noticed a number of students close the Reader after filling out the form but failing to send back the data.
    Anyway that I can allow a Reader user to be able to save .xml data file so he/she can attach to web-based email?
    Thanks Everybody!

    If you have Acrobat there is a subset of Reader Extensions functionality available in there that will allow you to Reader Extend the form to do local saves. The license agreement limits you to 500 uses. If you need more than that there is a server option that is more expensive but has no limits on users.

  • How to loop through single XML File and send multiple RFC calls?

    I am looking for the best approach to use for making multiple RFC calls (can be sequential) using a single XML file of data.  I have been attempting to get a BPM loop working, but to no avail.  My RFC only accepts a single set of delivery input and I have been told to try to work with it as is.
    input xml sample:
    <?xml version="1.0" encoding="UTF-8"?>
    <ProofOfDelivery>
       <POD>
          <delivery_number>1</delivery_number>
          <carrier_name>UPS</carrier_name>
       </POD>
       <POD>
          <delivery_number>2</delivery_number>
          <carrier_name>UPS</carrier_name>
       </POD>
    </ProofOfDelivery>
    I need to make a synchronous RFC call for each set of POD data.
    Thanks in advance!

    Thanks for the inputs.
    I tried with a BPM and multi-mapping transformation before a ForEach block.  I am getting this error:
    Work item 000000028028: Object FLOWITEM method EXECUTE cannot be executed
    Error during result processing of work item 000000028029
    com/sap/xi/tf/_ProofOfDeliveryMultiMapping_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntim
    Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
    Probably because I am not making/using the container objects properly.  Here is a screenshot of my BPM.  Can anyone spot my issue or point me to an example on this sort of container use?
    [http://kdwendel.brinkster.net/images/bpm.jpg|http://kdwendel.brinkster.net/images/bpm.jpg]
    Thanks

  • Add fields so clients can sign electronically and send back

    I've read a bunch of discussions about how to add fields to forms but none of them answered all my questions.
    What I'd like to do is add a signature and text field (for date) to a PDF so that my clients can send them back signed electronically. I do not want to use EchoSign.
    I have Acrobat Pro v9.5.2. I added a signature field and text field per http://www.adobe.com/accessibility/products/acrobat/pdf/A9-creating-accessible-pdf-forms.p df. I read on an Adobe forum that I was supposed to go to Save as > Reader Extended to allow the user to sign the document and send back to me signed. However, all I have as save options are Save or Save As. There's no Save As > Reader Extended option and when I choose Save As the "Save as type" does not include Reader Extended either.
    Please post step by step instructions for how to do this (add 2 fields, save doc, send to client, have them sign and fill in fields and send back to me completed). Surely we can do this with 9 yes?
    Thanks so much in advance!

    Here are full instructions for version 9.5.2 in case they're helpful to anyone:
    How to add digital signature field to PDF using Adobe Acrobat Pro 9.5.2:
    1. Open PDF in Acrobat (Right click > Open with > Acrobat)
    2. Go to Forms > Add or Edit Fields
    3. Pop up box > select NO
    4. Click "Add New Field" button on top left > select Digital Signature
    5. Guideline-type things will appear > drag to where you want field.
    6. Click on the signature field and change name if you'd like.
    7. Click "Close From Editing" button on top left.
    8. Go to Advanced > Extend Features in Adobe Reader > Save Now
    9. Save it where you'd like
    How to Digitally Sign a Document with Adobe Reader
    1. Double click the signature field on the bottom right of the contract. A pop up box will appear.
    2. If it's the first time you'll be signing anything in Adobe Reader, select bottom option, "A new digital ID I want to create now" > click Next
    3. Fill in your name and email (required) > click Next
    4. Enter a password and then again in "Confirm password" and write down your password somewhere so you'll remember
    5. Click Finish. You're now ready to sign doc
    6. Enter the password you just created into "Password" field
    (To import graphic of your signature, from "appearance" field, select "Create New Appearance" > Enter title like "signature" > click "Imported graphic" option > click "File" (not sure but file might need to be a PDF) > click Okay and click okay again.
    7. Click "Sign"
    8. Save document - give it a name > Save.
    9. You should see signature in the signature field
    At any point in future you can come back to signature and right click (or ctrl click if mac):
    You can clear, validate, etc.
    If doc has been modified, you can "view signed version" or "show signed properties".
    Edit > Protection > Security Settings
    You can see any digital IDs you've set up, remove, add new ones, look at usage options,
    For more help, you can watch this video on "How to Digitally Sign a Document with Adobe Reader"
    http://tv.adobe.com/watch/acrobat-x/how-to-digitally-sign-a-document-with-adobe-reader/

  • XML and sending its data by sockets

    In my new project, i need to receive data from an XML file and send it to a client when the client has requested it from my server.
    so far, i've stored the elements into variables (i'll call them item1, item2, and item3 for now). I put this into the protocol so when the client calls upon the server to store itemn to one of its variables, it will do so.
    apperently, all this does is send my String variable output, which starts out as null and doesn't change, and so the output remains null which in turn will close my client. here's my protocol (it gathers data from avalonmap.xml):
    * xmlStorage.java
    * Created on January 3, 2006, 12:23 AM
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package mudmap.xml;
    import java.io.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    import javax.xml.parsers.SAXParserFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    * @author Fender Bender
    public class mapLoader extends DefaultHandler {
        StringBuffer textBuffer;
        String roomName, region, color, roomOwner,roomCCC, roomCCCID, roomItem,
                roomItemID;
        String directions[];
        String dx,dy;
        static String currentElement;
        /** Creates a new instance of mapLoder() */
        public mapLoader() {
        public String processInput(String input) {
            String output="hello";
            if(input=="getRoom") { // for now, I'll call this item1. if client requests
                output = roomName;  //  it, the output will be roomName
                                                      // which is defined at //============
                                                      // in EchoText()
            return output;
        public static void main(String argv[]) {
            // Use an instance of ourselves as the SAX event handler
            DefaultHandler handler = new mapLoader();
    // Use the default (non-validating) parser
            SAXParserFactory factory = SAXParserFactory.newInstance();
            try {
    // Set up output stream
                out = new OutputStreamWriter(System.out, "UTF8");
                SAXParser saxParser = factory.newSAXParser();
                saxParser.parse( new File("avalonmap.xml"), handler );
            } catch (Throwable t) {
                t.printStackTrace();
            System.exit(0);
        static private Writer out;
        public void startDocument()
        throws SAXException {
            nl();
            nl();
            emit("START DOCUMENT");
            nl();
            emit("<?xml version='1.0' encoding='UTF-8'?>");
        public void endDocument()
        throws SAXException {
            nl();
            emit("END DOCUMENT");
            nl();
            emit(region + "\n" + color + "\n" + roomOwner  + "\n" + roomName + "\n" +
                    dx + "," + dy + "\n" + "room CCCs: " + roomCCC + " (" +
                    roomCCCID + ")\n" + "room items: " + roomItem + " (" +
                    roomItemID +")");
            try {
                nl();
                out.flush();
            } catch (IOException e) {
                throw new SAXException("I/O error", e);
        public void startElement(String namespaceURI,
                String sName, // simple name
                String qName, // qualified name
                Attributes attrs)
                throws SAXException {
            echoText();
            nl();
            emit("ELEMENT: ");
            String eName = sName; // element name
            if ("".equals(eName)) eName = qName; // not namespace-aware
            emit("<"+eName);
            currentElement=eName;
            if (attrs != null) {
                for (int i = 0; i < attrs.getLength(); i++) {
                    String aName = attrs.getLocalName(i); // Attr name
                    if ("".equals(aName)) aName = attrs.getQName(i);
                    nl();
                    emit(" ATTR: ");
                    emit(aName);
                    emit("\t\"");
                    emit(attrs.getValue(i));
                    emit("\"");
            if (attrs.getLength() > 0) nl();
            emit(">");
        public void endElement(String namespaceURI,
                String sName, // simple name
                String qName // qualified name
                throws SAXException {
            echoText();
            currentElement="";
            nl();
            emit("END_ELM: ");
            String eName = sName; // element name
            if ("".equals(eName)) eName = qName; // not namespace-aware
            emit("</"+eName+">");
        public void characters(char buf[], int offset, int len)
        throws SAXException {
            String s = new String(buf, offset, len);
            if (textBuffer == null) {
                textBuffer = new StringBuffer(s);
            } else {
                textBuffer.append(s);
        private void echoText()
        throws SAXException {
            if (textBuffer == null) return;
            nl();
            emit("CHARS:  |" + currentElement + ": ");
            String s = ""+textBuffer;
            if(currentElement=="region") {
                region = s;
            } else if(currentElement=="color") {
                color = s;
            } else if(currentElement=="roomOwner") {
                roomOwner = s;
            } else if(currentElement=="roomName") {
                roomName = s;                                             //============
            } else if(currentElement=="x") {
                dx = s;
            } else if(currentElement=="y") {
                dy = s;
            } else if(currentElement=="roomCCC") {
                roomCCC = s;
            } else if(currentElement=="roomCCCID") {
                roomCCCID = s;
            } else if(currentElement=="roomItem") {
                roomItem = s;
            } else if(currentElement=="roomItemID") {
                roomItemID = s;
            emit("|");
            textBuffer = null;
        private void emit(String s)
        throws SAXException {
            try {
                out.write(s);
                out.flush();
            } catch (IOException e) {
                throw new SAXException("I/O error", e);
        private void nl()
        throws SAXException {
            String lineEnd = System.getProperty("line.separator");
            try {
                out.write(lineEnd);
            } catch (IOException e) {
                throw new SAXException("I/O error", e);
    }

    for one thing, don't use == to compare strings... You have that all over the place, like:
    if(currentElement=="region") {                                                                                                                                                                                                                                                   

  • How to save and send a form?

    Okay, this is driving me NUTS.
    I created a fillable form, closed the form for editing and hit file >save.
    Went to my desktop, double clicked on the pdf and it opened in Adobe Reader. No interactivity. Can't type anything in the form.
    So then I went back in and hit distribute, saved the file to my desktop and tried again. Nope. Still can't open it up and type in it.
    What am I doing wrong? I feel so stupid right now. I just want to make a PDF where people can fill out the fields and send it. I've followed guide after guide and it works in the acrobat preview, but not in adobe reader!

    I remember this happening to me before.  If I'm not mistaken (I may be wrong), I believe you have to open the .pdf, click "file, save as, and "reader extended PDF" --- I am pretty sure that's what has to happen.

  • Entourage Question: Enabling the "From" field for Send on Behalf emailing..

    You know like in Outlook 2003 Pro you can enable the "From" field and send an email as someone else (so long as you have permission to so that is)? How do you enable that same field in Entourage 2004?
    best regards,
    pheidippides

    Hi,
    Please make sure Domain1 is trusted by Domain2, then we can assign send as permission to Domain1 users for "DL System Admins" in Domain2.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • In PI how do I convert the XML payload (input) to a text file and send out

    I am extracting data from SAP and sending thru XI / PI to a file (non-sap system).
    On the receiving end, I need the file to be a text file, with one row for each "FTZ_Row concatenated_data" tag in the input.  It needs to be just a plain text file with no XML tags.
    Currently the file gets one record which matches exactly to the XML payload below.
    I want it to create a file that looks like this :
               CONCATENATED DATA 1
               CONCATENATED DATA 2
                012345678912345678MAKTX-TEST LB 123123123123 01/02/2009 Z001WCHA9876543210.12
    here is the payload going thru XI
      <?xml version="1.0" encoding="utf-8" ?>
    - <n0:FTZ_Concatenated_Row xmlns:n0="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone" xmlns:prx="urn:sap.com:proxy:FI0:/1SAI/TAS0C0412CDBC3E782D0219:700:2008/06/25">
      <FTZ_Row concatenated_data="CONCATENATED DATA 1" />
      <FTZ_Row concatenated_data="CONCATENATED DATA 2" />
      <FTZ_Row concatenated_data="012345678912345678MAKTX-TEST LB 123123123123 01/02/2009 Z001WCHA9876543210.12" />
      </n0:FTZ_Concatenated_Row>
    thanks
    jay

    thanks for the input but I am still having issues - I get an empty file when I use the content conversion option.
    My payload coming into XI is :
            <?xml version="1.0" encoding="utf-8" ?>
    - <n0:FTZ_Concatenated_Row xmlns:n0="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone" xmlns:prx="urn:sap.com:proxy:FI0:/1SAI/TAS0C0412CDBC3E782D0219:700:2008/06/25">
    <FTZ_Row concatenated_data="CONCATENATED DATA 1" />
    <FTZ_Row concatenated_data="CONCATENATED DATA 2" />
    <FTZ_Row concatenated_data="012345678912345678MAKTX-TEST LB 123123123123 01/02/2009 Z001WCHA9876543210.12" />
    </n0:FTZ_Concatenated_Row>
    Here is the layout of my data type - I am using the same for input & output
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone" targetNamespace="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone">
       <xsd:complexType name="FTZ_Concatenated_Row">
          <xsd:sequence>
             <xsd:element name="FTZ_Row" maxOccurs="unbounded">
                <xsd:complexType>
                   <xsd:attribute name="concatenated_data" type="xsd:string" />
                </xsd:complexType>
             </xsd:element>
          </xsd:sequence>
       </xsd:complexType>
    </xsd:schema>
    I mapped these items :  FTZ_Concatenated_Row & FTZ_Row & concatenated_data
    I set up my content convesion with :
      recordset structure   FTZ_Row
    FTZ_Row.fieldSeparator     #
    FTZ_Row.endSeparator     'nl'
    I am not sure why the following row looks like this ??
        <FTZ_Row concatenated_data="CONCATENATED DATA 1" />
    I thought FTZ_Row would be one tag and "concatenated_data" would be another one.
    any help would be appreciated.
    I have read many entries/blogs/etc in SDN but and tried many different setups, but nothing is working.
    thanks

Maybe you are looking for

  • Multiple Selection in Search Result List in PCUI

    Hi, Our requirement is to allow creation of new records in list view of the PCUI application CRMM_ACCOUNT. I'm using old floor plan CRM 4.0 to meet this requirement. But this is causing a problem. It's not allowing multi select in the search result l

  • What are the steps requried for r/3 to xi and xi to r/3 configuraiton ?

    Hi Experts What are the steps requried for r/3 to pi 7.1 and pi 7.1 to r/3 configuraiton ? Thanks & Regards G.Praveen Kumar Edited by: praveen.tecnics on Apr 1, 2009 4:51 PM

  • Query to get the particular order in dyn admin.

    Query to get the particular order in dyn admin.

  • Problem in C/C++

    How can I declare a dynamic array in C or C++ ? How can valid a statement like this , int array[variable]; ?Thank You.

  • GetDocAttribute() issue

    I've tried to use the XPath method getDocAttribute("filename") to get the original name of an attachment (receive mail action) without success. I've also tried "name" and "file" but it didn't work either. Finally I found out, that content-type (getCo