How to implement multi-source XSLT mapping in 11g PS3 BPEL  ?

Hi
How to implement multi-source (single destination) XSLT mapping in 11g PS3 BPEL ? Is there any good example step by step ?
thx
d

Hi d,
Also there's a sample available at samplecode.oracle.com mapper-105-multiple-sources.zip.
Regards,
Neeraj Sehgal

Similar Messages

  • How should implement multi-thread in single-threaded Operating system using

    How should implement multi-thread in single-threaded Operating system using java?
    Java supports "Multi-threading".Is there is any way run the multiple threads (Implementing multi threading) using java in a Single-threaded Operating system (That is the operating system does not support for multi-threading).

    Previous questions from OP suggest they are using J2ME, so the question might be possible.
    806437 wrote:
    How should implement multi-thread in single-threaded Operating system using java?
    What is the actual question/problem?
    A java app doesn't do threads or not do threads. It uses classes. The VM does threads.
    So if you have a platform that does not have threads and you want to support the thread class then the VM, not a java app, must provide some pseudo mechanism, such as green threads, to support that.
    If your question is about java code and not the VM then you must build a task engine and insure that the tasks are of short enough duration that it is an effective use for your system.

  • How to implement SCD type 2 in OWB 11g

    Hi all,
    I would like to know that how to implement SCD type 2 in OWB 11g.
    Actually I have tried to implement it but the target table which contains the effective_date and expiration_date are null after running the mapping.
    I have set the effective date and expiration date settings in the SCD tab of dimension object.
    Kindly help me the same if anyone knows.
    Kind regards,
    shikha

    You were able to get OWB11g to move data?
    Are you running on a 64-bit windows server? I could not get it to do a basic data move on this type of server install.

  • How to implement a client side map with ObjectImage control?

    We need to implement a client side map with an ADF Faces ObjectImage control. In the code below, the JSF Faces GraphicImage contol does support a client side image map using the usemap property. However, it appears that the ADF Faces ObjectImage control does not support a client side map. Is there someway of implementing this functionality in an ObjectImage control?
    <h:graphicImage url="/images/map-usa.gif"
    usemap="#m_mapusa"
    binding="#{backing_map.graphicImage2}"
    id="graphicImage2"
    style="border-style:none;"/>
    <af:objectImage source="/images/map-usa.gif"
    binding="#{backing_map.objectImage2}"
    id="objectImage2" />
    We could use the Graphic Image control except we have a problem by mixing a JSF GraphicImage control in the same table with a variety of ADF Faces controls in that when a user clicks on the GraphicImage, then the browser windows scrolls down to center the GraphicImage control. A user then needs to scroll back up to see the rest of the page. If an ObjectImage control is used with an onClick action, then the page does not scroll, which is what we want. So if we can figure out how to add a client side map to an ObjectImage control we would get the desired results.
    An alternative might be to use a server side map with the ObjectImage control. But our question here is how to implement the existing client side image map in a backing bean. As the following map code shows, not all image map areas are rectangles - some are polygons.
    <area id="_state_05" href="#"
    shape="rect"
    coords="681,38,702,50"
    target="_self" value="VT" alt="Vermont"
    onclick="javascript:getDtl(this);"/>
    <area id="_state_06" href="#"
    shape="poly"
    coords="221,442,209,436,209,418,191,403,155,382,116,367,101,370,98,364,
    122,355,158,367,203,388,212,394,242,427"
    target="_self" value="HI" alt="Hawaii"
    onclick="javascript:getDtl(this);"/>

    Hi,
    Any news about that issue, we are also interested in any solution.
    Thanks
    Math

  • How to implement Dynamic Context Node Mapping between Components

    Hey genuis:
               I am looking for how to implement context mapping bwteen two components. I read some threads, and try to use external context mapping. The example works fine. However, my requirement is more than that.
    I have a context node in Component B, and the attributes in it are dynamically generated. Component A is the main component which use Component B's function. Both A and B work fine by theirselves. 
    When I assemble A and B (external mapping), the system gives me a exception:com.sap.tc.webdynpro.progmodel.context.ContextException: MappedNodeInfo(T8UploadCompInterface.data): cannot create nodes, no mapping defined yet.
    Please give me some suggestion?
    Any responses are appreciated.

    I miss this thread.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44
    This is almost the right solution for my problem.

  • ** Any one know How to Implement POI of Google map ***

    **Hi Friends,
    if any one knows about implementation.just share with me.
    [email protected]

    HI Friends,
    How to implement Point Of Interest from google map.
    Is it possible, i checked in google static map api ..it provides markers and path and also some features
    other than POI.
    May i know how to implement POI,
    what api i have to use..i checked google ajax api. im not able to get that one.
    So,give me ur suggestions.
    what i have to do .
    [email protected]

  • How to pass the data to reusable process (11g PS3)?

    I am using reusable process (11g PS3) and want to pass the data from the caller process to the reusable process. But I could not do this since the start event for the reusable process is none start event. When I open the call activity, I am not able to do the mapping for the data association for 2 processes. Please help if you know how to do this.
    Thanks a lot,
    Helen

    Java Threads are what we call light threads because they already share the same memory and thus share their variables.
    On the other hand, processes, which are Heavy threads have separate address spaces and can't share variables. That's why those need to create shared memory spaces so they can share variables. But we don't need that in Java.

  • XSLT in bpel (soa suite 11.1.1.3.0): cannot create multi source xslt

    Hi,
    first of all I've read this:
    http://blogs.oracle.com/soa_how_to/2010/04/how_to_implement_multi-source_xslt_mapping_in_11g_bpel.html
    My problem is quite different:
    when I try to create a multisource XSLT, I receive this error:
    "Source parts of variables are either simple type or complex type, thus can not be used to create mapper file".
    What does that mean and how can I bypass this ?

    You can try defining a wsdl message type which holds all the simple types under a root element. Define a bpel variable of this message type and populate the various fields of this variable, instead of storing it under multiple bpel variables. Try to pass this variable to the xslt.

  • How to implement validations in message mapping?

    Hi experts,
    I have a simple requirement:
    I have a simple synchronous scenario:
    SOAP -> XI -> RFC
    In a message mapping, one of the fields in the source message is of type String.
    However, the target application (RFC) does not expect a non-numeric characters in this string.
    My question is how can I perform the validation in XI and tell the sender that this field contains Non-numeric characters?
    Please help.
    Thanks.
    Ron

    > Ron,
    >
    > >>With a RunTime Exception thrown, how can I tell
    >  the sender an error has occured?
    >
    > Sure. You can do this with out a BPM. You need to
    > configure alerts for this. If you configure ALERTS
    > and SCOTT, this will send an email of the errors
    > occuring in your scenario.
    >
    > For configuring and trouble shooting alerts check
    > these
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2327
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2328
    >
    > Regards,
    > Jai Shankar
    Hi Jai
    I already have alerts configured.
    But what I had in mind is to send a response to the sender (The sender is waiting for a reply since this is synchronous), instead of telling the sender through an alternative means such as email, sms, etc.
    Is this possible?

  • How to implement subquery in OWB mapping

    I am trying to build a mapping (OWB 10gR2) which uses a single driver table (COLLEGE) and requires additional columns from 2 other tables (CONTACT and DEMOGRAPHIC) which have a many-to-one relationship with the driver table. The output should be a single record for each record in the driver table.
    For the join to the CONTACT table I only want to return the first record found. The join for the DEMOGRAPHIC table should return the record with the MAXIMUM year. In SQL I would handle these relationships via subqueries. Here is a sample of the SQL that I would use:
    select college_CODE,
    college_DESC,
    contact_NAME,
    contact_PTYP_CODE,
    demographic_DEMO_YEAR,
    demographic_CALENDAR_TYPE,
    demographic_ACCREDITATION_TYPE
    from college, contact, demographic
    where college_code = contact_sbgI_code
    AND contact.ROWID = (SELECT MIN(A.contact.ROWID)
    FROM contact A
    WHERE A.contact_SBGI_CODE = college.college_CODE )
    AND college.college_CODE = demographic.demographic_SBGI_CODE
    And demographic.demographic_DEMO_YEAR = (SELECT MAX(B.demographic_DEMO_YEAR)
    FROM demographic B
    WHERE B.demographic_SBGI_CODE = college.college_CODE)
    How do I implement this logic within OWB? Is there any way to do it without using views?
    Thank you in advance!
    Chuck

    Hi,
    Try this way....join college and contact tables (if u r maintaining history in contact table use the dates also to join) and get the min of effective date form the contact table thru the aggregator...this will give u the first record....then join the result with the DEMOGRAPHIC table and get use the aggregator to get max of the year...this should give u the right result...
    Regards
    Bharath

  • How to implement  multi-companies schemas?

    I need to implement a multi-companies data base. There will be only one server and all the clients of the differents companies will have access to this server.
    How can I do this?
    - Tables with a company column
    - A schema per company
    Any suggestion?
    Regards

    In my mind, the simplest possible thing that could work would be a single schema where most if not all tables had a COMPANY_ID column, a context that gets populated with the COMPANY_ID, and a view layer that reads the data from the context to limit the set of rows that the current session can access. That way there is only one view that provides company-specific data regardless of the company rather than one view per company. This would be relatively similar to the VPD solution replacing policies on tables with views.
    You can create a context
    CREATE OR REPLACE CONTEXT your_context_name USING your_authorization_pkg;where YOUR_AUTHORIZATION_PKG is a package that determines which COMPANY_ID a particular session will have access to. That's one of the more vulnerable pieces of the infrastructure here, so you'll want to make sure that it is well secured. Within YOUR_AUTHORIZATION_PKG, you would set the value of the context
    DBMS_SESSION.SET_CONTEXT( 'YOUR_CONTEXT_NAME', 'COMPANY_ID', <<computed company id>> )where <<computed company id>> is the company ID that your package has determined the user has access to. Your view layer can then reference the value in the context
    CREATE OR REPLACE VIEW vw_employee
    AS
    SELECT *
      FROM employee
    WHERE company_id = SYS_CONTEXT( 'YOUR_CONTEXT_NAME', 'COMPANY_ID' );This isn't as easy or as secure as VPD, but it's often close enough.
    Justin

  • How to implement multi threading in pl/sql

    Hi,
    I have to run a pl/sql procedure which calls multiple instances of another procedure of some other package.
    How should I proceed to do it?
    Bhaskar.

    Actually the final table that need to be updated has
    millions of records.
    Hence I am thinking of multithreading.1) Why are you updating millions of records? Frequently, it is more efficient to do a direct path insert of the final data from a staging table into the final table rather than trying to update millions of rows in place.
    2) Are you using parallel DML? SQL already provides the ability to enable parallelism if that is going to improve the performance of your queries. There is, in general, no need to re-implement that in PL/SQL.
    And all the information are communicated within the
    same session.I'm not sure I understand what you're saying here...
    Justin

  • How to remove CDATA from XSLT mapping result

    Dear All,
    Using the following code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
         <xsl:template match="/">
              <DlrDiscItemWise>
                   <DlrDiscItemWiseXML>
                        <xsl:text disable-output-escaping="yes"><![CDATA[<![CDATA[]]></xsl:text>
                        <xsl:copy-of select="."/>
                        <xsl:text disable-output-escaping="yes"><![CDATA[]]]]></xsl:text>
                        <xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>
                   </DlrDiscItemWiseXML>
              </DlrDiscItemWise>
         </xsl:template>
    </xsl:stylesheet>
    I am getting result as
    <?xml version="1.0" encoding="UTF-8"?><DlrDiscItemWise><DlrDiscItemWiseXML><![CDATA[<ns0:MT_DlrDis_Sender xmlns:ns0="http://MTSINDIA/TC/DealerDiscount"><ITEM><nDlrAddEdit>1</nDlrAddEdit><nItemCode>101000080</nItemCode><nItemDisc>100</nItemDisc><dtDiscFromdt>15/May/2010</dtDiscFromdt><dtDiscToDt>31/may/2010</dtDiscToDt><nItemAddDisc/><dtAddDiscFromDt/><dtAddDiscToDt/><nDlrTypeCode/><nItemDisQtyMulti/><nItemDiscQtyFree/><sItemDiscPerAmt/><sItemDiscType/><nDlrCode>10010000088</nDlrCode><nCircleCode>4</nCircleCode></ITEM></ns0:MT_DlrDis_Sender>]]></DlrDiscItemWiseXML></DlrDiscItemWise>
    but client doesnot want <![CDATA] and ]] at the end. Basically client doesn't want CDATA tag as it is throwing error wihile collecting message in Web Service.
    Please help!!

    Hi,
    You remove CDATA from xsl program which you are using in mapping so that it will come in output. Because CDATA we will use in DTD only, not required in XSL program.
    thanks,
    madhu

  • EJB3 Stateful Sessionbean how to implement multi business interfaces?

    Hi All,
    I met up some issue, can't make the session bean implement 2 business interfaces? Please kindly throw me some light! thanks
    Business sessionbean
    @Stateful
    @ConversationScoped
    @Named
    @Local( { IWizard.class, IRegisterWizard.class })
    public class RegisterWizard extends WizardBean {
    @Local
    public interface IWizard extends Serializable {
            public String back();
            public boolean hasBack();
            public boolean hasNext();
            public String next();
            public String abort();
    @Local
    public interface IRegisterWizard{
            public String submit();
    }error message of glassfish3 below:
    Caused by: java.lang.IllegalArgumentException: Not enough type information to resolve ejb for  ejb name class wizard.RegisterWizard
            at org.glassfish.weld.services.EjbServicesImpl.resolveEjb(EjbServicesImpl.java:121)
            at org.jboss.weld.bean.SessionBean.createReference(SessionBean.java:422)
            at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.<init>(EnterpriseBeanProxyMethodHandler.java:76)
            at org.jboss.weld.bean.SessionBean.create(SessionBean.java:298)
            ... 53 more

    There does appear to be a bug in the handling of the bean with multiple business interfaces. I filed an issue for it :
    https://glassfish.dev.java.net/issues/show_bug.cgi?id=11826. The inheritance is a separate issue. Are you getting the same error or a different one after applying @LocalBean.

  • How to implement multi threading without using Java's synchronization

    I have a shared Object called "tradeObj" whose attributes are "Price" and "Quantity".
    Thread1 is going to change the price and Thread2 is going to change the quantity but not stepping on each other's update.
    Because of the cost of synchronization, I dont want to use "Synchronize", but still want to make sure both threads make their update in a proper manner.
    Any ideas?

    Soph wrote:
    I have a shared Object called "tradeObj" whose attributes are "Price" and "Quantity".
    Thread1 is going to change the price and Thread2 is going to change the quantity but not stepping on each other's update.given above I would guess [your interviewer|http://forums.sun.com/thread.jspa?messageID=10976469#10976469|interview] had in mind reducing locks contention (google for "java concurrency locks granularity" or "java concurrency locks contention" if you're interested)
    // disclaimer: I didn't test this code with compiler
    class TradeObj {
      private int price, quantity;
      // locks
      private final Object priceLock = new Object();
      private final Object quantityLock = new Object();
      public int getPrice() {
        synchronized (priceLock) { return price; }
      public void setPrice(int price) {
        synchronized (priceLock) { this.price = price; }
      public int getQuantity() {
        synchronized (quantityLock) { return quantity; }
      public void setQuantity(int quantity) {
        synchronized (quantityLock) { this.quantity = quantity; }
    Because of the cost of synchronization, I dont want to use "Synchronize", but still want to make sure both threads make their update in a proper manner.what you want above doesn't make much sense to me sorry
    Any ideas?Edited by: gnat on Apr 23, 2010 9:44 AM

Maybe you are looking for