Forward from action directly to anther action

Hi all,
I have the following problem: I have a pageflow application for administering complex configuration. On the main page (where user is forwarded from begin action, begin action reads data from configuration and fills them into form bean and main page displays them) is link for editation of part of configuration, link references to editaction which fills formbean and forwards to form for partial editation. This form submits to saveaction which stores data, and forwards to begin action directly. And here is the problem, somewhere in the portal framework between invocation of saveaction and begin following error is written into log.
25 X 2006 16:55:58,560 ERROR ArrayIndexToken [ExecuteThread: '13' for queue: 'default'][]: Could not update expression because a public field named "operation" or setter for the property "operation" could not be found.
I think, that this is beause form data is submitted and handled by saveaction, but because than forward to begin happens, portal tries to to fill submitted form data into formbean of begin action as well, but this formbean is different one and doesn't have corresponding properties. Both formbeans are scoped to request.
In this particular case it causes no other problem than logging aforementioned error, but in other cases when property names would accidentaly match it may cause some problems with data, so I consider this beaviour as dangerous and want to avoid it.
So my question is, how to forward from action to action without passing form data which were already handled by first action?

The problem what I would like to solve is the following:
I have some information stored on a DB. Depending of these information I would like to show different information on a jsp page with the help of jsf. (This jsp file is reached already with the help of navigation rules of jsf technology)
An action bean class is instantiated already when the generation of my jsp file started and the information are stored on this object in member variables. There is a boolean variable among these stored information and if the value of it is true, then I would like to send the user "automatically" to another jsp file (using the navigation rules of jsf).
If I would not use jsf, then I would do something like the following:
I would store the value of the boolean variable into the session, and I would use a jstl "if " tag to ask the value of this variable and when it would be true then I would use a <jsp:forward...> to send the user to the next page.
My problem is I can not solve this with the jsf navigation rules?
If I try to do something similar with jsf than #{myClass.newPage} is not accepted by jsp:forward tag of course, but I do not know a solution instead of it in jsf.
Is exist a solution in jsf for it?
If not, how can I create a similar sequence?
vikot

Similar Messages

  • Invoking secure proxy from service callout or route actions in OSB

    Secure proxy is the one which uses WS-Security Username token for authentication before request is processed. Is there any way we can call secure proxy from non-secure proxy. While calling secure-proxy (during service callout or route), I assume header and body will be passed to the secure proxy before secure proxy verifies the user from wsse:security element. While calling secure proxy, I am receiving an error that "General outbound security error. BEA-386400". Is any example that you can show of calling secure-proxy from service callout or route actions
    I am preparing the following header in non-secure proxy message flow diagram before invoking secure proxy.
    <soap-env:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsu:Timestamp>
    <wsu:Created>2012-03-31T18:34:53.081-05:00</wsu:Created>
    <wsu:Expires>2012-04-25T23:34:53.081-05:00</wsu:Expires>
    </wsu:Timestamp>
    <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>Testuser</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">testpassword</wsse:Password>
    <wsse:Nonce>7hoJIy00p+hwk/QiWpxT+Ndpr+4=</wsse:Nonce>
    <wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/></wsse:UsernameToken>
    </wsse:Security>
    </soap-env:Header>

    Go back to
    compare Routing action versus Service Callout action versus Publish action?

  • Can one Action from Jpf call another method/Action in other jpf   ?

    hi ,
    "can one Action from Jpf call another method/Action in different jpf "
    we can call other jpf's begin from one jpf , but can we call method of other Jpf from different jpf .
    i m getting error when i m trying to do this .
    No module configuration registered for /pageFl
    dule path /pageFlowControllers/Controller)

    hi,
    write
    carmodel(null) in populateCar() action.
    means
    public void onActionpopulateCar(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionpopulateCar(ServerEvent)
         onActioncarmodel(null);
        //@@end
    Regards
    Trilochan

  • When I try to burn a disc from my itunes account the action stops with the prompt, install cd burn software.  how do I install this software or check to see if it is on my macbook air already?

    when I try to burn a disc from my itunes account the action stops with the prompt, install cd burn software.  how do I install this software or check to see if it is on my macbook air already?

    That is an odd message - what exactly are you trying to burn? A disk of mp3 files? a music disc? What burner do you have connected to your computer?

  • History forward from a page/browser history

    Hi there
    I have an issue with Chrome. I have to stop hitting back in a particular scenario. To make you understand easily, I have made some simple HTML pages the content of which I am pasting here:
    Page1.htm
    <html>
    <head>
    <title>Back Button Demo: Page One</title>
    </head>
    <body>
    <h1>Back Button Demo: Page One</h1>
    <a href="middlepage.html">Advance to Page Two</a>
    </body>
    </html>
    MiddlePage.htm
    <html>
    <head>
    <title>Back Button Demo: Page One</title>
    <script langage="text/javascript">
    function SubmitForm() {
    document.frmGrantee.submit();
    function noBack() {
    history.forward();
    </script>
    </head>
    <body onload="noBack();SubmitForm();" onpageshow="if (event.persisted) noBack();" onunload="">
    <h1>Back Button Demo: Page Three</h1>
    <form name="frmGrantee" method="POST" action="page2.html" enctype="multipart/form-data"><!--form to submit this intermediate page and display page 3-->
    </form>
    </body>
    </html>
    Page 3.htm
    <html>
    <head>
    <title>Back Button Demo: Page two</title>
    </head>
    <body>
    <h1>Back Button Demo: Page two</h1>
    </body>
    </html>
    Now the reason of introducing this intermediate page is that, in my actual application, I never know from which page this Page 3.htm is called. So straightaway I introduced this MiddlePage.htm and from every page I am sending the control to that page and from their it is submitted to Page 3.htm so that whenever back is hit from Page 3.htm, it always get an intermediate MiddlePage.htm and due to the code written there, comes back to the Page 3.htm. Otherwise I had to write that history.forward in every page of my application (Page 1.htm, Page 4.htm, Page...n.htm and so on) which would not be a good coding at all. This particular code is already working on IE, Opera, Mozila Firefox. Any suggestion on why I am not getting the history of that intermediate page, is highly appreciated.
    Thanks in advance...

    I think that i have the answer of my question!!!
    To forward from a page flow to another page i can put in my jpf an action like this :
    * @jpf:action
    protected Forward doForward() throws URISyntaxException
    String url = PageURL.createPageURL(getRequest(), getResponse(), "definition_label_of_the forward_page").toString();
    return new Forward(new URI(url), true);
    Can someone tell me if i am true ?
    Is there another way to implement this ?
    Thanks for help.

  • Add a script to Automator's actions, or add an action to Automator's librar

    Total Applescript newbie here. My end goal is to write a script or automator that automatically trims 10 seconds off selected podcasts.
    I know that Doug's Applescript website has something along those lines, but it's not truly automatic.
    What I'd really like to do is attach a folder action so that as soon as they download the end credits are trimmed.
    With automator, it's easy enough to get the finder items in the folder, and pass them to the Set iTunes Info library action, but the Start and End times of iTunes tracks aren't in there.
    I tried to edit the actual script that that calls, but it's not-editable.
    I tried to edit Doug's script, but I can't figure out how to tell it to pick a file from a folder as the selected track to edit.
    I was thinking of an automator action that basically goes along these lines:
    Get Specified Finder Items (preselecting the download folder the podcasts are dumped to)
    Get Folder Contents
    Run this script. (but this is where I can't figure out how to run a script and use the results from the last two automator actions)
    Any ideas appreciated, or suggestion on how to just go pure Applescript on the task. I know the Applescript would read something along the lines of:
    Tell application Finder
    get the folder contents?
    maybe set the file name or track name as a variable
    Tell application iTunes
    Set start of selected file/track to 15

    Ah, you've made me a happy man this evening. I missed the Run AppleScript action in Automator, but knew there had to be a way to do something like that.
    Your particular script doesn't function, it gives an unknown error on completion, but I was able to modify a Doug's AppleScript that lets you trim start or finish on items you manually select and use it as you suggested.
    So here's what I ended up doing.
    Automator Action which is saved as a plug-in to the Folder Actions for the folder for the Podcasts I want to trim. The Automator action reads as follows:
    *Find Sources in iTunes*
    -Find Songs Whose Album Contains MyPodcast
    *Get Selected iTunes items*
    -it's pulling all tracks in that folder, which is fine
    *Filter Sources in iTunes items*
    (I had to do this because before I added this step my selected podcasts showed up in results, but so did any item I had highlighted (such as the current playing track) in the results, and was passed to the final action)
    *Run AppleScript*
    <pre style="font-family:Monaco, monospace;border:2px inset #99f;overflow:auto;width:500px;padding:.5em;color:#000;background:#ccf;">
    on run {input, parameters}
    tell application "iTunes"
    set trackers to input
    repeat with theTrack in trackers
    set start of theTrack to 11
    set finish of theTrack to ((get finish of theTrack) - 18)
    end repeat
    end tell
    return input
    end run</pre>
    There's probably a more elegant way to do this, and faster, as this one takes several seconds to go through the entire iTunes library each time it's ran. That's why I was trying to pass the folder contents directly to the set info action. It's kind of annoying that the built-in Automator action for this is limited on the info items it sets. It would be really cool if Apple didn't make those scripts non-editable. I could have learned exactly what I was after just by picking apart their script.
    Anyways, my motivation for this was partly to learn, but inspired from a particular podcast from a local public radio station that I listen to where they bracket the beginning and end of the podcast with the typical "please donate" stuff. Normally I don't mind a short pre-roll or pledge request, but this particular one the woman has such an annoying voice, it's like fingernails on chalkboard to me, otherwise I wouldn't have bothered spending hours trying to learn how to do this to save 30 seconds of listening on a weekly podcast. LOL.
    Thanks again for your pointer, I'll probably play with this some more if anyone else wants to chime in on better methods, but I'll mark it as answered as it did point me to a working solution.

  • SAP Query to join action infotype with additional action infotype

    We have created SAP Query on PA0000 which shows all actions that are executed for an employee.
    The problem is that if two actions are exceuted on the same day then it shows only one action instead of showing both the actions.
    As two actions are executed on the same day it will be stored in additional action infotype(0302).We tried to join PA0000(Action infotype) with PA0302(additional action infotype) in SAP Query by using joins(inner join/outer join) but it shows duplicate records.
    Is there any way to get additional action along with records of action infotype without any duplication in SAP Query.

    All entries that are in PA0000 will be in PA0302, but not vice-versa so you just have to reverse what you are currently doing, i.e.: create a Query on PA0302 and join to PA0000, and then make sure your selection criteria is from PA0302 and not PA0000.

  • Forms applet does not load when request forwarded from custom servlet

    I have an existing forms app that I wish to call from a newly-developed servlet. The servlet determines which form to call and then forwards the request to the forms servlet using RequestDispatcher.forward().
    The request is forwarded correctly but when it is done all I see is a blank browser (IE7) window. When I View Source I see all the correct HTML code (from basejpi.htm) but it seems my browser does not attempt to load the forms applet. No messages are displayed in the Java Console. This is the same HTML that comes back if I run the forms app directly, e.g. click a link that goes straight to the forms servlet URL, only in that case the forms app starts up fine.
    Anyone know why this does not work?

    Figured out what is going on:
    In basejpi.htm there is "<SCRIPT LANGUAGE=JavaScript SRC=java/forms_ie.js>" that creates an OBJECT tag to load the forms applet. I believe since the context of my custom servlet is different than that of the forms servlet, forms_ie.js is not found when the request is forwarded from my servlet.
    One question answered raises another. There is also an OBJECT tag inside a NOSCRIPT tag for machines where scripting has been disabled:
    <!-- Forms applet definition (start) -->
    <NOSCRIPT>
    <OBJECT name=FormsApplet
    type="application/x-java-applet"
    ...>
    </NOSCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="java/forms_ie.js"></SCRIPT>
    My thinking is to remove the NOSCRIPT tag, and also the SCRIPT tag mentioned above, so all machines will simply see the OBJECT tag, like so:
    <!-- Forms applet definition (start) -->
    <OBJECT name=FormsApplet
    type="application/x-java-applet"
    ...>
    This makes me wonder why the SCRIPT option is there to begin with. Anyone see a downside to this approach?
    Kevin

  • Push back action not available in action drop down

    HI,
    I don't see the PUSH BACK action available in action drop down in bpm worklist. Is there some setting i have to do, to make this action available in system action?
    Thanks
    Manish

    You can usually find the imported IE Favorites in a folder ("From Internet Explorer") at the bottom of the Bookmarks Menu folder (Bookmarks > Organize Bookmarks).
    If you can't find them in the "From Internet Explorer" folder then try this:
    Export the favorites in IE to an HTML file (bookmarks.html): File > Import and Export<br />
    Import the HTML file in Firefox 3: Bookmarks > Organize Bookmarks > Import & Backup > Import HTML: From File
    http://kb.mozillazine.org/Import_bookmarks ("Import from another browser" and "Import from file")

  • How to do port forwarding from wla2-g54l Buffalo bridge to mac mini

    Hi,
    I am trying to get Azurus to remove the "firewall block" message and I think I have narrowed it down to port forwarding.
    I have set up port forwarding from my X modem to the Airport Xpress base station. I have then set up the port forwarding from the base station to the buffalo.
    The problem I have had is setting up the wla2-g54l to forward the same port to the mac mini....
    any Ideas? Not much luck on the Buffalo website.. and I have RTFM. Many times!
    Cheers
    Mac Mini G4 1.2Gz   Mac OS X (10.4.8)  

    It sounds like your set-up is in a horrible mess with 3 levels of NAT going on.
    What you should really have is the X-Modem configured in it's default mode "Modem Mode" where there will be no need to do any port forwarding as the modem is acting as a pure modem without having any influence over ports.
    Then the Airport express should be configured to "Distribute IP addresses" so that the Airport is acting as a router. I presume that you use the Buffalo unit as a repeater for the AIrport so you should set-up WDS so that both are on the same network. Then your computers will all be using IP addresses in the 10.0.1.x range as issued by the Airport. You can then configure the Airport to directly forward ports to the IP address of your computer. Therefore only one instance of NAT and only one set of port forwarding rules.

  • Default Action/Effect in an Action Set in PSE5

    I have a Photoshop action set that contains a "main" action that performs some functionality and calls a bunch of "sub" actions. The main action is listed first in the set and is automatically picked up as the default action and executes successfully when installed into PSE6, PSE7 & PSE8 and also works as expected in a German version of PSE5 but in an English version of PSE5, somehow the second action (ie a "sub" action) is being executed rather than the first. Is there any way of configuring the default action or forcing PSE5 to recognize the first action as the action to run? If not, does anyone know what algorithm PSE uses to determine the action to run? The action being run isn't first (or last) alphabetically nor positioned first (or last) in the action set. Any thoughts/assistance would be greatly appreciated. Thanks.

    Thanks for the response. I think I confused things by bringing up the German version... The action was created in a standard English version of PS CS2 then adjusted and resaved in a standard English version of PS7. It was then packaged and tested in English (and non-English) versions of CS3, CS4, CS5, PSE6, PSE7 & PSE8 without any issues. It was also tested in a German version of PSE5 and worked without any concerns but when tested in 2 different standard English versions of PSE5, it appears that the second action in the action set is the one that is being recognized and run, rather than the first action in the set. The first action is named as "Make Patterned Papers" and the other 20 or so actions are named as "code -- (reference number)" in a lame attempt to slightly obscure the functionality from the PS users. The first "code -- (reference number)" action listed after the "Make Patterned Papers" is the one that is being picked up by PSE5 as the action to run. The actions are not listed in alpha/numeric order and the action that is being picked up by PSE5 is not the first alphabetically either. I tried copying all of the actions to a new action set and using this instead, but had the same result.

  • Video only enabled when call is initiated from one direction across SIP Trunk

    wonder If anyone can shed some light on this.
    I have an issue between two cucm clusters, tied together with a SIP trunk. 
    If we dial from Australia to the US there is two way video and audio.  If the US calls Australia, there is only audio.   I have run a test call from the US through VLT and have found the following SDP's  (see below). When The US make a video enabled call to australia the message "Video is not available, Remote party has video off" on the US phone screen.
    Both clusters have the SIP trunk set up with the same codec settings and video bandwidth between reqions and locations.  the SIP trunk is configured pretty much stock standard and identical at both ends, yet the SDP seem to want to negotiate different Video Parameters  (again see SDP's below). CUCM in australia is 10.61.2.82.
    what other settings can I check to get video to work when calls get initiated from either direction,...................
    both phones are SIP 8941's, again audio is no problem in both directions.
    =======this is from the phone in Australia to the CUCM in australia phone IP 10.61.4.112======================================
    45870304.002 |09:02:07.941 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.61.4.112 on port 34271 index 53563 with 2089 bytes:
    [344530309,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.61.2.82:5060;branch=z9hG4bKe0103892bbb75
    From: "Anonymous" <sip:[email protected]>;tag=109791678~1b5af941-cea2-4a00-a0bd-15a532224d7d-59374526
    To: <sip:[email protected]>;tag=5057a887bfdd550c0d321a20-7f843426
    Call-ID: [email protected]
    Date: Wed, 29 Apr 2015 23:02:07 GMT
    CSeq: 101 INVITE
    Server: Cisco-CP8941/9.4.2
    Contact: <sip:[email protected]:34271;transport=tcp>;video
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE,INFO
    Remote-Party-ID: "Dennis Mink - 33935" <sip:[email protected]>;party=called;id-type=subscriber;privacy=off;screen=yes
    Supported: replaces,join,sdp-anat,norefersub,resource-priority,extended-refer,X-cisco-callinfo,X-cisco-serviceuri,X-cisco-escapecodes,X-cisco-service-control,X-cisco-srtp-fallback,X-cisco-monrec,X-cisco-config,X-cisco-sis-7.0.0,X-cisco-xsi-8.5.1
    Allow-Events: kpml,dialog
    Recv-Info: conference
    Recv-Info: x-cisco-conference
    Content-Length: 966
    Content-Type: application/sdp
    Content-Disposition: session;handling=optional
    v=0
    o=Cisco-SIPUA 28123 0 IN IP4 10.61.4.112
    s=SIP Call
    t=0 0
    m=audio 16736 RTP/AVP 0 8 18 102 9 116 101
    c=IN IP4 10.61.4.112
    a=trafficclass:conversational.audio.avconf.aq:admitted
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:102 L16/16000
    a=rtpmap:9 G722/8000
    a=rtpmap:116 iLBC/8000
    a=fmtp:116 mode=20
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=sendrecv
    m=video 16738 RTP/AVP 126 97
    c=IN IP4 10.61.4.112
    b=TIAS:2000000 
    a=trafficclass:conversational.video.avconf.aq:admitted   <----this is missing from US SDP
    a=rtpmap:126 H264/90000
    a=fmtp:126 profile-level-id=428014;packetization-mode=1;level-asymmetry-allowed=1;max-mbps=36000;max-fs=1200;max-rcmd-nalu-size=1300
    a=imageattr:126 send * recv [x=640,y=480]
    a=rtpmap:97 H264/90000
    a=fmtp:97 profile-level-id=428014;packetization-mode=0;level-asymmetry-allowed=1;max-mbps=36000;max-fs=1200
    a=imageattr:97 send * recv [x=640,y=480]
    a=rtcp-fb:* ccm tmmbr
    a=sendrecv
    ============below is coming from the US (phone IP is 10.1.109.81)================
    04/30/2015 09:02:08.169 Send 10.61.4.112 SIP ACK bfa99a00-541162ed-71da57-52023d0a NotAvail
    SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.61.4.112 on port 34271 index 53563 
    [344530326,NET]
    ACK sip:[email protected]:34271;transport=tcp SIP/2.0
    Via: SIP/2.0/TCP 10.61.2.82:5060;branch=z9hG4bKe010481f320b08
    From: "Anonymous" <sip:[email protected]>;tag=109791678~1b5af941-cea2-4a00-a0bd-15a532224d7d-59374526
    To: <sip:[email protected]>;tag=5057a887bfdd550c0d321a20-7f843426
    Date: Wed, 29 Apr 2015 23:02:05 GMT
    Call-ID: [email protected]
    User-Agent: Cisco-CUCM10.0
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: presence
    Content-Type: application/sdp
    Content-Length: 456
    SDP Message
    ====================================================
    v=0
    o=CiscoSystemsCCM-SIP 109791678 1 IN IP4 10.61.2.82
    s=SIP Call
    c=IN IP4 10.1.109.81
    b=TIAS:8000
    b=AS:8
    t=0 0
    m=audio 16412 RTP/AVP 18 101
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=trafficclass:conversational.audio.aq:admitted   <---what does this do here, and how?
    m=video 0 RTP/SAVP 31 34 96 97      <-----------port 0. why?
    a=rtpmap:31 H261/90000
    a=rtpmap:34 H263/90000
    a=rtpmap:96 H263-1998/90000
    a=rtpmap:97 H264/90000
    a=content:main
    a=inactive

    Hi Dennis,
    On US phone SDP media attribute is inactive.
    a=rtpmap:97 H264/90000
    a=content:main
    a=inactive
    Are you sure that audio works ? Can you please share all the SIP messages of both the scenarios.
    Thanks
    Manish

  • Alarm forwarding from rfid tags (Aeroscout)

    Hello all,
    I have an issue regarding alarm forwarding from rfid tags, to 3rd party systems via sms or e-mail
    When the alarmbutton on the Aeroscout T3 tag is pushed, we would like the following info to be
    forwarded: tag-name and current location.
    As it is now, the forwarded data seems only to contain tag info, not location info (the wireless network
    and the location services works flawlessly).
    Does anyone out there have any pointers as to how i could set this up properly, or
    maybe point me in the right direction for a doc or link on the matter?
    Current setup:
    Cisco 1300 AP's
    Cisco 4400 WLC + Cisco CT 5508 controllers
    Cisco MSE 3300 location appliance
    Cisco WCS management
    Aeroscout T3 Rfid
    If any more info is needed to help out on this, please let me know and i'll do my best.
    Best regards
    Ole V.

    If you want to statically place an Aeroscout tag you can do that in Mobileview.  This wouldn't be a bad idea for a tag that is never going to move. 
    I'm presuming your using the Aeroscout CLE for tag tracking and PI has nothing to do with the location measurements.  Aeroscout engine (CLE) 4.5 improved floor hopping errors and there might be some other filtering or changes you could make in Aeroscout's System Manager to help with floor hopping as well.  I would suggest that you contact Aeroscout/Stanley support as this is more on their end.
    Thanks,
    Kevin

  • Service Bus Forward From Topic to Queue using wcf

    I’m trying to send a message to a topic and have it forwarded to a queue (which I have a wcf service connected to the queue). 
    If I send the message directly to the queue it works fine, however if I send it to a topic which has a subscription that forwards it to the queue, it just sits in the queue. 
    Is there something I’m missing in the configuration for the wcf service to receive the forwarded messages?

    Doing a wcf trace I was seeing a filter mismatch.  Not sure why it works when I send it directly to a queue and doesn't when it's forwarded from a topic.  But by setting the AddressFitlerMode to any seemed to let me do forwarding with wcf. This
    doesn't seem like the clean solution but it works for now.

  • Compare Routing action versus Service Callout action versus Publish action?

    hi all,
    Apologies if this is a stupid question, but i throw my hands up and admit my ignorance (I'm mainly a core Java developer; OSB/ALSB is kind of a sideline for me). That said...
    I've used OSB (actually ALSB) on a couple SOA projects within the last 3 years. on my previous projects, we mainly only ever used Routing actions. I'm now working on a 3rd project that also uses OSB. But on this new project, they mainly only ever use Service Callout actions and Publish actions.
    My question is: what are the criteria for choosing between one or the other (Routing action or Service Callout action or Publish action)?
    What does one do that the others can't? I've RTFM. But it still isn't obvious to me. Please, can you fill in the gaps in my knowledge?
    Thanks in advance for your time.

    My question is: what are the criteria for choosing between one or the other (Routing action or Service Callout action or Publish action)?Routing Action - Routing action can be created inside a Route Node only and Route Node is the last node in a request processing. A Route Node indicates that Request Processing will end here and Response Processing will begin. You can not have any node after Route Node in the message flow.
    Service Callout - Service Callout is used in real time request-response scenarios (for sync response). If you have a use case where you need to call one or multiple real time request-response services (like sync web-services) then you may use Service Callout action in the message flow. Being a synchronus call, the thread gets blocked until a response is returned from target service.
    Publish Action - Publish action is used for Request only scenarios where you don't expect a response back. The nature of Publish action (sync or async) will depend upon the target service you are invoking. If you are invoking an external service through a business service then Publish action with Quality of Service(QoS) as "Best Effort" (default) will work like fire and forget and thread won't get blocked (async call). If you are invoking a local proxy service (proxy with transport protocol as "local") from another proxy using publish action then it would be a blocking call (synchronus call) and thread will get blocked untill the processing of local proxy finishes.
    Hope it helps.
    Regards,
    Anuj

Maybe you are looking for