How to manage multiple operation within the same partner link ?

Hi,
I have a partner link with 2 possible operations : "sayYes" and "sayNo".
I want to do the following : if the operation is "sayYes", I return "YES", if it's "sayNo", I return "NO".
(not really complex... in theory)
In my WSDL file, I have the following :
     <message name="TestPickRequestYesMessage">
          <part name="payload" element="client:TestPickProcessYesRequest"/>
     </message>
<message name="TestPickRequestNoMessage">
          <part name="payload" element="client:TestPickProcessNoRequest"/>
     </message>
     <message name="TestPickResponseMessage">
          <part name="payload" element="client:TestPickProcessResponse"/>
     </message>
     <portType name="TestPick">
          <operation name="sayYes">
               <input message="client:TestPickRequestYesMessage" />
               <output message="client:TestPickResponseMessage"/>
          </operation>
<operation name="sayNo">
               <input message="client:TestPickRequestNoMessage" />
               <output message="client:TestPickResponseMessage"/>
          </operation>
     </portType>
The returned value is in a string variable : "return_value".
I've created a "pick" activity :
<pick name="Pick_1" createInstance="yes">
<onMessage portType="client:TestPick" operation="sayYes"
variable="inputVariableYes" partnerLink="TestPick">
<sequence name="Sequence_1">
<assign name="setReturnYES">
<copy>
<from expression='"YES"'/>
<to variable="return_value"/>
</copy>
<copy>
<from variable="return_value"/>
<to variable="outputVariable" part="payload"
query="/client:TestPickProcessResponse/client:result"/>
</copy>
</assign>
<reply name="replyOutputYES" partnerLink="TestPick"
portType="client:TestPick" operation="sayYes"
variable="outputVariable"/>
</sequence>
</onMessage>
<onMessage portType="client:TestPick" operation="sayNo"
variable="inputVariableNo" partnerLink="TestPick">
<sequence name="Sequence_2">
<assign name="setReturnNO">
<copy>
<from expression='"NO"'/>
<to variable="return_value"/>
</copy>
<copy>
<from variable="return_value"/>
<to variable="outputVariable" part="payload"
query="/client:TestPickProcessResponse/client:result"/>
</copy>
</assign>
<reply name="replyOutputNO" partnerLink="TestPick"
portType="client:TestPick" operation="sayNo"
variable="outputVariable"/>
</sequence>
</onMessage>
</pick>
!http://www.monsterup.com/image.php?url=upload/1237201855.png!
[http://www.monsterup.com/image.php?url=upload/1237201855.png]
!http://www.monsterup.com/image.php?url=upload/1237201924.png!
[http://www.monsterup.com/image.php?url=upload/1237201924.png]
When I deploy and test this application, I have a huge problem : if a choose a "*sayNo*" message, my application do the following :
The "pick" activity logs :
<inputVariableYes>
- <part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <ns1:TestPickProcessNoRequest xmlns:ns1="http://xmlns.oracle.com/TestPick">
<ns1:input>
blabla
</ns1:input>
</ns1:TestPickProcessNoRequest>
</part>
</inputVariableYes>
I have a right "*TestPickProcessNoRequest *" message type.
BUT, the next activity is "setReturnYES", instead of "setReturnNO".
!http://www.monsterup.com/image.php?url=upload/1237201958.png!
[http://www.monsterup.com/image.php?url=upload/1237201958.png]
Can anyone tell me where I'm wrong ?
It looks like the "pick" activity always go with the first sequence...

Hi PhunkyBob,
I also had a hard time, finding out that the problem was with the BPEL console and not with my processes -.-
Perhaps it's the Browser, I too use Firefox. Did not try it in IE yet.
Here is the solution, try to switch to XML View and then change the Operation! (you will notice that it changes properly) Then you can either send it that way or return to HTML View.
I have always to it that way,.. gets really annoying when I have to test a process many times :-/ ...change to xml, change operation, back to html, making entries, send...
If someone has a solution, other than changing the Brwoser, please post :-)
greetings,
Michael

Similar Messages

  • How to manage multiple sizes of the same image?

    I recently took up LightRoom for all the good things it does. One of the things I need to do, however, is to create and manage multiple sizes of the same image needed for different purposes. I always found this cumbersome. I totally expected that the LR library would offer a solution for this but I looked and I didn't see anything. Sure you can export and resize in the process but then you're on your own. Am I missing something? Isn't there a better way? What does Adobe have in mind for best practices and how do you handle this?

    I can't speak for 99jon, but when I need multiple sizes, I export at the desired sizes, and then make use of the exported photos (upload, e-mail, whatever) and then delete the exports. Thus, there's really no need for me to keep track of the photo at this specific size, knowing that if I ever need it again -- unlikely -- I can regenerate it with the export pre-set, so I put no effort (zero!) into keeping track of photos at different sizes.
    The idea of adding it back into the catalog doesn't get me excited, and I would advise against it. I don't need this, and I don't see the benefit of keeping this particular size export for the long-term. As I said, I can always recreate it — but maybe you have such a need to keep these exports long-term and recreating it at a later point in time doesn't meet your needs? Can you explain?
    By the way, you can't resize a virtual copy, so that won't work here. The only time you can resize is on export.

  • In OEM 12c, how to manage multiple incidents at the same time?

    Hi,
    Is there a way to manage multiple incidents at the same time? For example, if I want to assign owner for multiple incidents in the incident manager, is there a way to do this? Thanks for the help.

    This is currently not supported. This support will be available as part of the next patch set release.
    Please note that you can use Incident rules to assign owners to incidents as they come in or get updated.

  • How to use multiple profiles within the same instance of Thunderbird

    About a month ago, I had Thunderbird configured with three profiles,
    and all three could be used within a single startup/instance of
    Thunderbird. That PC is now gone. I have re-configured the three
    profiles on a new PC, but am having trouble making all three
    useable within the same instance of Thunderbird. Can you help?
    Both PCs are/were Windows-7 64 bit.

    Thunderbird only opens on the default if one profile
    or
    if Profile Manager is instructed to ask at startup it will allow you to choose which Profile to open else it opens on the last Profile used..
    So it shows one Profile at a time in one instance of Thunderbird.
    However, one Profile can have many mail accounts.
    eg: I run 4 mail accounts in one Profile.

  • What is the best way to manage multiple ipods using the same itunes?

    Hi Everyone
    i am trying to manage three different ipods through the one Itunes, all with very different tastes, not sure if I am doing it the best or easiest way so does anybody have a simple solution on what you're supposed to do, to keep it all simple!
    Cheers
    Liv

    If you have created a new Windows user account you need to log out and then log back in with your original user name. By default each Windows profile will have an independent iTunes library.
    If instead you managed to create a new library within the same profile. click the icon to start iTunes and immediately press and hold down the shift key, keep holding until asked to create or choose a library. Click Choose and navigte back to your original which should be at <User's Music>\iTunes.
    Your question as posed was:
    What is the best way to manage multiple iPods using the same iTunes {library}?
    in which case Selected Playlists is probably the best approach. Simply create a playlist for each device, Alice's iPod, Bob's iPhone etc. and sync the device with the appropriate list.
    tt2

  • How can I POST data within the same page if I have a A HREF -tag as input?

    How can I POST data within the same page if I have a <A HREF>-tag as input? I want the user to click on a line of text (from a database) and then some data should be posted.

    you can use like this or call javascript fuction and submit the form
    <form method=post action="/mypage">
    cnmsdesign.doc     
    </form>

  • How to have multiple images on the same screen? like in the movies where you see several actions at

    how to have multiple images on the same screen? like in the movies where you see several actions at the same time ....
    i don't find  a tutorial in adobe tv....
    thanks !!

    The short answer is that you'll put the source clip(s) for each inset on a different video track, all stacked up. Then use the Scale and Position effects (under "Motion" on the Effect Controls panel) to reduce their size and place them where you want.
    If the content of an inset will involve edited content (where you're cutting among various clips or just trimming out unwanted content from a single clip), then you'll probably find it easier to do all those edits in one sequence, then nest that sequence in the master sequence, where you apply the Scale and Positioning effects. That will save the step of applying the scale and position effects to each edited track item.

  • Can iTunes purchases be loaded to multiple iPods within the same household

    Is it legal to download purchased music from iTunes Music Store to more than one iPod within the same household?
    I understand the implications with teenagers sharing music in this manner; however, it seems crazy that I need purchase duplicate music to download to both mine and my wife's iPod.
    I tested this with a few of the songs I purchased over the weekend and the iTunes software will allow the files to be imported into iTunes but not the iPod. It gives a message that states my wife's iPod is not autorized to download these files.
    Please advise if it is legal to do this and if so how I can go about importing purchased files to my wife's iPod?

    It says the files are not authorized for use on that her iPod. I made the purchases from my work laptop and updated my iPod from iTunes on my computer.
    I added original CD tracts to the iTunes software on my work laptop and copied these and my purchased files to a second version of iTunes that is running on my home computer that my wife uses to manage her iPod.
    I imported the folders to her computer by going to "File" and "Add Folder to Library". It brought the purchased files in to her library and auto-created a folder that it identified as imported Limeware files for the folders of the CD files.
    When I updated her ipod it loaded all the files except for the 6 purchased files that I had brought in. That is when I got the message saying that her iPod was not authorized to receive the 6 purchased files.
    In addition to not being able to load my purchased files to my wife's iPod, I am afraid that I will be charged for the imported CD files that iTunes automatically and erroneously identified as "Limeware" files.
    Any advice? Thanks for the feedback and taking the time.

  • How to support multiple users at the same time?

    Hi all,
    I have a Labview software which controls a analyzer via GPIB connector. When user A is using the software, user B has to wait until A is done. But actually, the analyzer is not very busy, when user A is using the software.
    I want user A, B, C and D can use the software at the same time. just like we can open Multiple websites at the same time.
    How can I program the software, so that the software can be open multiple times? Do you have any example?
    Thanks a lot.
    Steven
    Solved!
    Go to Solution.

    Are all the users going to be measuring the exact same thing from the same instrument?
    It would be possible to write a separate instrument server application that would handle all the direct interactions with the instrument. When one of the users needed to access the instrument, they would gain access to it through this server.
    The big, Big, BIG caveat is that each interaction with the instrument would need to be atomic. In other words each access would need to configure the instrument, initiate the reading, report the results, and then reset the instrument back to some known default value.
    As Dennis said, not a trivial process, but probably do-able...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • How to use multiple proxies at the same time?

    im planning to use multiple proxies at the same time on mac but i have no idea how to do it?!. i need help!thanks!

  • How to create an object within the same class???

    hi im just a newbie
    i v been always creating an object from the main class..
    but how to create an object inside the same class??
    i got main and students class
    the main got an array
    Students[] stu = new Students[]
    and i got
    stu[i] = new Students(id,name);
    i++;
    but i wanna do these things inside the Students class..
    i tried ..but i got errors.....
    how to do this
    .

    javaexpert, :)
    I really have no idea what you are trying to do since you say you've always been creating an object from the main class, yet you always want to create an object inside the same class.
    I'll assume that you have an object in the main class that you are trying to access from the Students class.
    If you are trying to access objects that are contained within the main class FROM the Students class, then know that there are two ways of doing so, one being static, and the other dynamic (look up definitions if unclear):
    1.) make the objects in the main class both static and public and access the the objects using a convention similiar to: Main.object; It's important to note that Main is the name of your main class, and object is a static object. There are better ways of doing this by using gettter/setter methods, but I'll omit that tutorial.
    2.) Create a new instance of the main class and access the objects using a similiar fashion: Main myInstance = new Main(); myInstance.myObject;
    You should really use getter and setter methods but I'll omit the code. In terms of which approach is better, step one is by far.
    I don't mean to be condecending, but you should really brush up on your programming skills before posting to this forum. This is a fundamenetal concept that you will encounter time and time again.

  • HT3529 How to delete multiple messages at the same time?

    I'm new with and IPhone I try to delete multiple messages at the same time. and I can't find how to do this.

    Email messages? Tap the edit button...tap each message you want to delete...hit delete...once in trash, tap edit, then tap delete all.

  • How to configure multiple clusters on the same machine.

    I am attempting to configure multiple clusters on the same set of machines. I have set the cluster name and multicase IP addresses to be different for each cluster. However I am still getting and error that states:
    "This indicates that there are multiple clusters on this network attempting to use overlapping network configurations."
    Is this not possible? If it is possible, is there some further way i need to tell the VMs they are part of different clusters?
    Thanks,
    Jacob

    FYI: I'm using the wrong multicast IP above. 224.0.0.1 is reserved and something else should be used. See:
    Re: UDP flood hosed my LAN?

  • How to use multiple Interfaces for the same BS?

    Hi @ ,
    Is it possible to have a scenarion where i am using multiple interfaces in the same BS based upon some conditional field in the message.
    I amnot able to get the solution I know with condition editor I can have multiple receivers but in my scenarion based upon message fiels i have to decide which BAPI to be used and wht mapping and then post it to the same System
    Any help will be highly rewarded
    Regards

    Hi-
    Yes it is possible you can use multimapping for mapping the interfaces.
    To know more about multimapping see
    http://help.sap.com/saphelp_nw04/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm
    Some more helpful links
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Maybe you are looking for

  • Windows 7 can not joinng to domain but windows Xp does in Virtual Box Manager

    Dear all, I need your support and thanks in advance. I have installed Windows 7 and Windows 2008 server in a Virtual Box. Windows 2008 server is my Domain Controller and DNS is configured. Please find my configuration below. Domain Controller FQDN na

  • Problem with the Non-English Characters

    Hello, I have been using Adobe Illustrator  but I have a huge problem with the non-english characters with Standart Fonts. With the Professional font's I have no problem with them. But when I'm using any standart font in font folio library I cannot t

  • Code to populate a zzfield in extract structure

    Hi Guru's I am enhancing a zfield in extract structure for 2lis_13_vditm. I have added the zfield in the append struture & activated it. Zfield is populated from the table VBAP. I wanted to write an User Exit (EXIT_SAPLRSAP_001) to populate this zfie

  • Deadline tomorrow!

    help, i'm in the middle of work which dues tomorrow. a message popped up saying to update my Airport, i agreed and at some point, i lost interneet via airprt(express). my firmware says version 6.2 what should i do? I've restarted Airport express n al

  • Business rule to execute SSIS package OR SP

    Is there a way to trigger SSIS package OR Stored Procedure by Business Rule? I would like to trigger SSIS package based on value change of specific column in MDS. RaghuM