How many process in order to implement a multi-operations WSDL?

Hello everyone,
I have designed a WSDL describing two operations, that I want to implement with BPEL.
I was wondering whether I needed to implement two BPEL files independently, one for each operation, or I was compelled to put the orchestration of both operations in a single BPEL file, with the help of a pick activity to separate the flows.
I tried both ways and only succeeded with the latter, but I am not convinced with the approach. The first option falls short when building the CASA. I get a "WARNING: 1 port with 2 providers", and effectively only one operation is exposed.
According to you, what is the way to go?
Thanks

Hi, Ricardo,
Why do you need to do this? What is the business requirement that demands this? It seems like a waste of time and effort, and you'll have to re-do it every time a row is INSERTed or DELETEd, or when any of the columns involved is UPDATEd.
Given that you really want to do it, here's one way:
MERGE INTO     table_x          dst
USING  (
           WITH    got_nums     AS
               SELECT  key1, key2, filename
            ,       ROW_NUMBER () OVER ( ORDER BY  key1 )
                                                   AS key_1_num
            ,       ROW_NUMBER () OVER ( ORDER BY  SUBSTR (filename, -8)
                                               ,         key2
                              )     AS filename_num
            FROM    table_x
        SELECT  k.key1
        ,        f.key2
        ,        f.filename
        FROM        got_nums     f
        JOIN        got_nums     k  ON  f.filename_num  = k.key_1_num
       )               src
ON     (src.filename     = dst.filename)          -- or any unique column(s), not including key1
WHEN MATCHED
THEN UPDATE  SET  dst.key1 = src.key1
;If you'd care to post CREATE TABLE and INSERT statements for the sample data, then I could test it.
As posted above, this assumes that filename is unique. If not, you'll have to change the join condition between src and dst to guarantee a unique match.
This does NOT assume that filename is always 19 characters; only that it is at least 8 characters, and that the last 8 characters determine the order.

Similar Messages

  • WMS :  How to Process Sales Order Released before Turning on WMS

    Hello Gurus,
    How to process sales orders released before WMS enable flag is turned on in the  new WMS enviournment in Oracle 11.5.10 ?

    Helios,
    Thanks for the document.
    I m looking for how to perform Pick confirm transactions for already printed Pick slips before WMS enabled flag is turn on for the org.
    One option is to close all the deliveries  but if there is no on hand at that point the they will remain option.
    Other option is to Back order those deliveries and re release them post wms enable flag is turned on... The only issue i see here is that if there are more new orders for one of the items  and the orders are released then which orders will get allocated/reserved if there is limited on hand quantity to statisfy the SO need.
    Let me know if you can think off some alternative solution.
    Apprecite help !!
    Thanks,
    Sam

  • How see how many process in paralell are running?

    Hi friends!
    I need add a new process chain in the main meta- process chain ( a big one)
    How can I know how many process are running in paralell,
    and how many process still free or available to use,
    between a time range?  (ex: 12:00hs to 12:10hs)
    Thanks in advance!

    Hi
    There are various ways by which you can determine whether you have enough background work process to run something in parallel.
    1. When your process chain is running use transaction code SM66 to see how many background process are being used.
    For background work process you get TYPE as BTC.  Now monitor this screen for some time and you would know what is the maximum number of background process being used during your PC run.   Your Basis team member will be able to tell how what is the total number of background work process in your system.  Now you would be able to understand how many of these process remains free.
    2. You can run SM51 -
    > this will list you number of application servers you have. Double click on each of the server , it will take to to SM50 screen. Top side there will be clock sign. Click on that. This will give you the CPU time of each work process.
    i.e what is the time a wp was using CPU since last system restart.  If you see  for most of the background work process this time is in the range of 0 - 2 seconds , then they are mostly free .
    3. You would also get some of the valueable information from RSBATCH -
    >Background and Parallell Process -->DIsplay Background Process
    Regards
    Anindya
    Edited by: Anindya Bose on Jan 6, 2012 5:58 AM

  • How to process Back orders

    Dear All,
    How to process back orders?
    Please suggest me.
    Regards,
    Mullairaja

    Check t.code V_RA and the link http://help.sap.com/saphelp_47x200/helpdata/en/dd/55ff4b545a11d1a7020000e829fd11/frameset.htm
    Regards

  • How many processes for Start processes

    Hi Community,
                            I am new to process chains, I am creating process chains for master data loading. Here I am adding " Execute Info Package " for every Object.After adding 10 different objects system not allowing me to add new process type (" Execute Info Package ") to this list. Please some one tell me max how many process type we can include for a start process.
    Regds
    Robbie.

    Hi Bhanu,
                       I added new process type (Execute Infopackage) for infoobject 0VTYPE to start process variant. When I am trying to Check the process I am getting message called "PROCESS WITH WARNING MESSAGES". And on the context menu of the node to go for Displaying Messages , Too many parallel processes for chosen server .
                         Please let me know if you need any further information.
    Regds
    Robbie.

  • How to know how many process chains were scheduled?

    Hi guys,
    Is there any table o transaction to know how many process chains per client were scheduled?
    I need to know per client how many pchains were scheduled and the technical name of each one.
    Thks and regards,
    EV

    Hello,
    SM37 - Search for BI_PROCESS_TRIGGER scheduled jobs.
    Regards,
    Jorge Diogo

  • How many ways r there to implement Oss note

    how many ways r there to implement Oss note and please explain all...

    I count three.
    SNOTE is the first, which applies the note without needing to manually apply the code.
    Some notes can't be applied in SNOTE (the changes needed cannot be applied automatically by the system), so these are applied manually, following the instructoins in the note.
    A third way is to apply a support pack, which is essentially made up of a large number of notes.
    Regards,
    Nick

  • How many process on a paticular listiner...

    Hello all,
    Is there a way to check how many connections/process are using a paticular listener ?? I have 3 diff listiner (obviously 3 diff ports )and wanted to know how many connections a paticular listner is hanlding at this current moment ??
    i know i can check the lsnrctl services, but it only gives me how many connection it establised and how many it refused. But wanted to know how many current users are connected to one paticular listiner ?
    i am on hp-ux and running 10.2.0.1

    if the listiener has nothing to do after the handoff,
    how would we determine how many user are connected using a paticular port ??You suffer from MANY misconceptions regarding how SQL*Net actually works.
    For DEDICATED SERVICE connections each session uses its own "random" high port.
    For V10+ no listener.ora file is required to start or run Oracle listener.
    do as below so we can know complete Oracle version & OS name.
    Post via COPY & PASTE complete results of
    SELECT * from v$version;

  • How many processes?

    Hello,
    I have a question about how many concurrent processes within a single process chain could I start with? That is, from the start process, how many could I trigger at the same time?
    Eg. :
    Start Process
    |
    P1      P2      P3       P4          Pn
    Does it mean each process (P) take up 1 batch process?
    Pls give a hint thanks.
    Regards,
    Alfonso S.

    Alfonso
    After start process you could use any number of process you want. In your example You could runn P1, P2, P3 and P4 in paralle or one after other depends on your requirement.
    Yes each process will take one batch process
    Hope I answered your question
    Thnaks
    Sat

  • How to Process Customer Orders

    My Question is Using the AdventureWorks2012 Database how would you create a Stored Procedure that will Allow a customer to buy multiple items and the store proc process the whole things and nsert all the necessary information in the Sales.OrderHeader and
    OrderDetail Table.Ex:Like an E-Commerce Store procedure that proces Customer Orders friend told me to ue a TVP to store the items and some eSelect Blah Blah Blah..but can somone please give me an exemple of work me Thought it Please.
    Thank you for Your help !

    Do you want to provide the items as array, a table?
    Create a user-defined data type with a single column.
    Develop a procedure with a table variable as an input parameter.
    Declare a table variable of the type of the user defined data type.
    Loading 10 records into the table variable and pass the table 
    variable to the stored procedure.
    create type tt_example AS TABLE
     (spid int)
    go
    create procedure usp_example
     @spids tt_example READONLY
    AS
     SELECT *
     FROM @spids
    GO
    declare @spids tt_example
    insert into @spids
    select top 10 spid
    from sys.sysprocesses
    exec usp_example @spids=@spids
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How many multimaster replica can I implement?

    Hi, I need to install six multimaster replica in LDAP Directory Server 5.2 but I read that this version is not supported.
    Which version is supported for N multimaster replica?
    How can I migrate all the configuration or upgrade to a new version?
    Thanks.

    Sorry for asking, but why would you need lots of masters?
    From my experience, keep the masters to only update databases and propogate out to consumer/hubs. Before throwing more masters at a problem, look at your ldap system topology first. I've got 4 masters holding 30 db's between them in a pair of multi-master pairs, and many many million entries.... I hardly ever see etimes greater than 0 and im running oldish V880's !

  • How many processes after intial start on RedHat 7.2

    Ok, I'm trying to do an evaluation of Sun ONE 7 (or whatever the official name is now) using RedHat 7.2 on a 500mhz PIII dell with 192MB of memory. Before I start the appserver there are 73 processes on the box, after I start the appserver, there are 253 processes. Seems a bit extreme. I've tried the install on a Solaris 8 box, and the number of processes is significantly lower (approx 10 additional processes after start-appserv).
    I've tried the install with and without the sample applications. What gives here (other than my CPU load ... )
    thanks,

    While this may sound extreme, I believe that what you see is due primarily to a difference in Java native thread handling between Linux and Solaris - on Linux, each Java native thread will get its own process table entry while on Solaris this is not the case. This got "fixed" in RedHat 9....
    This article has some more information on this:
    http://developer.java.sun.com/developer/technicalArticles/JavaTechandLinux/RedHat/

  • How many cpus on server are allocated to client

    hello,
    its not an issue rather doubt which is hunting me from last 2-3 days.
    My 10gR2 Oracle database running on
    Widows server 2008 R2 Enterprise
    Processor ----> intel Xeon cpu [email protected] GHz (4 processor)
    RAM------>8GB
    its a dedicated server.
    Actually i was going through the AWR report whn one of the client came to me with slow database performance during some time interval.
    when i had a look at the Top 5 Timed Events in Report it showed me the
    Sql*net message from client      834.35si told them to run their query so that i can have trace of that.
    then time event showed me something nearer to above and our database was taking only 15 sec to carry out the task.
    i told them that
    "you application/client is taking 834 sec to tell our database to do something.But once the database got your application's request to carry out something, the database is taking only 15 sec to provide you with the result"
    so they asked me to justify that the problem is with application side/machine side.
    After digging in a lot on the internet ground, chatting with my colleges on cell phone and running through many threads specially Asktom.oracle.com, i got really confused.
    They came up with varied opinions which kept me thinking again & again over the same thing.
    In one of his(Thomas kyte) thread the discussion was as follows.
    The output of tkprof when the developers run the same program on their PC shows a big difference in
    SQL*Net message from client.
    The SQL*Net message from client from my tkprof is almost 4-5 times theirs.
    Could you please advise what might be the cause of that?
    Thanks
    Followup   August 25, 2009 - 9am Central time zone:
    that could mean.....
    your machine is slow (their desktop cpus blow your server cpus away) as much as anything.
    since their code is not instrumented, try SQL*Net trace (with TIMESTAMPS) can be helpful to check out the time in the network between the client and server. See Note 16658.1 - see if you experience radically different response times on the various machines.
    4 stars   August 25, 2009 - 2pm Central time zone
    Bookmark | Bottom | Top
    Reviewer: Jaklin Ekdawi
    My Database server is T5120 with 4 core 1.2 GHz Ultra SPARC T2 processor (from O/S it is seen as 32
    CPU * 1.2 GHz).
    Their PC has 2 CPU * 4 Ghz.
    Based on the above, How come their PC is more powerful than my server?
    The ASH Report for the execution period of the program shows ¿CPU + Wait for CPU¿ is the top event,
    however, tkprof shows ¿SQL*Net from client¿ is the top event waited on.
    Top User Events
    Event        Event Class    % Activity    Avg Active Sessions
    CPU + Wait for CPU     CPU             81.66        0.14
    log file sync             Commit             5.92        0.01
    db file scattered read     User I/O     2.37        0.00
    Can you please explain why there is a difference between tkprof and ASH report?
    Thank You
    Followup   August 25, 2009 - 8pm Central time zone:
    I only care about a single cpu, your client program is not using more than one.
    I often downloaded stuff from my big bad sparc to my desktop because my desktop was many times faster than the sparc.
    look further down in the ash report - sqlnet message from client is an idle wait, we tend to ignore it as it is the time we spent WAITING FOR THE CLIENT.
    Their pc looks a lot faster than your server since you are only using a single cpu - your client is not multi-process. It only uses a single cpu.
    4 stars   August 25, 2009 - 2pm Central time zone
    Bookmark | Bottom | Top
    Reviewer: Jaklin Ekdawi
    Sorry, I forgot to say that during the execution time the cpu on the server was 98-99% idle based
    on (using top and sar).
    Thanks
    Followup   August 25, 2009 - 8pm Central time zone:
    I agree, because you could not use 31 out of 32 cpus, I would expect it to be almost idle.
    97% idle would mean a single cpu was 100% used. So, it sounds like you were using almost 100% of that single cpu you had access to.
    and it isn't as fast as their pc.
    4 stars   August 25, 2009 - 10pm Central time zone
    Bookmark | Bottom | Top
    Reviewer: Jaklin Ekdawi
    The tkprof from the developer's PC is below
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse      122      0.39       0.68          0        403          0           0
    Execute    122      0.00       0.00          0          0          0           0
    Fetch      396      0.09       0.11          0      25354          0         274
    total      640      0.48       0.80          0      25757          0         274
    Misses in library cache during parse: 122
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                     763        0.00          0.00
      SQL*Net message from client                   763       14.71        312.91
      SQL*Net more data to client                   122        0.00          0.00
    The tkprof for the running the same process on Solaris DB Server
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse      124      0.06       0.03          0          0          0           0
    Execute    124      0.04       0.01          0          0          0           0
    Fetch      400      0.07       0.10          0        802          0         276
    total      648      0.17       0.15          0        802          0         276
    Misses in library cache during parse: 1
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                     774        0.00          0.00
      SQL*Net message from client                   774       43.65        964.23
    - On Solaris DB server, the CPU is 0.17, however, "SQL*Net message from client" is 964.23.
    - On the developer¿s PC, the CPU is 0.48, however, "SQL*Net message from client" is 312.91.
    Based on that, how I can approve it is CPU issue?
    Followup   August 26, 2009 - 7pm Central time zone:
    how about this.
    have the developers write something that mimics what they do without the database in it. Same sorts of loops and processing they do in the code in the client.
    run it on their machine
    run it on yours
    You'll find your big bad server has cpu's that are extremely slow compared to the desktop machine.
    Hence - the time spent waiting for sqlnet message from client is - time spent in YOUR client on YOUR server processing the data returned from the database.
    saying "the cpu 0.17 on one and 0.48 on the other" is meaningless, they are completely different cpus with completely different performance characteristics.
    And that you have 32 of them - no use to you, you use one..
    It looks like your server is about 2-3 times slower then their test machine.
    5 stars SQL*Net Message from client may not be an issue from the app   May 28, 2010 - 8am Central time zone
    Bookmark | Bottom | Top
    Reviewer: Thierry B from Paris, France
    Hi,
    I just read your post as I experienced the exact same problem. I found something that fixed this
    problem for me, my sqlnet.ora contained that line after an oracle upgrade:
    TRACE_LEVEL_CLIENT=16
    I don't know how it came there. But it was the cause of my problem (too long idle time). I simply
    removed it and no more wait events.
    I hope it can be of any help for anyone.
    Followup   May 28, 2010 - 8am Central time zone:
    that is a client side issue though, isn't it. It is an application side issue, not a database side issue.
    5 stars   April 15, 2011 - 10am Central time zone
    Bookmark | Bottom | Top
    Reviewer: A reader in this thread Tom insisted that the client has access to only 1 CPU on the server even though the questioner told him that his machine is having around 32 CPU'S.
    so this thread was the source of my confusion.
    i kept asking myself "if the client application has access to one cpu out of 32 cpu's on the server on which the database server is running,then What is the use of multiprocessor? my oracle/client application has access to only one cpu on the server(like Tom said), what other 31 cpu's on the server machine are upto?if one cpu is getting exhausted by the client Application request, then what the other processor are doing ? are they not meant for load balancing?"
    when i had a chat on cell phone with my colleagues regarding the oracle access to the cpu's on the server, then they told me that if there are more number of cpu's then the the response time would be fast cause workload is divided among the multiple processor to carry out the task in parallel.
    Again i got confused with the deferring opinion..
    so just want to have clarification on
    * how many processes do i have access to on server machine where my oracle is installed?*
    how many processes do the client applicaiton S/W/client machine have access to out of 32 processors?
    is workload devided among the cpus on the server ,in case of huge request from the client application?
    thanks & i hope my doubt would be cleared

    Look at it in basic terms (forgetting for the moment about Oracle and SQL*Net and specific s/w itself).
    A process is loaded into memory. This process contains machine code instructions. How many CPUs can execute these instructions?
    Only 1.
    Simplistically. The process has a single execution pointer and set of CPU registers. A single CPU executes the instruction (as indicated by the execution pointer). The registers are used and updated.
    The same CPU may not be used each time around. So a single process can during its lifetime, be executed by a number of CPUs. But a single CPU at a time.
    A process can thread. This basically means that a second copy of the execution pointer and registers set are created. Each such copy will be executed by by a single CPU at a time.
    An Oracle client is serviced by an Oracle server process (either dedicated or shared). On Linux/Unix systems, this will be a unique physical process. On Windows, it will be a unique thread.
    This process is executed by a single CPU. Thus that client is serviced by a single CPU.
    This changes when Oracle can use parallel processing and there are PX slave processes available. In that case, the client is serviced by a single process - but that process has in turn enlisted the assistance of helper processes. Thus the client is now serviced by multiple processes (or threads on Windows) and thus by multiple CPUs.
    However, it is not that simple either. It is "cheaper" for the kernel to run threads on the same CPU than on different CPUs. The reason is the same memory is used by both and access to that memory by different CPUs is more complex (and thus more expensive and slower) than from the same CPU.
    So depending on a number of factors, that client may still be serviced by a single CPU despite the fact that PX slaves are used. And from a client process perspective, this does not really matter. The crux of the issue in this regard is the CPU utilisation/footprint of that client process on the server.
    If the clock time for a client process says "+running for 60s+" and the server says "+CPU time is 10s+", you cannot say that the process was not serviced by multiple CPUs. You do not know whether than 10s CPU time was for 5 processes each spending 2s to service that client.
    However, when the server says "+CPU time is 70s+" - a longer period that the wall clock time of the client, then it is reasonable to assume that multiple server processes (and thus CPUs) are servicing that client process.
    As for exactly how many CPUs are in fact used by the server? That has no real bearing on this. It does not change client-server behaviour.
    Even Oracle does not know and does not care which CPU is servicing it. The correct piece of s/w to deal with that, is the kernel. Yes, you can bind a thread or process to a specific server CPU, but the reasons for this is quite technical and is always an exception. Let the kernel deal with which CPU to use. It is of no concern to the server s/w (like Oracle), and even less to the client process being serviced by that server s/w.

  • How does the servlet implement the multi-thread feature?

    There is only one instance of every servlet in one wep application.
    When several clients invoke the doPost() method of the same servlet,the servlet can process their request respectively.
    So there much multi threads of one servelt.
    But the Servlet doesn't implement the Runnable interface of extends the Thread class.
    I wan't to know,how does the servlet/servlet container implement the multi-thread feature?

    Hi johnnylzb
    There is only one servlet instance existing.
    (assuming u have <load-on-startup>1</load-on-startup>)
    The server creates a thread for every request ..
    and all the threads access the same servlet instance.
    For this its not necessary for the Servlet to extend Thread or Runnable.
    hope this helps

  • AFTER IMPLEMENTING OSS NOTES 390635 HOW TO SEE PRODUCTION ORDER CHANGE

    Hi Experts...
    Requirement: AFTER IMPLEMENTING OSS NOTES 390635 HOW TO SEE PRODUCTION ORDER CHANGE HISTORY?
    I have seen many threads about implementing OSS NOTES 390635, but hardly any one narrated the process in detail as to how to see 'Change History'..
    I just would like to know 'how' and 'from where' to find Order Change History in detail (i.e Prod .order Comp. change history, Prod. Ord. Operation Change History, Prod. order header change history etc..)
    In general this isssue might sound old one..but 'POST IMPLEMENTING OSS NOTE 390635' is rare one.
    Folks need your expert comments and valuable suggestions....
    Thank You...
    Lucky

    Dear
    You should goto CO02-Enter Production Order -Goto -Change Management -Here it will list down all the chages with relevent information .
    Refer : Re: Production order changes history
    Production orders
    Regards
    JH

Maybe you are looking for

  • Creation of a new record based on the value of a picklist

    Hi, My requirement is whenever i select a picklist value in Opportunity record type based on the value selected a new opprtunity record should get created and get assigned to a role or A User otherwise a lead should get created and should be assigned

  • Can't navigate to a page when using a class method

    I am working on windows phone 8.1 universal app where I have created a class method and placed it in the NavigationHelper_LoadState method of one of the  pages in my app. My navigation is as follows, I click on a link on my Mainpage and that takes me

  • Using an old AEBS as a printer access point

    I would like some help please on how to configure an old (2006 UFO) Airport Extreme Basestation as a wireless hub I can use to plug some printers into for printing over a wireless network (if it can be done). I'm using Airport utility 5.3.1. I recent

  • Mac Mail 3 html formatting issues

    I have some people I've been working with who recently upgraded to Mac Mail 3 and since a quarantine report they receive about email that was filtered no longer displays correctly. It displays correctly for anyone using anything other than Mac Mail 3

  • Strange, setMargin not working on JTextArea

    setMargin comes from the JTextComponent which is Parent of JTextArea and JTextField. I used setMargin(new Insets(2, 4, 0, 4)); in the JTextField and it worked fine of course, but when I tried setting the margin in the JTextArea isn't not working, it'