Routing messages in ESB

Hi..
I am trying to achieve something like this in an ESB project in JDev:
I have a routing service which accepts user credentials and then calls
a webservice to get the session id. I want to further route the return value of this call to another routing service which accepts a session id and then contacts another webservice to get some information.
How do I achieve this ?

Hi,
I suggest to try this forum:
SOA Suite
Its the SOA Suite.
Frank

Similar Messages

  • Splitting Message in ESB

    Hi All ,
    I am facing a problem with spliiting message in ESB via transformation.I have this process which starts by
    1. Polls for details from a single table for all customers .The polling is a logical delete on a status column only.
    2.This message is then enqueued into a queue .
    3. The schema used to enqueue data is same as that which is used by customer web service. This xsd has a header with customer name and date etc and a repeating detail area with all details coming from the table.
    4.There is a routing rule before enqueue to map all rows coming from table to the target schema.mapping to customer at header is only once and the rest rows coming from table to detail.
    5.And on the other side on consumption of the message using routing rule we deicde for which customer the data is using filter expression on header and accordingly send the message by calling customer specific webservice .There are four customers.
    But when multiple customer's data comes in the table at same time,we would have a problem as all customer details get into a single message with the first row customer name in header .
    Can we split the records in the message coming from polling based on customer name in header and into 4 differnt message and then enqueue the data ? Will it be possible to have multiple messages enqueued using a single AQ adpater configuration?
    Thanks for the help .

    The incoming message in my requirement an xml is debatched into no of xmls and is written to a FTP location thro a FTP Adapter.
    Another FTP Adapter reads each file and invokes the AQ ADapter.
    Is there any better way to get this done.
    Thanks,
    Arul Prashanth

  • Dual-routing messages in gateway/ext-domain

    Here's another question related to our impending rollout of Groupwise to
    our stores...
    Currently, our stores' POS systems receive text messages via the
    mainframe. To allow corporate users with Groupwise to send mail to the
    stores, we set up many years ago an external domain and set up each
    store as an external user in this external domain. Then, using the 4.2
    API gateway, all mail sent to any of these external users is dumped in
    the ATT_OUT and API_OUT folders which is then picked up on a timed
    basis by the mainframe and delivered to the store's POS system.
    Now, using SLES10 and a Linux portal, we are going to give each of the
    stores a REAL groupwise address with a REAL mailbox.
    What I'd like to know is... is it possible to route messages sent to
    the external user back to the new real mailbox while the conversion
    process is taking place. In other words, we've got to convert 1300
    stores and this process will take several months. Thus, we won't be
    able to turn off the api gateway all at once and it will take some time
    for systems and users to start using the new mailboxes.
    So... if an internal groupwise person sent a groupwise message to
    external user 10337.POS (where 10337 is the external user and POS is
    the external domain), could the message still be placed in the
    API_OUT/ATT_OUT folder of the gateway so the mainframe could pick it up
    while simultaneously the message is routed to store10337.PRI_DOMAIN or
    [email protected]?
    Jim
    jgosney

    jgosney,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Workflow Process Manager - Could not route message to WfProcMgr with regist

    Hi,
    We recently started getting a strange error in our DEV environment:
    Could not route message to WfProcMgr with registered key (null)
    This is happening with the Server Component, Workflow Process Manager, and all services associated with this.
    We are using Siebel v7.8.2.8. If anybody can provide any pointers, it would be of great help!
    Thanks

    Hi Trym,
    Thanks for your time!
    The target workflow that I am triggering from the WfProcMgr is a custom workflow and it does not have a BO defined. So, the Object Id should not be a mandatory field (I am in any case, not passing any Object Id). Nevertheless, whether I have an Object Id or I do not, I would assume that the Workflow would at least get triggered. I donot see as to why the Workflow would not trigger at all.
    Though Siebel does act weird at times, I think the error I am getting is still somehow related to the actual cause! I would really like to understand as to where is this Registered Key stored in Siebel that it is continually searching for.
    *When you say "Workflow Process Manager server component directly" do you mean like in a eScript
    call in e.g. a Business Service?*
    Please refer the second part of my previous post for this. I am trying through Server Requests BS and through Workflow Policies.
    Thanks.

  • Resubmitting the fault messages from ESB Portal

    Hi,
    We are facing some changes in Resubmission process in ESB Portal.
    When we try to resubmit the fault message in ESB Portal we are getting the error and there is nothing available in the event viewer
    The resubmission failed: 500 - InternalServerError
    We already try so many prospect as we find in the Google.
    Thanks,
    Oyash

    Hi Oyash,
    You need to debug it further by opening the portal solution and attaching to IIS.
    Few checkpoints:
    #1. Ensure that Application pool associated with your Application
    in IIS is V4.0 instead of V2.0. Do reset the IIS before testing again.
    Refer: ESB
    portal resubmission error
    #2. You got to checkout this thread wherein Sravanthi faced same issue and got it fixed. Refer: Resubmission
    failed 500 internal server error.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Sockets and ports - routing messages between machines? helpppp!

    Hi,
    I'm new to java and am hoping someone out there can help me, hoping this is an ok place to post this:
    If all you need to create a connection is an IP address and a port number, using streams...
    Can you route messages from A to B then from B to C, where A looks up C through B having a hash table which contains C's IP address and port number?
    And how in the first instance does B know about A's IP address? All the examples I've seen the IP address is hard coded?
    Thanks in advance!

    I'm not sure what you are really trying to do... Can you explain in more concrete terms? Are you writing a chat client + server or something like that?

  • Routing messages

    Hi,
    I have :
    - a domain A as test1.com
    - a domain B as test2 .com
    - a domain C as test3 .com
    Only the A domain is local, and i must route messages to domain B or C on a relay machine.
    I tried this :
    imtra.cnf
    ! intra
    .test2.com $U%$D@chan_intra-daemon
    .test3.com $U%$D@chan_intra-daemon
    And added the following channel (imta.cnf)
    ! chan_intra-daemon
    chan_intra smtp mx daemon 10.0.0.1 single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 disablesourcespamfilter
    chan_intra-daemon
    where 10.0.0.1 is the relay.
    It doesn't work.
    How can i do this so ?
    Thanks a lot.

    Create domain B and C within Messaging Server. Add a "domainsmarthost" for those domains, pointing to your relay box. done.
    Remove what you already did. It's neither needed nor a good idea.

  • Eliminating excessive dhcpcd add/remove default route messages

    I've been on an IPv6 network for the past several months. I use no network manager (aside from netctl and wifi-menu) and I'm generally wired in. I manually start dhcpcd on my eth0 when I start my computer.
    The issue I've been having and have been unable to resolve is the fact that the following two messages have been repeating in my log every 2-10 seconds for the past several months and I now have several thousand of them. It's just getting annoying at this point because it interferes with actually reading relevant log messages via journalctl:
    Mar 22 10:45:56 kcuzner-desktop dhcpcd[1109]: eth0: adding default route via fe80::fa8f:caff:fe2d:b464
    Mar 22 10:45:56 kcuzner-desktop dhcpcd[1109]: eth0: removing default route via fe80::fa8f:caff:fe2d:b464
    No matter what I search, I can't seem to find a way to get rid of these. I keep a terminal open with journalctl -f running almost always and it's just filled with these, quickly pushing away relevant messages such as "codeblocks dumped core". Does anyone have any tips for preventing these sorts of log entries?
    Last edited by Los Frijoles (2015-03-22 18:27:41)

    I don't think there is a way for journalctl to exclude logging from only dhcpcd. Of course, you can filter the real time logging to the group of units that you do want to watch but I think you want to watch everything else, right?
    How about trying systemd-networkd rather than dhcpcd? Or, if you are only concerned about certain priority level messages, set the priority level. If everything you want to monitor is priority 4 and below for example, and if this message priority is 6, then you're all set.
    Last edited by nullified (2015-03-22 19:43:59)

  • Routing message content

    Hi,
    Look at the following xml message:
    <message>
               <a> 1 <\a>
               <a> 2 <\a>
               <a> 1 <\a>
               <a> 2 <\a>
    <\message>
    I want to rout all lines where "a = 1" to output file "1.txt" and all lines where "a = 2" to "2.txt.".
    I know it can be done by a "hard-coded" MM. yet, I want to enable max abstraction level and shift as mush as possible logic to the configuration phase.
    Plz offer possible solutions?
    Regards
    Edited by: uri karagila on Aug 17, 2008 1:18 PM
    Edited by: uri karagila on Aug 17, 2008 1:18 PM

    the best way to do this is to maintain the logic in the MM. So you have split message mapping one set of values goes to message 1 and the other goes to message 2,
    then you maintain the conditions in the interface determination.

  • Routing messages in BPM

    Hi,
    I have the following scenario:
    I send an IDOC from SAP R/3 to PI. In PI this IDOC is sent to a BPM.
    In the BPM an select-statement is performed to get additional data from an external database
    Then a mapping is performed and I have to update the same database with the new data.
    Now it is getting more complicated because I have 2 sending R/3 systems and 2 receiving external databases, but I have only 1 PI system
    So,
    System A  ---> PI  system Z --> select-statement in database X --> PI system Z --> mapping --> update database X
    System B  ---> PI system Z --> select-statement in database Y --> PI system Z --> mapping --> update database Y
    It is possible to route the select-statement to the correct database using Context-objects in the receiver determination, because SNDPOR is still filled with the R/3 Port. After the database select this context is not available anymore. So I can not route the update statement anymore.
    How can I fill context objects with the correct data?
    Thanks
    Ron

    Hi Jaishankar,
    The BPM looks like this
    Receive step --> receiving the IDOC in the BPM
    Synchronous Send Step --> select statement to database
    Transformation Step --> to determine the database updates
    Synchronous Send Step --> update statement to database
    In the receiver determination (configuration) of the first synchronous send step I can use the Context Object SNDPOR, because this contains the port of the sending system (eg SAPA or SAPB). With this information I can find the correct receiver (eg when SNDPOR = SAPA go to database X)
    But in when I arrive at the second send step SNDPOR is nog filled anymore. So I don't have the possibility to find the correct database.
    Is there a way to store this info somewhere in context objects?
    ROn

  • Routing Message based on FileName

    Hi all,
              I hav a scenario where I need to route the file based on the file name.
             for eg: if the 10th char of the filename is 'A' then it has to be placed in Location 1
                          if the 10th char of the filename is 'B' then it has to be placed in location  2.
         Both sender and receiver are file adapters.
         I thought of using condition in Intrface Determination (Context object) , but got stuck since I have to comapare only the 10th char not all the characters since other characters are dynamic.
    Note: This is a pass through Interface and no mapping is involved.
    Thanks,
    Siva

    Hi,
          I am using Context Object functionality for routing purpose.
         In XPath we can use SubString Function but we can not use the same Function in Context Object.
         Is there any workaround for this.
    Thanks,
    Siva

  • Routing messages from a specific sender to a folder in Mail

    Can I have Mail messages from a specific sender sent or copied to a dedicated folder automatically?
    Thanks.

    Hi Edward,
    Thanks for visiting Apple Support Communities.
    You can use rules in Mail to do exactly that. See this article for more information:
    Mail (Mountain Lion): Manage messages using rules
    http://support.apple.com/kb/PH11738
    Regards,
    Jeremy

  • Error deabbreviating and creating the routed message weblogic.rmi.ConnectException

    Hello,
    Did anyone encounter the following exception which follows by a
    disconnection of the server from another application.
    Would appreciate any comment.
    thank you,
    Rami

    weblogic.rmi.ConnectException can happen for number of reasons, can you give
    more detail on what version of WLS you are using and also a complete
    stacktrace might give you a clue to point out the reason why the connection
    failed in the first place.
    "Rami A." <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    Did anyone encounter the following exception which follows by a
    disconnection of the server from another application.
    Would appreciate any comment.
    thank you,
    Rami

  • Re-Routing Messages

    Hey,
    If anyone has a minute, I'd appreciate some help..
    We are going to conduct a trial of some anti-spam products. In order to facilitate this, I need to set up an MTA that will accept connections from the internet, perform recipient checking for one domain (abc.com.au, and subdomains that are configured as associateddomains in the directory) and then forward any accepted emails on to our normal MTA's for virusscanning and delivery.
    It will also need to be configured to accept mail for another domain that isn't in LDAP (def.com.au) and forward it to our normal MTA's without recipient checking.
    I've attempted to add a daemon keyword to the tcp_intranet channel without success. I've also attempted to add a rewrite rule that would direct everything to our normal MTA's, however that broke recipient checking.
    If anyone is able to suggest something, I'd really appreciate it.

    Hi,
    Could you please provide a bit more information.
    1. What version you are running (imsimta version)
    2. Your current tcp_intranet channel definition lines (from imta.cnf)
    3. The output of imsimta test -rewrite <LDAP defined address>
    4. Log lines from your attempts.
    Adding:
    daemon <virus scanning server>
    to the end of the tcp_intranet channel should be enough assuming:
    - The emails in question are actually going via the tcp_intranet channel (hence the need for (3))
    - You have rebuilt the configuration. Make sure you run "imsimta refresh" after making the change.
    With regards to relaying external emails, this should be as simple as the following (once tcp_intranet is successfully relaying emails to the virus scanning server):
    def.com.au $U%$D@tcp_intranet-daemon
    Cheers,
    Shane.

  • Maps is not working resolution is terrible not getting the correct location also unable to calculate the route message appear directions not available

    Please resolve the maps issue on iO6 as it is not working properly resolution is very bad not getting correct locations direction are not available appears while calculating route

    Please resolve the maps issue on iO6 as it is not working properly resolution is very bad not getting correct locations direction are not available appears while calculating route

Maybe you are looking for