Invoking perl cartridge from another perl cartridge

Hi,
I have a perl cgi tht I am porting to the cartridge framework and am having the following issue:
the perl script "opens" another perl script (and "system"s another). THis does not seem to work in my setup presumable because the standalone version of perl is not installed. Now, I want to get the performance benefits of a cartridge while invoking these other perl scripts. Also, I know that I can make these other scripts as modules and it will work, but how do I invoke these scripts via a cartridge (they are in a different folder).
An example (with any requisite syntax) will be greatly appreciated.
regards

Hello,
Whilst it's possibly to 'call out' to an external Perl module, I think you're actually probably making things more complicated by going that route.
As an alternative, why not have the Perl code actually connect to the Oracle database and check for the data changing itself?
If you do want to perform the external call yourself, then the following AskTom thread should give you some ideas on how to do it -
http://asktom.oracle.com/pls/ask/f?p=4950:8:9608971842817866565::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:952229840241
There's actually some other options, you could actually connect to the other databases directly from the Oracle DB (using dblinks, hetrogenous connectivity etc), or you could convert the Perl module (or wrap it) so that it's callable via a URL in which case you could then perform an HTTP call from out of the database using utl_http.
It really depends on the specifics of what your perl module does, what sort of processing etc.

Similar Messages

  • Different ways to invoke a servlet from another servlets?

    Hello,
    I am a bit confused today. I was thinking about all the ways by which I can invoke a servlet from another servlets. I know it can be done by creating an instance of the 2nd servlet in the 1st one. Is there any other way? such as say.... RequestDispatcher perhaps?
    Here is an example to illustrate my point. I have a login.jsp which submits to login.do. login.do search through database and first authenticate email and then the corresponding password. Now its time for displayGame.do. So here how do i do? if it was a displayGame.jsp then i could have used Redirection or Forward but when it is servlets? Can I still go for Redirection or Forward??
    Thank you for reading this confused post. :-)

    if it was a displayGame.jsp then i could have used Redirection or Forward but when it is servlets?Question: do you know what a JSP becomes when you first run it?
    Answer: a servlet.
    So yes, you can use a RequestDispatcher to forward/redirect to a servlet OR a JSP, whatever you like.

  • Invoke a presentation from another presentation

    Hi everybody,
    I need to invoke a presentation from another presentation, to generate an e-mail, like a popup. I would prefer not to use another task to do this. In the parent presentation i need a button Mail that invokes a presentation in which i would have some attributes from the parent presentation. Please your help.
    Thanks
    Eva
    Edited by: Eva E on 22-jul-2009 11:06

    Hi Eva,
    Know there's a good reason for you not using a Screenflow for this, but I missed it somehow.
    If you had a Screenflow, you could have a transition in the screenflow back to the original presentation and retain the information you entered/changed in the original presentation.
    Thanks,
    Dan

  • Error while invoking a scenario from another scenario through ODIStartScen

    hi,
    my requirement is to call a scenario from another scenario. the main scenario contains an interface to get data from jms que and put that in DB and then invoke the inner scenario through ODIStartScen and am executing the scenario through an agent which is on another machine. when am trying to execute the main scenario then i get following error while invoking inner scenario in ODIStartScen step ....
    ERROR:::::
    oracle.odi.runtime.agent.invocation.InvocationException: HTTP/1.1 500 Internal Server Error
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:271)
         at oracle.odi.runtime.agent.invocation.support.InternalRemoteRuntimeAgentInvoker.invokeStartScenario(InternalRemoteRuntimeAgentInvoker.java:149)
         at com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java:266)
         at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:155)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3185)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:1414)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1818)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:559)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:481)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1040)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    the error that is in ODI server log is:
    Root cause of ServletException.
    org.springframework.jdbc.CannotGetJdbcConnectionException: Create DwgConnectConnection to master repository failed; nested exception is java.sql.SQLException: Pool connect failed : java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
         at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:93)
         at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:49)
         at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:58)
         at oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:348)
         at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
         at oracle.odi.runtime.agent.servlet.AgentServlet.processRequest(AgentServlet.java:494)
         at oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:454)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.sql.SQLException: Pool connect failed : java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
         at com.sunopsis.sql.SnpsConnection.createConnection(SnpsConnection.java:380)
         at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:88)
         at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:49)
         at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:58)
         at oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:348)
         at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
         at oracle.odi.runtime.agent.servlet.AgentServlet.processRequest(AgentServlet.java:494)
         at oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:454)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.sql.SQLException: Pool connect failed : java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
         at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:258)
         at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
         at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:652)
         at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:355)
         at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.doGetConnection(UserCredentialsDataSourceAdapter.java:162)
         at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.getConnection(UserCredentialsDataSourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    Caused By: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
         at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
         at weblogic.security.service.IdentityUtility.authenticatedSubjectToIdentity(IdentityUtility.java:30)
         at weblogic.security.service.RoleManager.getRoles(RoleManager.java:183)
         at weblogic.security.service.AuthorizationManager.isAccessAllowed(AuthorizationManager.java:375)
         at weblogic.jdbc.common.internal.JDBCUtil.checkPermission(JDBCUtil.java:231)
         at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:357)
         at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:317)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:106)
         at weblogic.jdbc.pool.Driver.connect(Driver.java:149)
         at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:652)
         at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:355)
         at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.doGetConnection(UserCredentialsDataSourceAdapter.java:162)
         at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.getConnection(UserCredentialsDataSourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    kindly help me out.
    thanks in advance.

    In the batch File write this way
    cd E:\OraHome_ODI\oracledi\bin
    E:
    startscen EXT_DATA 002 GLOBAL In case you are providing the values (EXT_DATA 002 GLOBAL) as parameter
    then call the startscen this way
    cd E:\OraHome_ODI\oracledi\bin
    E:
    startscen %1 %2 %3

  • Invoking A pushbutton from  another pushbutton

    Hi ,
    I want to invoke a pushbutton on jspx page from another pushbutton which is on different jspx page.
    How can a achive this ?

    Hi,
    You can invoke a push button from JavaScript. So after the page is loaded, you use JavaScript added in a trh:script tag at the bottom of the page to evaluate e.g. a request parameter (assuming a GET request). Then you search for a button contained on this page and call queue on the JS class shown below
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12046/oracle/adf/view/js/event/AdfActionEvent.html
    Frank

  • Invoking a mapping from another DB in a process flow

    Hi experts, have anyone try to invoke/execute an OWB mapping from another database in a process flow? Is it possible to do that?
    My process flow (in the Staging db) scenario is to execute several OWB mapping in the Staging db, then the final step is to execute an OWB mapping which is created in the warehouse db.
    Is that possible?
    Edited by: wwardana on Apr 5, 2009 9:09 PM

    Look at this thread
    [Calling WB_RT_API_EXEC.RUN_TASK over database link|http://forums.oracle.com/forums/thread.jspa?threadID=775938]
    Regards,
    Oleg

  • Invoking bpel process from another bpel process in same app server

    Hi,
    When I invoke a bpel process from another bpel process in the same oracle AS
    1. Is it a SOAP call or is there any optimization?
    2. If there is some optimization where can I configure this?
    3. Is there any similar optimizations if I invoke a bpel process from a
    java application deployed in the same server? If so can you please provide
    a sample?
    Thanks for your help
    Raj

    By default the BPEL 10.1.2, it will do a local call to the process. It will not execute a SOAP request, no network access is done.
    It can be configured at domain level:
    Parameter: optSoapShortcut (SOAP local optimization)
    Turns on "short-cut" for local SOAP request; local SOAP calls are normally done via an internal call instead of sending a message through the SOAP stack.
    The default behavior for the engine is to optimize all. To disable optimization specify a value other than "true" or "yes".

  • Problem in invoking a servlet from another PC

    hi
    i am trying to invoke a servlet running on apache tomcat 5.0.28 from another PC, my j2me wireless toolkit is on one PC and it runs a MIDlet that invokes a servlet on another PC, but am getting an exception connectionNotFound....
    both the computers are on LAN, what do i do?
    Need guidance

    No, i think tomcat server is enough.. have u checked your servlet from browser?
    I got the same error in black berry application and at that time i found that its due to servlet config in web.xml
    Have u configured your servlet in web.xml?
    One suggestion.. change your URL to www.google.com and then run your MIDlet.. it confermed that your midlet is OK
    Http request is fine to send data from your WTK.
    About apache http "NO IDEA"
    Thks

  • Invoking an event from another event

    Hi,
    I'm kind of new to the event structure in LV 7. Can anyone tell me how to invoke another event from the other one. For example i have two events say "calculate" to do something and "popmessage" to pop-up a user defined message box. How do i trigger the popmesage event upon timing out?

    Hello,
    In order to invoke a new event from within an existing event, you need to use programmatically generated (or user) events.
    To find more information on programming with events,
    See the LabVIEW User's Guide
    In LabVIEW, go to Help, Search the LabVIEW Bookshelf
    Click the LabVIEW User Manual
    Chapter 9 describes Event-Driven Programming.
    Read the event-programming tutorials.
    Go to http://www.ni.com and click on Support at the top.
    In Option 3, enter keywords "events labview" (without quotes).
    The first link should be Event-Driven Programming in LabVIEW and the
    third should be Advanced Event Handling with LabVIEW 7 Express.
    Look at example code in LabVIEW
    In LabVIEW, go to Help, Find Examples.
    On the Search tab, enter "events."
    Open "Programmatically Fire Events" for an example of triggering a new event from within an existing event.
    I have also attached a simple example showing how to use programmatic events to invoke a new event from within the current event. However, the new event will not be processed until the current event is finished.
    Is your situation that the calculate event may take a long time and you'd like to pop up a message after a certain amount of time? If so, one solution is to have parallel event structures. In the second structure, only process the user event. However, a simpler solution may be to check the clock before your processing loop and com
    pare this value periodically in the loop to see if a certain amount of time has elapsed.
    Happy coding,
    Grant M.
    National Instruments
    Attachments:
    Programmatic_Event.vi ‏40 KB

  • How tom invoke an EJB from another EJB using the sun rmi protocl in Weblogi

    Hi,
    I am particularly new to EJB.
    My scenario is
    client invoking-->EJB-----invoking ----(Either a webService or an EJB)
    in WEBLOGIC
    Is it possible that a call from EJB to another EJB or WebService use Sun's RMI as underlying protocol instead of t3 or IIOP which are used in Weblogic ?
    Would be really a great help if you could provide me some sample on it on weblogic.

    Hi Stefan,
    You don't need to provide the InitialContextFactory for running a standalone client. The following should work just fine:
    Context initial = new InitialContext();
    System.out.println("Looking up ...");
    Object objref = initial.lookup(EJB);  //the lookup name should be a global JNDI name      //and not from the java:comp namespace
    System.out.println("Looked up EJB");The JNDI implementation looks for the jndi.properties file in your classpath. So make sure that you have the appserv-rt.jar from your <server_installation>/lib directory in your classpath.
    HTH,
    Sheetal

  • Getting "Origin is not allowed" When Trying to Invoke RESTful Service from Another Domain

    I am having problems trying to invoke my RESTful web service from a different domain. I'm well aware of the normal restrictions of cross-site / cross-domain scripting but in Oracle documentation it says that all origins are allowed by default when creating a RESTful service without using authentication.
    I have created a very simple service and am trying to invoke it using jQuery.Ajax calls from a different domain and I am getting XMLHttpRequest cannot load http://address_to_my_web_service. Origin http://calling_from_address is not allowed by Access-Control-Allow-Origin.
    I understand that using JSONP instead of JSON is actually the best practice around cross-site scripting but it appears as though APEX does not support JSONP because with JSONP, there are URI parameters added to the base request (callback).
    I am stuck and would greatly appreciate any help.
    I'm starting to wonder if this could be a bug because Oracle documentation says all origins should be allowed when using a service that does not require authentication. I also tried to force the origin to be allowed by typing it in and also using the wildcard '*' and it still did not work.
    Thanks,
    Mark Williamson
    EDIT: It is now working after adding a URI prefix to my web service module.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Invoking a JSP from another JSP

    I have two JSP and both are calling different servlets. How can I call JSP B from JSP A (perhaps using a button). and how can I pass one field value from JSP B to JSP A when JSP B closes or terminate.

    Here is what I'm doing that invokes the second JSP - B
    <SCRIPT>
    function JumpToURL(url) {
              if (url != '') {
              window.location = url;
    </SCRIPT>
    <TD><INPUT type="button" name="configBtn" value="Configuration" onclick="JumpToURL('options.jsp');"><a href="/WebAppName/jsp/options.jsp"></a></TD>
    The one problem that I'm facing right now is this:
    When I start the app or JSP A (JSP that contains the code above), if the FIRST thing that I do is to click on the button above, the app call the second JSP - B, with no problem. But if start the app and click on something else that goes out to the servlet (of JSP A) and then, click on the button above I get the message: "THe pahe cannot be found" or HTTP 404 - File not found Internet Explorer.
    Can you help on this please.........Thanks..

  • Invoking an Event from another view

    In the Interaction Record viewset (IRecViewSet), when a user creates a Followup I need to not only create the followup but also automatically Save the main interaction record as well; as if the user clicks the Create Followup button then the Save button.
    The problem is the Create Followup button is in the Followup view, and the Save button is in the Reason view.
    How can I invoke the EH_ONSAVE event of the Reason view from within the Followup view?
    Thanks.
    (we are using CRM5.0)

    Check the Code for EH_ONSAVE for  View IRecReason ( Interaction Record ) . You can call the same code in your follow up View . Should work . Let me know

  • Error While Invoking a Service from another

    Hi Guys,
    I am a naive user into the world of WS or Oracle BPEL. I have got a problem, with which I am not able to make sense out of it.
    I have a Service say 'ABC' which is individually working fine. I have another Service "PQR" and using Oracle JDev I am designing my BPEL flows. I have provided Schema and wsdl of called service 'ABC' to 'PQR'.
    However @ runtime,
    <messages>
    <input>
    <InvokeGetStatusIdFromStatusName_process_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    <GetStatusIdFromStatusNameMsg xmlns="http://www.caiso.com/soa/2007-07-17/GetStatusIdFromStatusNameMsg.xsd">
    <MessagePayload>
    <statusName>OPEN</statusName>
    </MessagePayload>
    </GetStatusIdFromStatusNameMsg>
    </part>
    </InvokeGetStatusIdFromStatusName_process_InputVariable>
    </input>
    <fault>
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>GenericError</code>
    </part>
    <part name="summary">
    <summary>Failed get wsdl service definition.
    Failed to get a WSDL service that support the portType "{http://xmlns.oracle.com/GetStatusIdFromStatusName}GetStatusIdFromStatusName" in WSDL definition "{http://xmlns.oracle.com/GetStatusIdFromStatusName}GetStatusIdFromStatusName".
    Please verify that WSDL portType "{http://xmlns.oracle.com/GetStatusIdFromStatusName}GetStatusIdFromStatusName" is supported by a service in WSDL file.
    </summary>
    </part>
    </bindingFault>
    </fault>
    </messages>
    Snip of 'PQR' service bpel:
    <SNIP>
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:ValidateLastStatus" myRole="ValidateLastStatusProvider"/>
    <partnerLink name="GetStatusIdFromStatusName"
    partnerRole="GetStatusIdFromStatusNameProvider"
    partnerLinkType="ns1:GetStatusIdFromStatusName"/>
    <partnerLink name="DBAdpValidateStatusValueInDB"
    partnerRole="DBAdpValidateStatusValueInDB_role"
    partnerLinkType="ns5:DBAdpValidateStatusValueInDB_plt"/>
    </partnerLinks>
    </SNIP>
    Any idea/suggestion on this.
    Thanks in anticipation.
    JD

    Hi Suresh varma
    Did you get any answer for your problem?
    I'm having the exact same problem. Working with Weblogic 8.1 SP6 and getting this strange message whenever I'm calling my data service.
    I've followed the guidlines given on the URL posted here, and still getting the same message.
    Let me know if you have any idea.
    Cheers
    Rod

  • How to invoke the compiler from another program

    Hi guys,
    Suppose I have a source code located in the file MyClass.java.
    Now suppose I'm running another program, and in this program I want to compile the MyClass.java file and create the MyClass.class file. Is there a way of doing it through the standard API?
    Thanks.

    I believe Java 1.6 has a Compiler class as a part of it's "standard" API. Before that, you've got a package called tools.jar in your SDK directory, which is a Java gateway to the compiler

  • Invoking a MIDlet from another MIdlet

    Hi all,
    Consider this scenario,
    1. midlet A is running
    2. runtime memory of A contains jad and jar files of midlet B in two byte arrays.
    (assume some native methods which allows the applications to install, launch and remove midlet and midlet suites by passing the jad and jar files.)
    3. midlet A uses launchMIDletsuite method for launching the midlet B by passing the jad and jar files.
    4. what will be the state of A after B is launched. (running?, waiting?, destroyed?)5. Whether B is a subset of A. ie. Will A gets control back after B is destroyed.
    6. if not, is there any way to get the control back to A?
    Thanks in Advance
    Nidheesh.P

    I can't see any needs of seperate MIDlets here.
    You can use Canvases and Forms.
    Your app could start with a authentication Form. If the user is invalid, show hime the registration form.

Maybe you are looking for

  • Disabled pop-up blocker but pop-ups are still being blocked. How can I remedy this?

    I have disabled the pop-up blocker, I've added the site to the exceptions list but pop-ups are still being blocked. I have an email program that requires pop-ups in order to compose an email.

  • Firefox preferences won't save even after a re-install ...

    This is the second time I've had this problem, the first time in November last year ... and I tried SO MANY things last time that I don't know which step(s) actually did the trick. I'm running Win 7 Pro SP 1 on a Dell Inspiron 580, with F-Secure as m

  • Download without installing

    My internet is extremely slow (thank you AT&T). It will take 8 hours or more to download each app that I need. I thought I could download the apps in my office instead where I have a fast connection but it downloaded and installed my app. Is there a

  • Creating InfoPackage: Data Targets not available for selection. Any hints?

    Hi, I have 5 ODSes which by design are to feed a 6th ODS. I created 5 update rules, using each of the 5 ODSes, separately as infosources. The problem is that under the Infosource tree, I see the system generated InfoSouce but while creating the Infop

  • IPhone 6 randomly speaks without prompting

    Since I bought iPhone 6, I noticed that Siri speaks up while in locked mode.  First time I thought I was hearing things, or maybe I left her in talk position, but since then it's happened a few time more times.  Just happened again a few minutes ago.