Communication/Eventing between OIFs

Hi,
Is it possible to communicate between 2 OIFs?
Can this be achieved by client side eventing such as portal eventing if the OIFs are launched from a portal?
Regards,
Sagar

Hi Saga,
the FPM does cover application eventing in particular. So you are free to use an eventing mechanism of your choice.

Similar Messages

  • Portal eventing between pages

    Hi,
    I read around that portal eventing can be done only on the same page and not between pages, is this correct? if so, how do we make events between pages after all?
    Thanks in advance,
    Aviad

    Hi Aviad,
    Portal eventing takes place between different iviews of the same page only.
    To pass between values between different pages, you can store the required value in a Portal Request object or Session object.
    Also you can refer to this link,
    iView to iView communication with EPCF
    This link  contains the code to establish connection between pages .Finally obtaining paramaters through request.getParamater().
    Hope this helps,
    Regards
    Uma.
    Note: It will be better from next time if you could post portal related queries in the EP forum to get quicker responses and ep related guidances.

  • Communication problem between NetBeans and Tomcat

    hi!
    i got a quite mysterious problem. here is what happens:
    - i start NetBeans 5.5.1 (the first time)
    - i want to debug my JSF-Project, the Debugger starts
    - After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
    - Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
    okay.
    when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
    In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
    And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
    so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
    But the story goes on:
    When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
    i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
    thanks,
    flo.
    some system-info:
    - windows vista business 32-bit
    - no firewall is running
    - AntiVir Personal Edition IS running
    - Yahoo Widgets Engine IS running
    - no other software is running
    and finally the tomcat-log:
    Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
    Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
    Listening for transport dt_shmem at address: tomcat_shared_memory_id
    21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
    21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1862 ms
    21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    21.09.2007 18:27:54 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3626 ms

    As i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
    I hope this help you

  • I am having one application which i am going to install on my ipad and i am having one external device having USB interface. I want to have communication in between  my device and ipad over USB/BT. is it possible

    My external device is having male USB connector. The cable available in market are having can be plugged to the device having female connector.I will need converter in between as my device is having male connector. Can i get such cable? If yes can i establish communication in between my app and device over these cables.I am not passing any audio/video data or photos.I am sending data frames. My device is having firmware and it sends data frames in firmware understandable format. Let me know can i have two way communication in between over USB/BT?
    Right now i am connecting my device with host PC and i want to replace my host PC with ipad.

    Thanks....
    will it be possible to establish communication in between my device and app. Because camera conection kit only transfers photos and videos and my device doesnt have any audio/video data.
    If yes, should i add photo header to my frames and will send as corrupted photo file or what needs to implement so that i can have sound communication in between.

  • How to Exchange Data and Events between LabVIEW Executable​s

    I am having some trouble determining how to design multiple programs that can exchange data or events between each other when compiled into separate executables. I will layout the design scenario:
    I have two VIs, one called Status and the other Graph.  The Status VI displays the serial number and status of each DUT being tested (>50 devices).  The Status VI has one timed loop along with a while loop that contains an event structure.  If the user clicks on the DUT Status Cluster the event structure needs to pass the serial number to the Graph VI.  The Graph VI when called fetches the records for the DUT based on the Serial Number and time frame.  This VI is a producer/consumer so the user can change the time frame of the records to display onto the front panel graph.
    I have a couple reasons the VIs need to be separated into independent applications. One being the underlying database fetches tends to slow the threads down between the two VIs; the other is that they may be distributed into separate systems (don't consider this in the design criteria).
    I have been researching the available methods to pass the serial number to the Graph VI.  My initial idea was to us a command line argument, but this does not allow the Status VI to pass another Serial Number to the Graph once it has started (I do not want to allow the user to execute multiple Graph applications because the database query can load down the server).
    Is there a program method that I can implement between the two VIs that will allow me to compile them as two executables, and allow the Status program the repeatedly send an updated serial number event to the Graphs program.
    I have reviewed many methods; Pipes (oglib_pipe), Action Engine, and Shared Variable.  I am not sure which method will give me the ability to use a Event driven structure to inform the Graphs program when to update the serial number.  Any suggestions and tutorials or examples would be greatly appreciated.

    I have used the Action Engine (aka: functional global) approach for many years and it works well. Something to think about is that if you make the event's datatype a variant the only code that will need to know the actual structure of the event will be the function that needs to respond to it. Hence, a single event can service multiple functions.
    Simply create a cluster containing an enum typedef that is a list of the functions that the event will service, and a variant that will be the function event data. From anywhere in the code you can fire the event (via the functional global) by selecting the function from the enum and converting function specific data to a variant. On the receiving end the event handler uses the enum to determine the function that is to get the data and sends the variant to it. The event handler doesn't know or care what the actual event data is so you could in theory add new functions without modifying the event handler.
    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

  • I received a low ink warning on my mac for my epson artisan 837 printer. I replaced the cartridge that was low but it still reads low ink on the mac but reads full on the epson control panel. I am also receiving a communication error between the mac

    I received a low ink warning on my mac for my epson artisan 837 printer. I replaced the cartridge that was low but it still reads low ink on the mac but reads full on the epson control panel. I am also receiving a communication error between the mac

    What exactly is the error?
    And, we'd need some info re. your Mac model and OS version - you are not running iOS on it.
    You need to realize that this model has been discontinued and the last driver updates are dated about a year ago. If you are running Mavericks, there may not be an updated driver for it. But you can try to delete the printer and add it again to see if that will work.

  • Eventing between iView and nested iView

    I try to make an Event between an iView and an nested iView. I followed the instruction on page 164 in the reference guide and tried some other things, but it doesn´t work. I make an output Port on the one side, there i could select the fields to be displayed. But when I compose the Input Port , there are no field to see.
    So what make I wrong?

    Hello Marcus,
    the main thing about the desired eventing seems to be that when you have placed your data service in the nested iview you have to create a signal-in port<b> by pulling a data connection out of the input port of the data service</b> to create the input-port of your nested iView. Only this way, the port is filled with the input data of the data service.
    Back in your main iView you can connect the data flow to the newly created port of your nested iView the same way as you connect to a data service. You then should see the input fields of the data service that you placed in the nested iView and be able to assign values to the input fields.
    Hope that helps
    cheers
    Gerhard

  • How to handle events between two custom components?

    Hi ,
         i want to handle events between two custom components, example if an event is generated in one custom component ,and i want to handle it any where in the application.....can any one suggest me any tutorial or meterial in this concept...
    thanks

    Events don't really go sideways in ActionScript by default. They bubble upward. If you want to send an event sideways, you will probably have to coordinate with something higher up in the event hierarchy. You can send the event to a common ancestor, and then pass it down the hierarchy as a method argument.
    Another option is to use a framework that supports Injection. There are a number around these days. The one I'm most familiar with is Mate, which allows you to handle events and inject data in MXML. Mate is meant to be used as an MVC framework, and you may want to look into it if your application is complex, but you can also use it to coordinate global event handling if you don't need that level of structure.

  • I have a communication error between Lightroom 5 and my printer. It prints photos about 1/2 strength in color. Printer checks out ok. WHAT CAN I DO?

    I have a communication error between Lightroom 5 and my printer. It prints photos about 1/2 strength in color.. The printer checks out ok. What can I do?

  • Eventing between Web Dynpro iView and regular DynPage iView

    I have seen, done eventing between two dynpage iviews and two webdynpro iviewsHowever, and gone through "How to Use the Portal Eventing for Web Dynpro iViews". However, I have been trying to have a webdynpro iview talk to a dynpage iview but they just won't communicate. Is this even possible?
    Ok basically I have a portal page in a popup window with no masthead and top level navigation. The page has two iviews -  the top one being an iView that points to a webdynpro application on Server A, and the bottom one being a dynpage iview on the Portal Server B.
    In the webdynpro iview, the code for when a button is clicked is
    public onSomeAction(Event event) {
        WDPortalEventing.fire("urn:myUrn","eventName","value");
    In the dynpage iview, the code i have for it is
    myServ = (IEpcfToolbox) PortalRuntime.getRuntimeResources().getService(IEpcfToolbox.KEY);
    myReceiver = myServ.getClientEventReceiver(request, "urn:myUrn", "eventName");
    form.addRawText(myReceiver.getWrappedScript());
    try {
        if (!myReceiver.isReceived()) {
            form.addComponent(createMainScreen());
        } else {
         form.addComponent(new TextView("event received!"));
    } catch (Exception e) {       
        form.addComponent(createErrorScreen());
    I tried all the things I could think of but the receiving iView just won't get the event fired.
    Can someone confirm that this should work? and correct me where I've done wrong.
    Please help. this is very urgent. your help will be greatly appreciated. thanks in advance
    PS. My environments are EP 6.0 SP2 and WAS 6.40 SP14

    > hi,
    >
    > portal eventing  works properly if all participants
    > are in the same domain. Otherwise portal eventing
    > g does not work. If the SAP J2EE
    > Engine on which the Web Dynpro application is
    > deployed is in another domain, you have to  map the
    > IP address of the SAP J2EE Engine to the domain name
    > of the
    > SAP J2EE Engine on which the SAP Enterprise Portal is
    > running, by editing the configuration file hosts.
    >
    > regards,
    >
    > Ganesh.N
    I am no direct access to the boxes so I can't try your suggestion. It really makes sense that eventing won't work if the iViews are on different domains. I know they are in the same domain but different subdomains.
    Anyway, good news I got eventing to work with the mentioned set. I found that that the SAP Java EPCFToolbox API had a bug that kept throwing javascript errors when I tried to have the web dynpro iview fire an event and the SAP one subcribed to it.
    I got around it but using the EPCF Javascript API instead.
    Code:
    response.write("<script>");
    response.write("EPCM.subscribeEvent('urn:dla.telework', 'createPdf', doSomething);");
    response.write("function doSomething() {");
    response.write("window.location = self.location + '&eventReceived=true';");
    response.write("}");
    response.write("</script>");
    So basically just output raw text through the response object and it just works.
    On a similar topic, since eventing can only pass string parameters back and forth, I'm still looking for a way to pass other more complex Java objects between web dynpro and sap iviews. From what I haven't they don't share the same session object (which I thought they did). So basically I can't just stick stuff in the session and pull it down on the other end. I'm clueless right now. If anybody has some tips, plesae share. Thanks

  • Portal eventing between WD java and BSP popup

    Hi guys,
    I have a WebDynpro application that opens a BSP popup like that :
    WDPortalNavigation.navigateAbsolute(
              wdContext.currentURLElement().getEvaluationURL(),
              WDPortalNavigationMode.SHOW_EXTERNAL,
              "directories=no location=no menubar=no resizable=yes status=no toolbar=no",
              "evaluationdeformation",
              WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
              urlParam.toString()
    When the popup is closed, I want to update the content of my webdynrpo application. I tried using portal eventing but it didn''t worked because the popup doesn't seem to know its opener....
    Is anybody have an idea ?
    Thanks in advance.
    Julien.

    Hi Julien,
    have you made sure that your BSP application is using EPCF? There is a flag you need to set to X in your BSP app for this to take effect. Also, you can not add javascript to a WD app, so calling the window.opener will not make any difference. However, you can subscribe to an event raised by another application in your WD app. It is possible to raise events between windows, one being a bsp and the other a WD or portal application. Check the following threads.
    [Portal Eventing: EPCMPROXY calls between two browser windows;
    [Client side eventing between MSS teamviewer and BSP application;
    Cheers,
    Dion

  • Can I increase communication speed between my Epson printer and the airport?

    I am having trouble printing large documents on my Epson printer.  typically I can print up to 10 pages of a document and then the printing fails.  In speaking with Epson, they are telling me it is the communication speed between the router (Airport Express) and the printer.  I am registering about 26 mbps and they are recommending 52 mbps.  It is connected through the wifi.  Signal strength is excellent.  The printer is in a second floor home office, and the Airport is located downstairs on the 1st floor about 15-20 feet away.  Is there a way to increase the communication speed without having to move the Airport upstairs (which of course would cause connection problems with other devices). Thank you

    Please check out the following AirPort User tip about base station placement for better bandwidth performance. The key is that a slight change in position of either the AirPort or the Epson printer may improve the situation.

  • Eventing between three iviews

    Hi all,
    I implemented three Iviews in a model and tried to define eventing between them in the following manner:
    - Output of iView1 is input of iView2
    - Output of iView2 is input of iView3
    Eventing is functioning well between iView1 and iView2, but it isn't doing between iView2 and iView3.
    Does eventing only work between two iViews once a page? Do I need a different EPCM event than "com.sap.visualcomposer:epcm" for the eventing between iView2 and iView3.
    Regards,
    Elyes

    Hi
    Did you give the event between iview1 and 2 and iview 2 and 3 different names.
    Jarrod

  • Communication protocol between Admin Server and Managed Server

    Hello - I am hoping someone can help me here to understand the communication protocols used in my setup.
    Here is my understanding of the protocol that are used between each component.
    End User <--->HTTPS<--->LoadBalancer Device<--->HTTPS<--->Web Server<---->HTTPS<--->WebLogic Server(Managed Server)<--->LDAP/JDBC<-->Data tier components
    AdminServer<--->T3<--->Managed Server i.e. The communication protocol between Admin Server and Managed server is T3
    The communication protocol between Managed Servers running in one cluster on two seperate machine is What?
    Thank you.

    Hello, interesting question.
    In the documentation " [cluster multicast communication|http://download.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/features.html#1007001] " don't specify the used protocol to pack the information for example in a session replication.
    Although in a session replication all objects must be serializable i don't think rmi protocol is used.
    I hope some expert give us some light in this issue :-)
    http://download.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/features.html#1007001

  • Eventing between multiple IViews

    I have multiple Dynpage IViews on one page. I raise and receive events between the IViews. I can alert the databag or eventObject values. The problem is when I try and write to the IView that has subxcribed to the event.
    ending IView:
    /******  store initial client data   ******/
         EPCM.storeClientData( 'urn:myOwnNameSpace', 'myData', '15' );
         EPCM.storeClientData( 'urn:myOwnNameSpace', 'myData2', '10' )
    /******* set the user name based off of the selected index for Request For *******/
    function setRequest(){  
         var funcName = htmlb_formid+"_getHtmlbElementId";
         func = window[funcName];
         var ddl = eval(func("Request"));  
         var selectedIndex = ddl.getIndex();
         var name = ddl.getValue(selectedIndex);
         EPCM.raiseEvent( 'urn:myOwnNameSpace', 'myRequestFor',  name );
    Receiving IView:
    [code]function myRequestHandler( eventObject ) {
        var passedData = eventObject.dataObject;  
        var temp=EPCM.loadClientData('urn:myOwnNameSpace', 'myData');
        var funcName = htmlb_formid+"_getHtmlbElementId";
         func = window[funcName];
         var myTime = eval(func("myTime"));  
         myTime.setValue(passedData);
    EPCM.subscribeEvent( 'urn:myOwnNameSpace', 'myRequestFor', myRequestHandler);code]
    The alert has the data passed but the values are not written back to the JAVA htmlb objects.
    I did the same thing using JSP DYnpages and it works. I would prefer nto to use the JSP page. Do I have an option

    the problem is not missing the document element value. I have it. I can alert it to the browser. The problem is forcing the value back to the JAVA HTMLB form element within the class.
    The problem is closed. I have gone the JSP route which is working.
    Message was edited by: Tom Mosseau

Maybe you are looking for