From a single item to B2B

Hello

It is more a question of architecture. We have a partner who has a custom document that have several root element (20 +). This document will form the basis for the validation of b2b. Since we have multiple roots, I can't build a BPEL process common to all types of document.

The plan is to make the Apps > WS > BPEL > B2B adapter. I have several elements in the WS such as header information and the necessary payload. This payload is a string that must be passed to the B2B adapter.

What is a good way to do it? I can see other options instead of WS such as JMS or QA.

I'll make Mae.


Kind regards
Robert

What version of prodcuts do you use?

How I can enter the header information if I get the message as opaque?

As I mentioned earlier, you can set the headers defined by the user to hold the necessary info. You must use the same headers to pass values to the b2b to BPEL.

Kind regards
Anuj

Tags: Fusion Middleware

Similar Questions

  • The aging programmatically on a single item in a Menu of Run-Time

    Hello

    Is is possible programmatically grey out (via a property node or otherwise) a single item in a menu of the run time?

    For example, see the image as an attachment.  When my program is in a certain State, I want the ' tools > Options genius "element to be gray.  The rest of the time, I want it to be activated.

    Is there a way to do this?

    Thank you very much

    Dan

    Hello

    This could be the function you are looking for?

    Hope this helps

  • I deleted an email in Windows Live Hotmail, who came to my Inbox and foolishly, has now been removed from the deleted items folder is what I can do to recover this?

    I deleted an email in Windows Live Hotmail, who came to my Inbox and foolishly, has now been removed from the deleted items folder is what I can do to recover this?

    original title: I deleted an important email

    Take a look at http://www.thewindowsclub.com/recover-deleted-emails-windows-live-hotmail

  • single item queue in a functional global

    I am considering using the queues of the unique element for messages within a project underway, but that the number increases, causing the number of references to queue to grow also, I look at methods to reduce the number of the sons of current around my upper level vi. I don't want to initialize these lines early in the program and having to run their individual references everywhere. One thought I had was encapsulate them into a driving force, to contain references, but wonder what, if anything, I win or lose by doing this vs. just using globals functional for messaging and not worry with the SEQ?

    Thank you, and for those of you in the southwestern part of the United States, stay warm (they have an exceptionally cold and snowy weather).

    Using queues in the single element as a reference object (one that fits, you can use in LabVIEW 8.6, in my opinion ), I do the following.

    1. Create single item queues for all objects of reference.
    2. Create references for each of these queues and place them in a cluster of strict typedef (typedef is probably good enough, but I would like to retain the provision).
    3. Create a queue of the only element that contains the cluster of typedef.
    4. Initialize all queues in your startup code at a level which ensures that they are not usefully cleaned for you (usually as a Subvi in your top-level code).

    For use, waiting for the queue of level higher, unbundle the right reference, place the queue at a higher level.  You should not have to touch the queue at a higher level, often because the references should not change during the life of the application.  In fact, you can replace the queue at a higher level with a global, for this reason, except that you can worry about initialization before use.  I have an extreme aversion to "desencapsulees", available on the global scale of data that I picked up in my days of C, so generally avoid them if I can.  I hope that was a little more enlightening.

    Our time at the end of the week should be about normal for this time of the year - unlike last Friday.  Here is a picture of the entrance to the R & D construction about 07:00.  It was our major snow of the Decade .  The city is closed for the day.  The next day, we almost reached 70 ° F.

  • Windows Vista mail. Impossible to delete some items from the deleted items folder.

    I can delete the new entries, but there are a few video fwded causing w/message does not. the Explorer did the same thing.

    In Windows Mail, select 'Tools', then 'Options', then choose the "Advanced" tab (a-wing) and then choose 'Maintenance' and check the 'Empty messages from the deleted items folder' box leaving

    This will remove them those ALL - not only some that selections but he should get rid of those who you are having problems with at the same time.  I don't know how just select the few with videos.

    I hope this helps.

    If this does not work or help, please post your question in the Forum programs: http://social.answers.microsoft.com/Forums/en-US/vistaprograms/threads where people who specialize in Windows Mail, among other things will be more than happy to help you with your problem.

    Good luck! Lorien - MCSA/MCSE/network + / A +.

  • Hi, y Cirrus limit the number of connections from a single IP address?

    Single IP I connection much and found that there are a few not very stable , automatically disconnect.

    is Cirrus limit the number of connections from a single IP address? Thank you

    No, there is no limit to the number of connections that can come from an IP address.

  • Returning from universal theme item values - form Page (modal dialog box)-

    Hello

    I use the universal theme - modal dialog (the form page, page 7) and intend to return several values of the item to the page back 2 when the dialog box is closed.

    I'm back from the point values P7_DNAME & P7_DEPTNO of page 7 of the elements P2_DNAME & P2_DEPTNO on page 2 but does not work.

    Form Page - Page 7 (modal dialog box)

    Process - close dialogue

    Items to return - P7_DNAME, P7_DEPTNO (put several points of values here to go back to page 2)

    Report Page - Page 2 (that calls the page 7 of the modal dialog box)

    Here we have a dynamic Action. I use the event ""closed dialogue ' and 'Set value' action "

    Event (closed dialog box) -

    Action - set

    -Define (return goods of dialogue) - P7_DNAME, P7_DEPTNO Type

    -Selection Type (items) - P2_DNAME, P2_DEPTNO [here I am back to several items.]

    If I go back more than one Page values element, it doesn't any idea WHY?

    BUT if I'm back only a single value of point, there works perfectly well.

    Thank you

    Deepak

    You can return multiple items at once and their values are sent along, but you cannot set multiple items with different values by the action of a set value.

    You must create an action of the value set for each element you want to set the value with the value of the element to return.

  • Extract data from xml file item

    I inserted all data from an xml file into an xml table in the database (after creating the directory and getclobdocument function)
    with

    INSERT INTO TEST_XML
    SELECT (XMLTYPE (getCLOBDocument ('MXMLF.xml'))) FROM DUAL;

    Now how to extract the individual item in the relational table my data in the xml table is something like the following.

    rowset <>
    < TransmissionHeader >
    < TransmissionDateTime > 2008 - 12 - 04T 09: 30:47 - 05:00 < / TransmissionDateTime >
    IATA:ISXMLInvoiceV3.1 < version > < / Version >
    < IssuingOrganizationID > 111 < / IssuingOrganizationID >
    < BillingCategory > various < / BillingCategory >
    < / TransmissionHeader >
    < invoice >
    < InvoiceHeader >
    < InvoiceNumber > 182792000 < / InvoiceNumber >
    < invoiceDate > 2007 - 12 - 19 < / InvoiceDate >
    Bill < InvoiceType > < / InvoiceType >
    < LocationCode > EWR < / LocationCode >
    Engineering of < ChargeCategory > < / ChargeCategory >
    < SellerOrganization >
    < > 111 OrganizationID < / OrganizationID >
    < OrganizationDesignator > ZZ < / OrganizationDesignator >
    Zed airlines < Nomorganisation1 > < / Nomorganisation1 >
    < TaxRegistrationID > 111ABC111 < / TaxRegistrationID >
    < CompanyRegistrationID > ABC111ABC < / CompanyRegistrationID >
    Patrick < ContactName > < / ContactName >
    < address >
    < > 111, Zed AddressLine1 headquarters < / AddressLine1 >
    Montreal < CityName > < / Nom_ville >
    < CountryCode > CA < / CountryCode >
    Canada < CountryName > < / CountryName >
    < code postal > 110011 < / code >
    < / address >
    < / SellerOrganization >
    < BuyerOrganization >
    < > 222 OrganizationID < / OrganizationID >
    < OrganizationDesignator > GG < / OrganizationDesignator >
    < Nomorganisation1 > Globe Airlines < / Nomorganisation1 >
    < TaxRegistrationID > GB22200222 < / TaxRegistrationID >
    < CompanyRegistrationID > Go 222 222 < / CompanyRegistrationID >
    George < ContactName > < / ContactName >
    < address >
    < AddressLine1 > 222, Globe headquarters < / AddressLine1 >
    London < CityName > < / Nom_ville >
    < CountryCode > GB < / CountryCode >
    England < CountryName > < / CountryName >
    < code postal > 220022 < / code >
    < / address >
    < / BuyerOrganization >
    < ConditionsPaiement >
    < CurrencyCode > $ < / CurrencyCode >
    < SettlementMonthPeriod > 071203 < / SettlementMonthPeriod >
    < SettlementMethod > I < / SettlementMethod >
    < / ConditionsPaiement >
    < ISDetails >
    < DigitalSignatureFlag > N < / DigitalSignatureFlag >
    < / ISDetails >
    < setting >
    < AttachmentIndicatorOriginal > Y < / AttachmentIndicatorOriginal >
    < / fixing >
    < / InvoiceHeader >
    < LineItem >
    < LineItemNumber > 1 < / LineItemNumber >
    < ChargeCode > MRO repairs and review < / ChargeCode >
    < description > package for unique maintenance work. Water VAVLE drain compl. P/N 9350022 < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice SF = "1" > 300,0000 < / UnitPrice >
    < ChargeAmount > 300,00 < / ChargeAmount >
    < TotalNetAmount > 300,00 < / TotalNetAmount >
    < / LineItem >
    < LineItem >
    < LineItemNumber > 2 < / LineItemNumber >
    < ChargeCode > MRO repairs and review < / ChargeCode >
    < description > material consumption for the single interview. Water VAVLE drain compl. P/N 9350022, S/N FRTR013AW < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice SF = "1" > 900.0000 < / UnitPrice >
    < ChargeAmount > 900.00 < / ChargeAmount >
    < TotalAddOnChargeAmount > 180.00 < / TotalAddOnChargeAmount >
    < TotalNetAmount > 1080.00 < / TotalNetAmount >
    < / LineItem >
    < LineItemDetail >
    < DetailNumber > 1 < / DetailNumber >
    < LineItemNumber > 1 < / LineItemNumber >
    < description > package for unique maintenance work. Water VAVLE drain compl. P/N 9350022 < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 300,0000 < / UnitPrice >
    < ChargeAmount > 300,00 < / ChargeAmount >
    < TotalNetAmount > 300,00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350022 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 1 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    < description > material consumption diaphragm < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 200.0000 < / UnitPrice >
    < ChargeAmount > 200.00 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 200.00 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 40.00 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 240.00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350584 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 2 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    < description > material consumption coverage < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 177.5000 < / UnitPrice >
    < ChargeAmount > 177,50 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 177,50 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 35.50 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 213,00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350595 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 3 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    Assembly of material consumption - Base < description > < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 520.0000 < / UnitPrice >
    < ChargeAmount > 520.00 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 520.00 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 104.00 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 624,00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350598 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 4 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    Packaging material consumption < description > < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 0.0800 < / UnitPrice >
    < ChargeAmount > 0.08 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 0.08 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 0.02 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 0.10 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > AS3209-009 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >

    How now?

    Please a little help

    I tried to instead of but of no use

    The new element in the root is 'InvoiceTransmission', so replace 'Lines' with it.
    In addition, there is now a default namespace, you must declare it as well:

    SELECT x1.InvoiceNumber
         , x1.InvoiceDate
         , x1.InvoiceType
         , x1.LocationCode
         , x2.*
         , x3.*
    FROM test_xml t
       , XMLTable(
           XMLNamespaces(default 'http://www.IATA.com/IATAAviationInvoiceStandard')
         , '/InvoiceTransmission/Invoice'
           passing t.object_value
           columns InvoiceNumber   number       path 'InvoiceHeader/InvoiceNumber'
                 , InvoiceDate     date         path 'InvoiceHeader/InvoiceDate'
                 , InvoiceType     varchar2(30) path 'InvoiceHeader/InvoiceType'
                 , LocationCode    varchar2(3)  path 'InvoiceHeader/LocationCode'
                 , LineItems       xmltype      path 'LineItem'
                 , LineItemDetails xmltype      path 'LineItemDetail'
         ) x1
       , XMLTable(
           XMLNamespaces(default 'http://www.IATA.com/IATAAviationInvoiceStandard')
         , '/LineItem'
           passing x1.LineItems
           columns LineItemNumber         number        path 'LineItemNumber'
                 , ChargeCode             varchar2(80)  path 'ChargeCode'
                 , Description            varchar2(200) path 'Description'
                 , EndDate                date          path 'EndDate'
                 , Quantity               number(8,4)   path 'Quantity'
                 , Quantity_UOM           varchar2(3)   path 'Quantity/@UOMCode'
                 , UnitPrice              number(8,4)   path 'UnitPrice'
                 , UnitPrice_SF           varchar2(3)   path 'UnitPrice/@SF'
                 , ChargeAmount           number(6,2)   path 'ChargeAmount'
                 , TotalAddOnChargeAmount number(6,2)   path 'TotalAddOnChargeAmount'
                 , TotalNetAmount         number(6,2)   path 'TotalNetAmount'
         ) x2
       , XMLTable(
           XMLNamespaces(default 'http://www.IATA.com/IATAAviationInvoiceStandard')
         , '$d/LineItemDetail[LineItemNumber=$lin]'
           passing x1.LineItemDetails as "d"
                 , x2.LineItemNumber as "lin"
           columns AircraftRegistrationNo varchar2(30) path 'AircraftDetails/AircraftRegistrationNo'
                 , PartNo                 varchar2(30) path 'AircraftDetails/PartNo'
         ) x3
    ;
    
  • Nations United can transfer photo from attachment to items photo 14

    I use elements 14 having upgraded from 10 items arrived a number of pictures as an attachment when running 10 items a pop-up window appears in Adobe saying they had detected some photo entries and I want to include them in the catalogue of Adobe.  After accepting the pictures would appear in the catalog as directed unfortunately I can't get the pictures to transfer using element 14. However, they find their way in 'Documents', but no matter what I try, I can't have their catalog of 14 elements. Please explain where I'm wrong"

    You can only be taken the pictures folder.

    From the Organizer, go to the menu:

    File > watched folders

    Click the Add button to choose Documents.

  • More SOA from a single binary installation servers

    Hello

    In section 4.3 of the Oracle Enterprise deployment guide - the mentioned below is

    "With Oracle Fusion Middleware 11g you can create multiple servers of a SOA

    single binary installation. This allows the installation of the binary files in one place on

    shared storage and reuse of this facility by servers in different nodes.

    However, for maximum availability, Oracle recommends using redundant binary

    facilities. "


    My configuration:


    Resources: External hard drive, 1 Machine, Machine 2

    Machine 1 is connected to the external hard drive (on E: /).

    Machine 2 is connected to the Machine 1 using the ethernet and so acccesible cable to the other. (Removed all firewalls to allow LAN communication between two machines).

    2 drive E:\ machine is mounted in the drive of the Machine 1 E (which is actually the path of external hard drive)


    Following is carried out:

    1. download the binaries (UCR, Oracle Weblogic, SOA Suite, etc.) to a hard drive connected to the Machine 1.

    2. starting at the Machine 1 - installed the binaries on a (Middleware House) location on the hard drive. All facilities including Jrockit are performed on the hard disk via the machine 1.

    3. has created a domain with cluster combining soa_server1 on computer 1 and soa_server2 on the Machine 2.

    4. from the Machine 1 consultation: SOA FIELD hard drive path and ran startWeblogic.cmd.

    5 Weblogic admin server started successfully.

    6. Repeat step 4 above of the Machine 2. (ie., by accessing the SOA AREA of hard drive using the drive mounting machine 2)

    7 Weblogic is NOT started.

    Reason:

    weblogic.management.ManagementException: cannot get a lock on E:\SOACluster-

    Sharing-Drive\Oracle\Middleware\01\user_projects\domains\soa_domain\servers\Admin

    Server\tmp\AdminServer.Lok. Server may already be running.

    My expectation of the statement from the Oracle documentation:

    -Server Admin would start also Machine 2 using that installation on storage shared (IE, HDD), as he did the machine 1.

    Grateful for the help!

    Thank you and best regards,

    Sridhar.

    Well, I think I missed the fundamental point that the server administrator can be started only once in a field and is achieved by locking.

    This explains above question.

    However several instances of managed server must be able to start using same binary.

    My bad. !!

  • Problem to extract data from a single column

    Hello

    I have a requirement where I have to get three records (intf. INTERFACE_DEF_ID, b2b. B2B_TPA_DEF_ID, osb. OSB_INF_DEF_ID) for the select statement for a particular column (val_id)

    The following query is in error.

    Help, please...

    Select

    (intf. INTERFACE_DEF_ID or b2b. B2B_TPA_DEF_ID or osb. OSB_INF_DEF_ID) as val_id

    Of

    ABC. INTERFACE_DEF intf,

    ABC. B2B_TPA_DEF b2b,

    ABC. OSB_INF_DEF OSB;

    Thank you.

    Although the errors because it's just syntactically incorrect in all directions.  Essentially, the SELECT statement is not yet valid.

    Create view abc_v_6 AS

    Select INTERFACE_DEF_ID val_id OF ABC. Union INTERFACE_DEF all the

    Select B2B_TPA_DEF_ID FROM ABC. B2B_TPA_DEF Union all the

    Select OSB_INF_DEF_ID FROM ABC. OSB_INF_DEF;

  • SEO on a site from Muse single page?

    I am a professional photographer and my current Web site is built in Wordpress. It is a nice looking site, but it's just not as commercial/professional research I would like to and I'm looking to rebuild using Muse. I was shopping for some nice looking templates to save me time and many drawings I see are made as a page layouts. Specifically, I'm in this one:

    Muse to Muse creative models - Shema - model | ThemeForest

    It is a site of unique page with menu links to different anchors around the page. My concern is that on my current site, I have a dozen pages indexed in Google, so if I go on a site more like a muse single page layout, how is this going to hurt my SEO, even if a lot of the same content is taken from one site to the other? Thank you!

    One solution is to adapt to different pages in separate sections H1 headers and anchor links. Then create 301 redirects for every old page to the new section anchor. Matt Cutts of Google indicates it should not be a problem, but the jury is still out.

  • Navigate trough different 'levels' in the XML file from the known item?

    I am quite new to this, so I have to ask even if it's a stupid question...

    I am trying to build a generic oracle procedure that can insert data into a table from a file XML so that message that it contains, but of course the messages has the same structure.

    I need to find the first item after data, in this case "CUS_ORD_HEAD", but it could be any message as PO_HEAD.
    So I need to somehow find the element without knowledge is the name of the element. It goes same for CUS_ORD_LINE that might be PO_LINE. Is it possible to navigate through the different 'levels' in the XML file from a known element.

    < CustomerOrder >
    < metadata >
    < TransActionIdentity > 1 < / TransActionIdentity >
    < / metadata >
    < data >
    < Client CUS_ORD_HEAD = 'ABC' CustomerOrderNumber '1234' = >
    < CUS_ORD_LINE CustomerOrderNumber = "1234" OrderedQuantity = "10" ProductNumber = "1001403" CustomerOrderLinePosition = "1" / >
    < HAPI_CUS_ORD_LINE CustomerOrderNumber = "1234" OrderedQuantity = "1" ProductNumber = "2530" CustomerOrderLinePosition = "2" / >
    < CUS_ORD_LINE_TEXT CustomerOrderLinePosition = '2' Text = "Test" CUSTOMERORDERNUMBER = "1234" / >
    < / HAPI_CUS_ORD_HEAD >
    < / data >
    < / CustomerOrder >

    the tablename parameter is identical to the XML element and attributes are the same as the columns

    OK, understood.

    You can retrieve the name of the element and attribute names in the same time by using something like the following.
    Attribute names are stored in a collection that is accessible iteratively in order to build the dynamic parts of the query:

    SQL> CREATE OR REPLACE TYPE TColumnList IS TABLE OF VARCHAR2(30);
      2  /
    
    Type created
    
    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2
      3   xmldoc   xmltype := xmltype('
      4  
      5  
      6  1
      7  
      8  
      9  
     10  
     11  
     12  
     13  
     14  
     15  
     16  
     17  ');
     18
     19   --t_column_list TColumnList := TColumnList();
     20   --v_table_name  VARCHAR2(30);
     21
     22   tmp_cols      VARCHAR2(1000);
     23   tmp_paths     VARCHAR2(1000);
     24   tmp_qry       VARCHAR2(4000);
     25
     26  BEGIN
     27
     28    FOR r IN (
     29      SELECT table_name
     30           , set(cast(collect(column_name) as TColumnList)) as column_list
     31      FROM XMLTable(
     32           'for $i in /CustomerOrder/Data/descendant::*
     33              , $j in $i/attribute::*
     34            return element e
     35            {
     36              element TABLE_NAME {name($i)}
     37            , element COLUMN_NAME {name($j)}
     38            }'
     39            passing xmldoc
     40            columns
     41              table_name   varchar2(30)
     42            , column_name  varchar2(30)
     43           )
     44      GROUP BY table_name
     45    )
     46    LOOP
     47
     48      tmp_cols := NULL;
     49      tmp_paths := NULL;
     50
     51      --dbms_output.put_line(r.table_name);
     52
     53      FOR i in 1 .. r.column_list.count LOOP
     54
     55        tmp_cols := tmp_cols || ', ' || r.column_list(i);
     56        tmp_paths := tmp_paths || ', ' || r.column_list(i) || ' varchar2(35) path ''@' || r.column_list(i) || '''';
     57
     58      END LOOP;
     59
     60      tmp_cols := ltrim(tmp_cols, ', ');
     61      tmp_paths := ltrim(tmp_paths, ', ');
     62
     63      tmp_qry := 'INSERT INTO ' || r.table_name || ' (' || tmp_cols || ') ' ||
     64                 'SELECT ' || tmp_cols ||
     65                 ' FROM XMLTable(''/CustomerOrder/Data/descendant::' || r.table_name || '''' ||
     66                 ' PASSING :1 ' ||
     67                 'COLUMNS ' || tmp_paths ||
     68                 ')';
     69
     70      dbms_output.put_line(tmp_qry);
     71
     72    END LOOP;
     73
     74  END;
     75  /
    
    INSERT INTO CUS_ORD_HEAD (CustomerOrderNumber, Customer) SELECT CustomerOrderNumber, Customer FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_HEAD' PASSING :1 COLUMNS CustomerOrderNumber varchar2(35) path '@CustomerOrderNumber', Customer varchar2(35) path '@Customer')
    INSERT INTO CUS_ORD_LINE (CustomerOrderNumber, OrderedQuantity, ProductNumber, CustomerOrderLinePosition) SELECT CustomerOrderNumber, OrderedQuantity, ProductNumber, CustomerOrderLinePosition FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_LINE' PASSING :1 COLUMNS CustomerOrderNumber varchar2(35) path '@CustomerOrderNumber', OrderedQuantity varchar2(35) path '@OrderedQuantity', ProductNumber varchar2(35) path '@ProductNumber', CustomerOrderLinePosition varchar2(35) path '@CustomerOrderLinePosition')
    INSERT INTO CUS_ORD_LINE_TEXT (CUSTOMERORDERNUMBER, Text, CustomerOrderLinePosition) SELECT CUSTOMERORDERNUMBER, Text, CustomerOrderLinePosition FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_LINE_TEXT' PASSING :1 COLUMNS CUSTOMERORDERNUMBER varchar2(35) path '@CUSTOMERORDERNUMBER', Text varchar2(35) path '@Text', CustomerOrderLinePosition varchar2(35) path '@CustomerOrderLinePosition')
    
    PL/SQL procedure successfully completed
     
    
  • Chart created from a single entry

    I am fairly new to apex sorry for anything that seems stupid. I want to choose an account of an interactive report and display a line chart based on this single record. This record would be a series of temperatures to a record such as temp1, temp2, temp3 etc.. I searched some tutorials but everything I've seen shows a chart with values from multiple records.

    Is this possible? Let me know if it needs to be clarified more.

    Published by: spysmily1 on February 29, 2012 13:48

    Published by: spysmily1 on February 29, 2012 13:49

    To graph a line, you need 2 points of reference - X and Y.

    There would be the temperature. X is the date

    You need match each value of temperature with the date.

    So, for the graph of the line you would need:
    Temp1, date1
    Temp2, date2
    Temp3, date3
    etc.

    Given that your values are all in one line, the union will be ranks separated so that they can be dealt with by the graph. I suppose you could use unpivot if you're on 11g.

    I'm sure that someone else would be a better way to do it.

  • Transfer from Lightroom to items 10

    Hello

    I have problems with the transfer of photos from Lightroom to 10 items. When I go to photos, change in 10 elements, elements opens but the picture does not appear, or shows the last picture that I just changed. I use a Mac with lion. Can someone please advise how to solve this problem?

    A big thanks Charlie

    Make sure that you have selected in fact demand when you configure your external editor in Lightroom.

    .

Maybe you are looking for