Exposing cached data as webservice

Hi all,
I am planing to put an xml file data in cache i.e by making the xml data as a string and putting it in the cache. Now I want to expose this cached data as webservice. How can I do that. I am a newbie, pardon my ignorance.
Thanks,
PS

Hi,
You can either place your config file in your application classpath.
http://wiki.tangosol.com/display/COH32UG/Cache+Configuration+Elements
Or you can set from the command line or maybe from a startup script like catalina.bat using
the following -D argument.
-Dtangosol.coherence.cacheconfig=pathtofile
The following has more information as well.
http://wiki.tangosol.com/display/COH32UG/Command+Line+Setting+Override+Feature
Thanks,
-Dave

Similar Messages

  • How to extract data via webservices and configure webservices in BI 7

    Hi to all,
    Can any body tell me How to extract data via webservices and configure webservices in BI 7.
    i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
    i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
    please can any body tell how to do that.
    also how to configure the webserive , what is it .
    I SHALL BE THANKFULL TO YOU FOR THAT
    Regards
    Pavneet rana

    Hi,
    1. Using the function library (transaction SE37), call the Web service creation wizard.
    To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
    2. Go through the following steps, shown in the wizard:
    a. Create a virtual interface.
    The virtual interface represents the interface between the Web Service and the outside.
    b. Choose the end point.
    The name of the function module that is to be offered as Web service is already entered here.
    c. Create the Web service definition.
    The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
    d. Release the Web service.
    The wizard generates the object virtual interface and Web service definition in the object navigator.
    The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
    The Web service is released for the SOAP runtime.
    3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
    A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
    If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
    a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
    b. Choose Change in the context menu for the virtual interface.
    c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
    d. Activate the virtual interface.
    Regards,
    Marasa.

  • Web Service - Expose BI data

    Hi,
    We are in BI 7, trying to expose BI data using QUERY_VIEW_DATA.
    I did basic configurations using Tcode - SICF.
    In WSADMIN, when I execute
    " Web Service QUERY_VIEW_DATA default_host/sap/bc/srt/rfc/sap/ QUERY_VIEW_DATA " getting following error message:
    "You are not authorized to view the requested resource"
    Also verified with basis team the J2EE server address, They confirmed my configuration values correct in Tcode - WSADMIN (goto--> Administration Settings), Soap runtime version is - v1.00_final_6.40
    Is there any basic documents available to verify existing configuration.., also what are the Authorization objects required to perform this.
    Appreciate, if any documents or solution provided to over come above issue.
    Thanks,
    Madhu

    Hi Arun,
    Thanks for Information. After Adding WSNavigatorRole, previous error is not coming.
    Now there is new error : Cannot download WSDL from http://...servername.com:port/sap/bc/srt/rfc/sap/QUERY_VIEW_DATA?sap-client=020&wsdl=1.1: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator .
    If we call  the above URL directly, you will be able to access the file.
    What might be the issue...
    Thanks in advance,
    Madhu

  • Some music files do not show up in google play music app library.  I did clear cache/data and restarted phone.  The music is stored on the SD card.  Most of the music in the library is in the same folder on the sd card.  I can play the song from file mana

    some music files do not show up in google play music app library.  I did clear cache/data and restarted phone.  The music is stored on the SD card.  Most of the music in the library is in the same folder on the sd card.  I can play the song from file manager, but it still is not in the music library in play music.

    Cyndi6858, help is here! We'd be happy to help figure this out. Just to be sure though, the Droid Maxx should not have an SD card. Is this the Droid Razr Maxx? How did you add the music to the device? Are you able to see the files and folders located on the SD card or device when plugged in?
    Thanks,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Report Using A Stored Procedure Is Caching Data

    Post Author: springerc69
    CA Forum: Data Connectivity and SQL
    I converted a report from a view that worked fine to a stored procedure to try and improve the performance of the report, but when I publish the report it seems to cache the data.  When you change the parameters you use to call the report or simply run the report again with the original parameters the report doesn't run the sproc and just shows the cached data from the original request.  If I right click on the report and select refresh (web based crystal report), it prompts for the parameters. I just close out the prompt window, report window and click on the link for the report again it returns the correct results based on the new parameters or a refresh based on the original parameters.  I've checked the cache time setting and set it to 0, and if you close the Internet Explorer window that originally called the report, open IE back up and request the report it will return the appropriate data.  I have also verify that the report is not setup to save data with report.  This is on Crystal XI Server.

    Post Author: synapsevampire
    CA Forum: Data Connectivity and SQL
    Which viewer are you using?
    It might be that your IE settings are caching the report pages. because you're using an HTML viewer.
    Try the Active-X viewer.
    I've forgotten which icon it is that changes the viewer...it's under the preferences options, I think it's the one that looks like a hunk of cheese on the right upper side.
    -k

  • Prevent multiple users from updating coherence cache data at the same time

    Hi,
    I have a web application which have a huge amount of data instead of storing the data in Http Session are storing it in coherence. Now multiple groups of users can use or update the same data in coherence. There are 100's of groups with several thousand users in each group. How do I prevent multiple users from updating the cache data. Here is the scenario. User logs-in checks in coherence if the data there and gets it from coherence and displays it on the ui if not get it from backend i.e. mainframe systems and store it in coherence before displaying it on the screen. Now some other user at the same time can also perform the same function and if don't find the data in coherence can get it from backend and start saving it in coherence while the other user is also in the process of saving or updating. How do I prevent this in coherence. As have to use the same key when storing in coherence because the same data is shared across users and don't want to keep multiple copies of the same data. Is there something coherence provides out-of-the-box or what is best approach to handle this scenario.
    Thanks

    Hi,
    actually I believe, that if we are speaking about multiple users each with its own HttpSession, in case of two users accessing the same session attribute in their own session, the actually used cache keys will not be the same.
    On the other hand, this is probably not what you would really like, you would possibly like to share that data among sessions.
    You should probably consider using either read-through caching with the CacheLoader implementor doing the expensive data retrieval (if the data to be cached can be obtained outside of an HTTP container), or side caching with using Coherence locks or entry-processors for concurrency control on the data retrieval operations for the same key (take care of retries in this case).
    Best regards,
    Robert

  • Exposing business services as webservices

    Hi All,
    Im new to webservices.I have a running java web application.
    I need to expose some methods as webservices.
    Can it be possible to create a single ear file,using which i can access webapplication and webservice wsdl file and how
    Regards,
    Bhuvan.

    Yes, you can mix different type of J2EE artifacts in a single application. The easiest way to do this may be to use JDeveloper 10g (or the 11g Tech Preview) and to build you web service application, then add the remaining of you web application into the same project.
    Hope it helps,
    -Eric

  • Need Inputs on transferring data thru Webservice

    Hi All,
    Can we use webservice to transfer huge amount of data (i.e. An XML which has 20,000 rows from a table of 15 columns) from the webserver to the client.
    Currently am passing this as a String.
    Is it okay to pass it in this way? or is there any other better approach to pass the huge amount of data thru webservice
    Eagerly waiting for replies.
    Thanks,
    Muthu Kumar.

    Hi All,
    Can we use webservice to transfer huge amount of data (i.e. An XML which has 20,000 rows from a table of 15 columns) from the webserver to the client.
    Currently am passing this as a String.
    Is it okay to pass it in this way? or is there any other better approach to pass the huge amount of data thru webservice
    Eagerly waiting for replies.
    Thanks,
    Muthu Kumar.

  • Attempt to fetch cache data from Integration Directory failed

    HI,
    while checking cache connectivity testing: status is
         green:   Integration Repository     
         green:    Integration Directory     
              green: Integration Server - JAVA     
                  red:Adapter Engine af.axd.aipid     
               yello:Integration Server - ABAP
    Jun 30, 2007 1:16:08 PM - Cache notification from Integration Directory received successfully
    Attempt to fetch cache data from Integration Directory failed; cache could not be updated
    [Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.00.aipid, string], target element type: SAP_BusinessSystem)
    [Data Evaluation]: GlobalError
    what to do?
    and there is nothing under integration server and integration engine but there is an green status under Non-Central Adapter Engines > from this i am doing send messeage testing fro xi to bi ,
    send message to: http://aibid:8000/sap/xi/engine?type=entry
    payload:
    <?xml version="1.0" encoding="utf-8"?>
    <ns1:MI_VCNdatatoBI
    xmlns:ns1="http://bi.sap.com"
    xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
    <DATA>
    <item>
    </BIC/ZG_CWW010>1000<//BIC/ZG_CWW010>
    </BIC/ZVKY_CHK>1<//BIC/ZVKY_CHK>
    </item>
    </DATA>
    </ns1:MI_VCNdatatoBI>
    i can sent message from there (component monitoring > Non-Central Adapter Engines) but unable to get it at message monitoring and at BI side.
    dushyant.

    thanks,
    but i have adepter type XI
    and i am folowing step of this lonk and there is no need to create fild adepter type according to that and almost done but while sending message through config. monitor in RWB it goes but not coming in mess monitoring and at bi side
    see 4.5 > 3 and 4 topic and 4.6 > 3,4,5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f027dde5-e16e-2910-97a4-f231046429f2
    now what to do?
    dushyant,

  • Reg:pojo datacontrol not functioning wehn exposed as proxy for webservice.

    Hi ,
    I have a class which sets the request and header part and for this data control is created and hence works fine when worked by dragging to page.
    Sample :
    Class1{
    function setheader (){  ....  }
    function setrequest() { .... }
    function invokeservice(){
    Class1 objClass = new Class();
    objClass .setheader();
    objClass .setrequest();
    } ----------- this works fine.
    But when I use setters in different class, that works through normal run(executingjava class). But not functioning when exposed as data control.
    Class1{
    function invokeservice(){
    Class2 objClass = new Class();
    objClass .setheader();
    objClass .setrequest();
    Class2{
    function setheader (){  ....  }
    function setrequest() { .... }
    This doesnt function. I want to know the reason for not working, because by this only we can edit the validations of data control attributes , which is not possible in the earlier one.
    Regards,
    Dinesh Vishnu Kumar C.

    I didn't clearly understand the question. If the question is , both Class1 and Class2 are exposed as data control and used in a page, and then you want to update Class2 properties from Class1 then the approach you took is wrong
    You cannot instantiate data control instance of Class2 as you are trying, rather you may need to use binding API to set the value or to get hold of the instnace. See the code snippet given here http://biemond.blogspot.in/2009/03/some-handy-code-for-backing-beans-adf.html
    If you have some method to initialize the properties and this method is added page def as method action ,then following will work
    // get the binding container
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    // get an Action or MethodAction
    OperationBinding method = bindings.getOperationBinding("someMethodAction");
    Map paramsMap = method.getParamsMap();
    paramsMap.put("param1","value1") ;
    paramsMap.put("param2","value2") ;
    method.execute();

  • In which table is the Live cache data stored?

    Hi experts,
       I am new APO .Can anyone let me know in which database table will the Live cache data be stored?
    Thanks in advance
    regards
    Ashwin.

    Hello Ashwin,
    the idea of the liveCache is to haev data permanently and quickly available without having to read/write from/to database. Therefore, the liveCache is <b>NOT</b> a physical database, it is a program in C++ that <i>simulates</i> a database and holds the data in the memory.
    However, it does need so called liveCache-anchors which are saved on the database, and which are similar to pointers.
    However, you can extract data from liveCache using BADIs or by creating a datasource on a planning area (for DP and SNP), manipulation can also be done only by BADIs or sophisticated programming (which basically uses RFCs).
    I hope this answers your question.
    Regards,
    Klaus

  • Exposing AQ's as Webservices

    Hi,
    Is there a working example to expose AQ's as Webservices.
    Regards
    Deepak

    Yes, you can mix different type of J2EE artifacts in a single application. The easiest way to do this may be to use JDeveloper 10g (or the 11g Tech Preview) and to build you web service application, then add the remaining of you web application into the same project.
    Hope it helps,
    -Eric

  • Query Dimension 1-Cache Data

    Hi,
    I am running a MDX query  and when I checked in profiler its showing a long list of Query dimension (Event Class) 1-Cache data, What does it mean?
    I think its not hitting storage engine rather pulling from cache but why so much caching. What does this event class means?
    Please help! 

    Hi Pinu123,
    Create Cache for Analysis Services (AS) was introduced in SP2 of SQL Server 2005. It can be used to make one or more queries run faster by populating the OLAP storage engine cache first. The query results were cached in memory for re-use.
    In your scenario, you said that the results not hitting storage engine rather pulling from cache. In this case, it seems that this results had been queried by other users and cached in memory. For more information about cache data, please refer to the links
    below.
    How to warm up the Analysis Services data cache using Create Cache statement
    Examining MDX Query performance using Block Computation
    Regards,
    Charlie Liao
    TechNet Community Support

  • Adobe Reader is Cacheing Data From OLEDB Connection

    I am trying to pre-populate a form from an oledb connection to an access database. I have an html page where a user can search an id. This id then gets written to a table where the sql query defined in the PDF form can grab it, join it with a table where the user info is stored, then display it.
    My problem is that Adobe Reader seems to be caching data from the first SQL select query that is executed. When I change the id I am loading, I still get data from the first SQL query in Reader. If I open the PDF via Acrobat, the data loads up properly, and it doesn't seem to be cached. I have looked at the following forum for suggestions: http://www.adobeforums.com/webx/.3bc3549c, but their suggestions haven't worked.
    I have tried turning off caching anywhere I can find it (i.e. in LiveCycle, Adobe Reader), but nothing is working. Does anybody have any suggestions?

    It sounds like you need use the adobe schema in MII so the output of your transaction matches it.
    Regards,
    Jamie

  • Cache data in Web Services

    Hi!
    I need to create a Web Service that can cache data in between multiple Web Service calls. If I'm not misstaken then stateful sessions keep data but still separate clients from each other. I need all clients to be able to access the same synchronized cached data. The data should be kept in memory for as long as the server is running. What kind of java technology should I use for that? Is it even possible to create? Using a database is not an option in this case.
    Thanks...

    Hello. I would strongly recommend looking at Apache's Java Caching System that is tailored for web applications. It's caching model is based on JSR 208 (Java Caching) and is probably the best solution out there. We have a similar requirement in our web service application that JCS helped accomplish.
    JCS allows both in-memory as well as caching to disk. The latter would require the data to implement java.io.Serializable or Externalizable interface.
    http://jakarta.apache.org/jcs/
    Hope this helps!

Maybe you are looking for

  • How to Display in Hierarcheal Order.

    Hi, I have a program that extracts the project related data Excel. The program fetches the correct data but i want to displsy it in hierarchial order based on WBS element. How can i display it. There is a function module CALL FUNCTION 'AIPR_GET_HIERA

  • How to connect JSp to ms-access?

    hello Everybody, I have a database created in MS-Access. Database name "est". Table name "Customer". I have created System DSN by name "est" for Access database. This Customer table contains user-id and password. Now, from front end, using JSP, i hav

  • Failure to launch problem trying to run any .jnlp

    Hello everyone, I have been trying to run a program to help me study for my medical board exams and it uses java web start. I have tried to run the demo program off of the java website as well and I keep getting the same error. Unable to Launch downl

  • Adobe Application Manager Problems

    I have been having troubles with the Application Manager, it is driving me nuts. For some reason it insists on starting up in Chinese and I don't see anyway to change it, so this makes it a little harder for an English speaker to reader what is going

  • Cannot download free apps it is asking me for billing information and the app is free How do I fix this?

    I am trying to download free apps and it is asking me to sign in and give billing info ie credit card, how do. Fix this I have downloaded free apps in the past without having to provide this info. Can anyone help?