Multiple BPEL/ Mediator payloads how to store in DB using DB adapter.

I have huge XML which is XSD define for the same and have complex types which required around > 50 DB tables to store the entire XML.
Have one parent table which has reference ID to child tables.
Now first I want store the parent table and get the ID and use the same ID to store child tables (it has parent child relationship up to 5 or 6 levels)
How can I define / use the BPEL process.
I want to use the file adapter to read the XML file.
And I need to define BPEL process with mediators if required?
And use the DB adapter to store the data.
My questions are how can I define BPEL process with huge XSD which had multiple elements?
How can I use db adapter to store more than 50 tables and getting parent ID for child tables?
Any help is appreciated.
Edited by: user8539507 on Feb 29, 2012 7:35 AM

Sridhar thanks for replay,
I did the same, Few mapping tables i have ,
say A-->B , A-->C-->D (Master Child relations) map is B-->E & D-->E (map table) for this type of tables i have following error.
Exception [EclipseLink-48] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Multiple writable mappings exist for the field [TABLE5_MAP.ID]. Only one may be defined as writable, all others must be specified read-only.
And also other question i have by doing this is - won't it be heavy pay load, due to complex transformation don't we get any issues in long run?
is there way to insert sequentially from the XSD element parts wise?
Say i have File XSD(#1P1) to DB xsd(#2T1). return the ID next sequence
File XSD(#1P2) to DB xsd(#2T2,T3,T4,T5).
File XSD(#1P3) to DB xsd(#2T6,T7,T8).
File XSD(#1P4) to DB xsd(#2T9,T10,T11,T12).
File XSD(#1P5) to DB xsd(#2T13,T16,T14,T15).
from Leftside(exposed service) Fileadapter have the XSD(#1) and rightside External Refences(DB adapter(s)) have the XSD(#2)
In this scenario would it be possible to use one DB adapter? do i have use multiple ? if i use multiple how the transaction will work?
Thanks

Similar Messages

  • How to read pdf file using file adapter

    Hi..
        How to read pdf file using file adapter?
    regards
    Arun

    Hi
    This may help you
    /people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
    /people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
    ---Ram

  • Multiple MailAttachment  to File   -   How to store as multiple files ?

    Hi Friends ,
                      Can you please tell me  How to Store as Multiple files which i read as attachements  from Mail Sender Adapter .
                         In My scenario i can able to bring the Multiple attachement in the Paylod using PaylodSwapBean .<b> I wan to store these attachements to a file system.</b>   ie. Whatever attachements i am reading i have to store in a file .             
               For eg., In my scenario i have designed the Data Type as DT_Test--> Row --- > Details .
                     Details can able to hold each line of Each File . One file contains multiple Line data .
                   <b>  If i use Message Transform Bean</b> , first attachement only getting Tranformed rest of them as it is . Not getting tranformed to required format.
                     Please give some suggestions !
    Regards .,
    V.Rangarajan

    Oops didn't observe abt the message transform bean usage... .....
    check with these
    3.2.3 Changing the Name and Type of the Payload................................. 6
    3.2.4 Sending a Mail with Attachment ...................................................... 7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
    SAP Note 793922
    http://help.sap.com/saphelp_nw04s/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
    <b>Cheers,
    *RAJ*<b>

  • How to get file name using File adapter Sync read

    Hi All,
    I am using SOA 10.1.3.3 and JDEV 10.1.3.3.
    I have an async bpel process.
    I have to read file name in this process... so i have used file adapter sync read operation.
    How can we get the file name with out payload using sync read.
    For normal read (Inbound Spec)we have UseHeaders="true" property.
    Is there any property for sync read to read the file name.
    Please help me
    Regards
    PavanKumar.M
    Edited by: [email protected] on Oct 27, 2009 11:23 PM

    Hi Eric,
    The info in the link provided by you is for a normal read.
    I need to read he file name using Sync read operation.
    Regards
    PavanKumar.M

  • How to handle empty file using sftp adapter

    Hi,
    Please explain me how to handle empty files in sftp adapter.
    Thanks,
    Enivass

    Hi Enivaas,
                        I don't have the seeburger sftp adapter at hand at the moment, but asfar as I remember, this does not specifically have an empty-file handling option like the standard ftp adapter.
    So to stop emtyp files from being written, guess would need to handle this at the mapping level. For example, check for target creation criteria in the header node in mapping. If the creation criteria is not met, you can throw an error in mapping.
    You may also incorporate this condition in your Receiver determination. In this case, if the condition is not satisfied, no receiver is determined in PI.
    Regards

  • How to create a scenario using RFCsender adapter

    Hi,
    I'd like to create an RFC to RFC scenario. Just for a test. I can use receiver RFC adapter, but I don't know, how the sender one works. I even can't understand how to call it. Using the receiver side - I import RFC's metadata and call the FM. No problem with this. But what about the sender side? Should I create an empty FM, and int's importing parameters will be my Outbound interface, and exporting parameters my inbound interface (in case of a sync scenario)? If yes, when I call this FM, how does it know, that it should not run the (empty body?) of the function, but send the request to XI using RFC connection?
    Thank you for clarification,
    Olian

    Hi,
    How to Trigger BAPI From R3 ToXI
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    RFC Sender
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    How to test the RFC to Flat File scenario
    Regards
    Seshagiri

  • How to send Excel File using file adapter

    Hello,
    Please could you tell how i can send an excel file using the file adpater?
    thank you.

    Hi hassiba ,
    If u want to doc on creating modules just check the wonderful document.
    How To Create Modules for the J2EE Adapter Engine at service.sap.com. It will clear all the basics of creating Adapter module.
    https://websmp102.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
    Thanks ,
    sekhar.

  • How to transmit data securely using MLLP adapter

    I am looking for options how we can securely transmit hl7 data using MLLP adapter to third party. I read in books saying MLLP is used within LAN, Is that true or can this be used across internet.
    Is it possible to add SSL  certificate for data encryption before send data via MLLP adapter. Can you please advise. Thanks you very much.

    Short answer: No, SSL cannot be used with MLLP.
    Long answer: There is no specific provision for over-the-wire encryption in the MLLP specification.  So, technically, the TCP channel can be encrypted with SSL, but there are no implementations, such as the BizTalk MLLP Adapter, that I'm aware of that
    would actually do this.
    To secure the communications between two MLLP endpoints, you would have to use either a tunneling protocol (VPN) or a secure IP connection (IPSEC).  The difference between the two is minimal.
    MLLP was developed to satisfy an internal, to the organization, requirement where secure communications was not an issue.

  • How to put edfact file using b2b adapter

    All,
    I have to print a edifact file and place it in a certain location using b2b and soa. could you please let me know how this could be done. in the b2b console i could see only listening channels. could this be done directly through b2b adapter or should i use soa adapter.. if either how..
    pls guide..
    regards
    Rakesh

    hi Anuj,
    i went through the docs
    1. the doc with the sample is hard to understand. i opened the composite, but i guess the b2b config changes also needs to be done. they are not clearly mentioned in the doc.
    2. cant find details to create outbound adapter in edifact faormat...
    you aware of any other links or samples. Also I am new to B2B...
    regards
    Rakesh

  • How to store php sessions using memcached and unix socket

    I am running Arch linux with systemd, nginx, and php with php-fpm. I am trying (and failing) to configure memcached to store sessions using a unix socket. I have memcached installed and active, however, I am unable to disable networking. I added the following line to /etc/conf.d/memcached
    MEMCACHED_ARGS="-s unix:///tmp/memcached.sock -a 666"
    I also tried:
    MEMCACHED_ARGS="-s /tmp/memcached.sock -a 666"
    MEMCACHED_ARGS="-s unix:/tmp/memcached.sock -a 666"
    when I restart memcached I always get:
    memcached.service - Memcached Daemon
              Loaded: loaded (/usr/lib/systemd/system/memcached.service; enabled)
              Active: active (running) since Sat 2013-01-19 17:41:15 PST; 5min ago
            Main PID: 773 (memcached)
              CGroup: name=systemd:/system/memcached.service
                      └─773 /usr/bin/memcached -l 127.0.0.1
    when I run php script with sessions php error log shows (not surprisingly):
    [19-Jan-2013 16:46:45 America/Los_Angeles] PHP Warning:  Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct (unix:/tmp/memcached.sock) in Unknown on line 0
    I also installed the php-memcached package but I don't what it does or how to get it going. I uncommented the following line in /etc/php/conf.d/memcached.ini:
    extension=memcached.so
    but that didn't change anything.
    Any insights or suggestions would be greatly appreciated.

    Look at this link -http://odiexperts.com/getting-one-or-several-unknown-files-from-a-directory
    change the command to fetch the ls command and write into File and then using either java or jython break the data and fetch the file name and date and insert into log table.
    (or)
    you can use the os.system command and get the complete ls command into string and then process and insert it.
    Let us know if you need any other help.

  • How To Store XML Fragments Using Functions Such As XMLElement

    Hi
    Not sure what I am missing. I wish to store XML fragments in variables so can pass around and concatenate with other fragments to make final XML document. Even before attempting to concatenate XML fragments, I am struggling to store any XML fragment in a variable. I am trying to use simple functions such as XMLElement to generate XML so can store in variable. I have seen many examples of XMLElement in SQL select statement. Can XMLElement be used in plsql? XMLElement says it returns value of type XMLType. Functions such as XMLElement make generating XML easier than creating all tags manually.
    Below is simple example that demonstrates what I would like to do. I would like to be able to pass the XML fragment as either XMLType or clob. I receive error saying PLS-00201: identifier 'XMLELEMENT' must be declared
    declare
    vTheData XMLType;
    vTheDataClob clob;
    begin
      vTheData:= XMLelement("empno",'1234567');
      vTheDataClob:= xmlelement("empno",'1234567').getclobval();
    end;
    Where as I can use below, but surely don't have to use select into from dual method. I just expect can use XMLElement function in plsql same as sql, such as most other functions eg length, rtrim etc.
    declare
    vTheData XMLType;
    vTheDataClob clob;
    begin
      select xmlelement("empno",'1234567')
      into vTheData
      from dual;
      select xmlelement("empno",'1234567').getclobval()
      into vTheDataClob
      from dual;
    end;
    Hope this makes sense.
    Thanks

    Having said that, is there a more elegant way to achieve below. That is populate two XML fragments and concatenate together.
    Sure, why not just only one statement?
    select XMLConcat(
             XMLElement( ... )
           , XMLElement( ... )
    into vTheResult
    from dual;
    As a second question, is it better to build and pass XML fragments as XMLType or clob?
    I would say stay with XMLType but it depends on your requirement.
    I generally avoid passing around pieces of data, SQL/XML functions are powerful in the way they can be used with set operations, so using them in a piecewise approach kinda negates what they're for.

  • How to store WWW Address using OAOR

    Dear all,
    I want to store the WWW Address using BDN. when i double clicking the standard Doc. Types 
    (Document class HTM) means
    Its opening the POP UP (BDN file selection).
    In the POP UP (BDN file selection). IF i give this URL means
    http://www.google.co.in/search?hl=en&q=tamil+news&meta=
    its getting saved and displayed fine. but, if i give this URL means
    Generic object services (GOS) - in Background - Part II
    means its getting saved but when i try to open this means Its getting Internet explorer script error. 
    please give some solution. <<text removed>>
    Thanks in advance.
    Thanks,
    Hema.
    Edited by: hemachandran r on Nov 20, 2008 2:56 PM
    Edited by: hemachandran r on Nov 20, 2008 3:06 PM
    Edited by: Matt on Nov 20, 2008 3:10 PM - Urgent not allowed

    closed

  • How to store multifiled values using extjs?

    Hi Team,
       I've a requirement where I need to add one more multifield to the startworkflow Dialog. I've written piece of code in js to add the multifield in in dialog.
    "faqsList" : {
    "jcr:primaryType":"cq:Widget",
    "fieldLabel":"Multifield Demo",
    "name":"faqsList",
    "xtype":"multifield",                     
    layout:"anchor",                     
    "fieldConfig":{
    "xtype":"textfield"
         and I could see the multifiled in the dialog and able to get textfield when I click on Add Item button in the multifiled.
        Example: I've added three textfield values
                      Robert
                      Dennis
                      King
         But the problem i'm facing is, all the multifiled values are not stored. It is storing only 'Robert' as string instead of Storing all the multifield values.
       So, what is the wrong in my js code. So that I can store multifield values in String Array.
    Thanks
    Siva

    Hi Team,     Finally I got it by adding multifield values to the Hidden filed before submitting the dialog.  Eg:     dialog.on("beforesubmit", function(){    var tt=this.findByType("multifield")[0].getValue();    dialog.addHidden({"store":tt});    admin.mask();});

  • How To split large message using File Adapter

    Hello everyone,
    Here is my scenario FTP > XI > BI.
    I got 2 questions:
    (1) I am getting large message around 70 MB file.
        How we can split the message into multiple files 10 MB each before processing the file into XI?
    (2) Is there is any way we can find out size of file which is on FTP  without contacting FTP admin?    
        through XI before processing the file?
    Thanks
    Vick

    hi vick,
    check the blog
    Zip or Unzip your Payload with the new PayloadZipBean module of the XI Adapter Framework                                   
    Working with the PayloadZipBean module of the XI Adapter Framework
    SAP XI acting as a (huge) file mover                                   
    The specified item was not found.                                   
    Managing bulky flat messages with SAP XI (tunneling once again) - UPDATED                                   
    The specified item was not found.                                   
    regards
    kummari

  • How to Write a PDF using File Adapter

    Hi All,
    Can anyone please let me know how to create a PDF file at the receiving end using a File Receiver Adapter. The source is an XML file. The scenario is as follows.
    XML-File ---> XI --->PDF-File.
    Any help would be highly appreciated.
    Thanks in Advance
    Anil.

    hi ,
    if u r using pi7.1 you  can  use agents concept.
    please find the links.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/fc39c16bfb025ee10000000a1553f7/frameset.htm
    How to get started using Conversion Agent from Itemfield
    More on the SAP Conversion Agent by Itemfield
    Integrate SAP Conversion Agent by Itemfield with SAP XI
    Conversion Agent a Free Lunch?
    How to get started using Conversion Agent from Itemfield
    https://websmp102.sap-ag.de/~sapdownload/011000358700001090982006E/ConvAgentDocSP16.zip
    https://websmp102.sap-ag.de/~sapdownload/011000358700004921152005E/ConversionAgent.pdf
    XI: Generate PDF file out of file adapter
    XI: Read data from PDF file in Sender Adapter
    The specified item was not found.
    regards,
    navneet

Maybe you are looking for

  • Material ledger activation in existing plant

    Hey all We have a plant in our Production client which was recently created. The materials in this plant have No released cost but we have PO's and movements in this plant. Now we are planning to activate Material ledger for this plant. Can anyone ad

  • Using batch convert tool on my website

    Can anyone help me out with a few questions: 1)  How can I use Batch Convert tool on my website where I will be able to process the files with an automated process? 2)  How and from where can I get the API to embed on my website? 3)  I want to automa

  • Vendor master - purhcasing data

    Hi, Can any bady tell where i will get information of all the fields in vendor master - purchasing data such as 1.Order optim.rest 2.Pricing Date Control etc. Regards Mahesh M J

  • CTRL + Alt + 9 ({) in CS5

    Hello, I am facing a problem in CS5 (using the trial version atm), I cannot enter a { # @ | basicly anything with a CTRL + ALT combination. Is this a know problem?

  • Is it possible to read embedded flash animation in acroread 9.5.1 under Ubuntu ?

    All is in the title ?