Caching in OSB with Business Service

Hi All,
I am done with business service development, but I need to configure caching to fetch the data from cache if TTL (Time to Live) <24 if is more then my request to interact with the database can please help how I can I do it, as I am new to caching concept.
Thank You,
Vinay Kumar

Hi Vinay, Select the Business Service - Message Handling Configuration - in Advanced Settings section, you can configure caching for the business service; select Result caching as Supported, and specify cache token (unique key) and expiration time (TTL). Note- once the TTL exceeds for a particular data, the business service will fetch the result from the target system/database and cache it, and the cycle repeats (no specific configuration to be done for this).  Also, before configuring the above, first enable the caching globally in OSB; go to Operations - Global settings - select Enable Result caching, and activate the changes.

Similar Messages

  • How to pass parameters to servlet with POST with  Business Service OSB

    Hi all.
    I am newby in OSB. I am trying to send some values through a POST call to a servlet. I know how to call the servlet with Business Service of type "Messaging Service". I send the parameters of type Text.
    I have tried several ways, but I don`t find the proper way yo do it. I have tried to insert the param into the body and into the header.
    The problem is that I don`t know exactly where to put them, I don`t know if it must be done in the header or in the boy. I neither don`t know if there is a common way to do this.
    Please, could you give me a good example of an insert activity to isert a post parameter inside the call?
    For example: now I am using this one:
    Expression => "accountType=test"
    Location => as first child of"
    XPATH => empty.
    In variable => body.
    Where do I have to insert this, in the body or in the outbounds?
    I have followed this posts:
    https://blogs.oracle.com/jeffdavies/entry/enhanced_rest_support_in_oracl
    http://www.yenlo.nl/en/using-osb-with-rest/
    Thanks a lot.

    Hi,
    Please be carefull about passing values such as Strings or number that contains ',' .
    using the way described above.
    the best way is to pass an ID and then use a select Statement to get the other Values in the target page.
    regards
    MDK.

  • OSB EJB business service performance

    A friend reported me that accessing a EJB via OSB EJB business service is twice as slow as accessing the EJB remotely in Java code.
    Unfortunately he didn't run any profiling tool to determine the Hot Methods and Heap consumption.
    The EJB receives a small string as parameter, and returns a small string back.
    Anybody else experienced performance problems with EJB in OSB?
    Anybody can give tips and tricks (apart from using Coherence cache) to improve performance?
    I have suggested him to create a "proxy" WS to invoke the EJB, and invoke this WS from OSB.... but I am not really sure it would help.

    A friend reported me that accessing a EJB via OSB EJB business service is twice as slow as accessing the EJB remotely in Java code.
    Unfortunately he didn't run any profiling tool to determine the Hot Methods and Heap consumption.
    The EJB receives a small string as parameter, and returns a small string back.
    Anybody else experienced performance problems with EJB in OSB?
    Anybody can give tips and tricks (apart from using Coherence cache) to improve performance?
    I have suggested him to create a "proxy" WS to invoke the EJB, and invoke this WS from OSB.... but I am not really sure it would help.

  • OWSM 11gR1 PS2 agent to secure OSB 11g business service

    Hi,
    Can anyone share any resources/information on how to secure an OSB 11g business service by using OWSM 11g agent? Its a new feature released with OWSM 11gR1 PS2 (11.1.1.3.0) release. Also, can we do the same for OSB 10g?
    Thanks,
    Bijoy

    Hi Bijoy,
    Documentation is here (for PS2 with OSB 11g)-
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/owsm.htm#CHDEEGJI
    can we do the same for OSB 10g?No, it is not supported.
    Regards,
    Anuj

  • Logical system with business service

    hi,
    can we have a logical system with business service just like we have with business system?? If yes,how can we create logical system for business service??
    Ratna.

    Hi,
    If you intend to use it with IDoc adapter it might be also necessary to set up corresponding Logical System (tcode: BD54) in adequate backed system.
    Refer conversion routine (logical system vs. service) in this presentation [Using the IDoc-Adapter|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2b4035c-0d01-0010-31b5-c470d3236afd] - page no 6.
    Regards,
    Jakub

  • Replace E1- Adapter with Business Services

    Hello,
    We are using E1-adapter to communicate with web Methods ( like calling business function, table IO etc..), now we are planning to replace E1- adapter with Business Services. We are using tools 8.98.11 and Application Release E812.
    Question is , is it possbile to create a wraper to call any business functions just like E1-adapter? Any help is greatly appriciated.
    Thank you.
    Edited by: user3448054 on Oct 12, 2009 1:09 PM

    Yes, you can use the JDE Business Service Server to simulate the E1-Adapter associated with webMethods. Oracle provides out of the box Business Services for a majority of the E1 transactions. We have implemented Business Services Server with our webMethods and it is working very well.
    -Eric

  • Is it possible to configure IDOC with Business service

    hi
    Is it possible to configure IDOC with Business Service
                          Thanking you....
                                                                         aravind...........
    <Interview question locked, please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>
    Edited by: Mike Pokraka on Sep 18, 2008 9:25 AM

    Hi Chary,
    Check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Regards
    Seshagiri

  • Can we design the scenario with Business service

    Hi,
    I have IDOCXIFile Scenario
    Can we design the scenario with Business service for SAP R/3 and As well as for File system also????
    I dont have details abt the SAP R/3 system to create the Tech system in SLD
    Regards
    Suman

    Hello Suman,
    Go through this Blog..
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    These are the steps which u have to do
    STEPS IN DESIGN
    1. Import idoc from the SAP System (SAP02) through imported objects.
    2. Create Data Type, Message Type, Message Interface for the Outbound File.
    3. Create Message Mapping with file Message and idoc (Matmas04)
    5.Create Interface mapping between File Interface and the idoc.
    Steps to be followed in Creation of Technical and Business System
    Technical System
    In SLD, click on technical landscape->New Technical System->WebAS ABAP.
    Business System.
    1.Goto Business Landscape->New Business System->Name the business system.
    2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
    Preconfiguration steps for transfer of data to IDOCS
    1.Create a RFC Destination in SM59 of XI Server of type.
    2.In transaction IDX1 ,create a port for the client of XI server.
    3. The port has to be displayed in the idx2 transaction and we should be able to view the idoc’s which we imported through integration repository.
    Steps in Configuration
    1. Goto service without party, right click->Assign a business system.
    2. Choose the business system to be added.
    3. Create a File Sender Service with communication channel for the same.
    4. Create an idoc receiver channel under the business system.
    7. The Idoc type( which data is to be written) is mentioned as inbound parameter.
    8. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.
    9. Make the Sender Agreement for theFile Sender with communication channel.
    10.Create the Receiver Determination and Interface Determination for the business system.
    11.Create the Receiver Agreement for the Business system.
    Step for Configuration fo IDOC in R/3
    SM59-rfc destination
    IDX1-port
    IDX2-load metadata
    we05-IDoc status records
    BD54-Create Partner Number
    We20-Create Partner Profile
    WE19-Testing IDoc Processing
    Do these configurations in R/3 and in XI...
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    Reward Points if it is useful..
    Thanks,
    Satya Kumar

  • Read Timeout is not working with business service in OSB 11.6

    HI All,
    We have set below configuration in "Http Transport Configuration" of a business service.
    Read Timeout- 8
    Connection Timeout  - 8
    Authentication  - None
    Proxy Serve
    Follow HTTP redirects - Disable
    Use Chunked Streaming Mode - Enable
    Even though backend is taking more than the configured value in Read Timeout but timeout is not happening in OSB, Connection time out also not worked, when we tested with wrong backend URL.
    Any help for this configuration would appreciated.
    Thanks,.

    Hi,
         Have you invoked any Services before calling the Business Service.
    If Yes, then the problem with the Invoked service.In this scenario even if you set the time out period it will not work..
    If No, your request payload is high
    Regards,
    Kiran

  • Re: OSB - How to put multiple files via a osb ftp business service?

    I have been trying to create an ftp business service to transfer files to a remote machine. I select that the service should support any XML document (since I am only sending XML). Then, I specify the remote server directory like so:
    ftp://hostname:port/directory
    I take the rest of the default settings. However, when I use the business ftp service by testing it in the console, it just hangs. I can successfully ftp to the server and send files from the OSB server command line to the remote server in question. So, it isn't a problem with our network or a misconfiguration of ftp. Has anyone successfully used the ftp business service in OSB? If so, how do I configure it properly? Thanks much

    Have you checked server logs? Enable message tracing in operational settings and check the logs to find out where it is getting stuck.
    Regards,
    Anuj

  • How to use security certificate with Business service

    Hi,
    Information:
    I need to use a security certificate for connection from Business service to legacy system.
    I have created PKI mapper in WebLogic console, deployed keystore on server and Service Key Provider in OSB.
    I can see can connect the certificate in OSB console through the Service Key Provider.
    I have done Authentication setting in the Business service "HTTP Transport Configuration" as "Client Certificate".
    Problem:
    Now whenever I try to invoke BS, the username, password and security key provider is asked at the prompt. Should not the BS collect security certificate automatically? Again,
    when i put username and password as that of WebLogic sbconsole; the error pops up with following message :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Header />
         <env:Body>
              <env:Fault>
                   <faultcode>env:Server</faultcode>
                   <faultstring>Failed to process signature.null</faultstring>
              </env:Fault>
         </env:Body>
    </env:Envelope>
    If I don't supply username password and certificate at the time of invoking the message pops up as : "The service requires a digital signature, you must specify a service key provider which has a digital signature credential."
    I think some mistake is done in the above steps, could anybody please clarify?

    The problem was resolved with upgrade to version 10.1.3.4.

  • OSB: Configuring business service for JMS Queue

    Hi,
    I want to produce messages into a JMS queue from OSB proxy service. I have created business service for the JMS queue. I also want to return Status code=200, Status Messgae=Success if the message is successfully inserted into the Queue. Kindly let me know how to do this.
    I tried using Service Callout to call the business service but it is not allowing me to use it because my business service is a one-way operation. So, i tried with Publish activity but my doubt is how and where to configure request payload for the publish activity. I could not find any.
    And how do i know if the message is successfully inserted so that i can send the Status=200 back to the calling proxy service.
    Kindly help in this regard.
    Thanks in advance.

    As suggested, use QoS=ExactlyOnce as RoutingOption within the Publish to business service. If there was any error it will send the flow to error handler where you can do a reply with failure to return HTTP status code=500 to the caller of the proxy service.
    If you do a reply with success the caller will receive HTTP status code=200

  • OSB 11g: Business Service not getting reply back from distributed queue

    Here is the scenario:
    OSB Domain A has a Business service that does a JMS send to a distributed JMS queue hosted on another WLS domain.
    It expects a response from a distributed queue sitting on this same remote WLS domain.
    The remote WLS domain is configured as a Foreign JNDI Provider in the OSB Domain with the request and response queues defined. Testing this business service, we see that messages are being posted to the remote request queue fine, and that the message are being picked up and processed. The response was sent to the response queue, but the message just sits there, the OSB business service did not pick it up. I can see 16 active Consumers on the response queue, presumably from the OSB business service?
    Using CorrelationID.
    URI for request/response queues are using the locally defined JNDI name for the queues and connection factories from the Foreign JNDI Provider definition:
    - URI for request queue: jms:///[RemoteXAConnectionFactoryX]/[LocalJNDINameForRequestQueue]
    - URI for response queue: jms:///[RemoteXAConnectionFactoryX]/[LocalJNDINameForResponseQueue]
    Completely stumped at the moment...anybody has any ideas?
    Thanks,
    Melvin

    Hi,
    I am also facing the similar kind of issue as below. After placing the message in to request Queue, I need that message Id as response to that Business service. Please provide the solution for the below issue. Thanks in advance.
    Thanks,
    bharath.

  • Issue with Business Services on 11.1.1.8

    I am creating DBAdapter services in jdev and then trying to create Business Services in OEPE. I was using the 11.1.1.4 with no issues, but had to upgrade so the server and dev tools were in sync for easy deployment.
    Basically when you select the WSDL in the business service it does not see the port binding so you can't complete the creation of the service. It appears the new version does not import things correctly. In the previous version it referenced the WSDL but the new import WSDL looks nothing a like the previous version. I have a fair amount of experience doing this so I am kinda scratching my head as to the deltas and it not recognizing the port binding in the wsdl. Not sure if I need to upgrade jdev 10 11.1.1.6 as I am using 11.1.1.5.
    Any help would be appreciated.

    I found what the issue is but not sure what the fix is. I selected a sequence when on the last step of the wizard and that is causing issues with the wsdl file. If I remove that things work correctly

  • In OSB, Single business service to handle multiple Stored procedures

    Hi,
    In OSB we have a package and within that there are 8 overloaded stored procedures. DO we have to create 8 business services or is it possible to create single business service and pass differrent messages to it.
    Thanks,
    Vinoth

    Hi Vinoth,
    You have to create 8 dbadapters and hence 8 business services. Better you create one stored procedure which internally calls these 8 stored procedures on the basis of conditions you have and create only one DB adapter and hence one business service to invoke this sinlge stored procedure.
    Regards,
    Anuj

Maybe you are looking for