OC4J_10.1.3 (Exception while calling a webservice from another webservice)

I have the following situation --
1. I have two WebServices A and B deployed onto OC4J_10.1.3
They both work when I test them using the test service
2. My real need is to call webservice A from B. So I created a proxy for A using JDEV
and deployed into OC4J. Now when I use the test service and call methods on B as before it does not work. I get the following exceptions when I try to instantiate the stub.
WebServiceASoapHttpPortClient myPort = new WebServiceASoapHttpPortClient();
SEVERE: caught exception while handling request: java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml
/namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/String;Z)V java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml/namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/Stri
ng;Z)V
It seems as though OC4J is not able to find LiteralFragmentSerializer methods. But wsclient.jar must be available on OC4J's CLASSPATH.
My webservice is very simple and the encoding is SOAP1.1 (Document/Literal).
Any insights ?
Thanks very much.
--venkat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Have you tried downloading and installing wsclient_extended.jar instead of wsclient.jar?

Similar Messages

  • Exception while calling a BDC from webdynpro

    Hi All,
    I am getting an exception 'Exception condition "CNTL_ERROR" raised' while calling a BDC from the WD application, though i am calling the transaction in background mode. The statment which was throwing the exception was a create object statement in the function module DOC_DISPLAY_INITIALIZE. Can u please tell me, what is the reason for this?
    Thanks in Advance,
    Laxmikanth

    >
    amit saini wrote:
    > hi ,
    > The message "CNTL_ERROR" appear when you are using some of  the SAP enjoy transaction code like ME21N / ME22N / ME23N.
    >
    > This are bugs cause by the earlier version of the SAPGUI. It  usually occurs when you are running a BDC session
    > for a transaction that has 'fancy' screen elements like table controls ortabstrips. These work fine in the foreground, but not so well in the background.
    >
    >
    > To solve it, goto OSS and apply the SAPGUI's latest front end patch to your PC.
    >
    > rgds,
    > amit
    There is a mixture of accurate information here.
    This is NOT a SAPGUI problem.  It can not be fixed with a newer version fo the SAPGUI.  It is caused by transactions that were created with Enjoy Controls.  Enjoy controls are not the table control or the tabstrip.  They are controls that used ActiveX components on the desktop as part of the SAPGUI - like the ALV Grid, the Tree, the ABAP Editor, etc. 
    You can not use call transaction/BDC against such transactions in the background or in WDA because there is no connection to the frontend to create instances of these controls.  These transactions with the enjoy controls should have appropriate BAPIs or Enterprise Services that you should call instead in order to make data updates or creations.
    For instance see SAP Note 304122 that discusses this issue for transaction MIGO.

  • Exception while calling BPEL process from JAVA

    Hi All
    I am getting this error while calling BPEL process from JAVA
    first I've got javabeans exception then I changed the port to default 23791 .. now I am getting the following
    Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache not initialized
         at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(ATGCacheMgrDelegateImpl.java:325)
         at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCacheFactoryImpl.java:44)
         at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:1084)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
    can anyone help

    Sorry guys for disturbing.
    I deleted the file CacheDefaultConfig.properties by mistake from $JAVA_TOP
    I replaced it and it worked fine
    Thanks,
    Baraa

  • Communication Protocols while Calling a BPEL from another BPEL

    Hi,
    I was just curious to understand that what is the protocol that gets used when a BPEL WS is called from another BPEL using Partner Link ?
    Is it SOAP over HTTP or some internal network call in the BPEL engine.
    If someone can point to a detailed documentation for it, that would be helpful.
    Thanks,
    Saurabh

    Hi Veejai24 and soa_adf,
    Thanks for your replies. My question here was more to analyze if an internal call of BPEL to another BPEL takes the same amount of time as if a BPEL is called from any external application over HTTP. Or the BPEL Engine reduces this time while internal calls and optimizes the performance?
    Thanks,
    Saurabh

  • Exception while calling DOC_INFO service from a filter

    Hello All,
    I am coding for a requirement where I need to extract the document meta-data information (author) and sent out the mail notifications to the original doc-author whenever a workflow on a document is finished.
    For this I hooked a custom java code as a filter to the event *"advancedocumentStartMarkWorkflowFinished"*. I referred to the thread below to do my coding. I am thinking to execute DOC_INFO service from my filter and extract the required values.
    http://forums.oracle.com/forums/thread.jspa?messageID=9501388�
    My execute service method is given below:
    public void executeService(DataBinder binder, String userName,
    boolean suppressServiceError, Workspace workspace) throws DataException,
    ServiceException {                                                                                     
    // Workspace workspace = getSystemWorkspace();
    String cmd = binder.getLocal("IdcService");
    System.out.println("The service to be called is-->"+cmd);
    if (cmd == null) {
    System.out.println("Getting the service failed");
    // throw new DataException("!csIdcServiceMissing");
    System.out.println("Workspace in execute-->"+workspace);
    ServiceData serviceData = ServiceManager.getFullService(cmd);
    if (serviceData == null){
    //throw new DataException(LocaleUtils.encodeMessage("!csNoServiceDefined",
    //null, cmd));
    System.out.println("**** Null is serivice data ****");
    System.out.println("Creating the service");
    System.out.println( "%%%%%%%%%%%%%%% Class id"+serviceData.m_classID);
    Service service =
    ServiceManager.createService(serviceData.m_classID, workspace,
    null, binder, serviceData);
    System.out.println("Retrive user details---------->"+userName);
    UserData fullUserData = getFullUserData(userName, service, workspace);
    service.setUserData(fullUserData);
    binder.m_environment.put("REMOTE_USER", userName);
    ServiceException error = null;
    try {
    System.out.println("********Setting flags/checks now now..");
    System.out.println("************* Step 11");
    service.setSendFlags(true, true);
    System.out.println("************* Step 2");
    service.initDelegatedObjects();
    System.out.println("************* Step 3");
    service.globalSecurityCheck();
    System.out.println("************* Step 4");
    service.preActions();
    System.out.println("************* Step 5");
    service.doActions();
    System.out.println("************* Step 6");
    service.postActions();
    System.out.println("************* Step 7");
    service.updateSubjectInformation(true);
    service.updateTopicInformation(binder);
    System.out.println("********Setting flags done succesfully....");
    } catch (ServiceException e) {
    System.out.println("??????????????????????? Caught an error");
    error = e;
    Now , I find that after step 5 (above) the code throws an exception. The exception trace is given below. Any help is highly appreciated. I am not able to find much help. I referred to the Stellant Developer Guide it also contains the example similar to the code given in the thread above. Is it version related issue where the code not valid for 11G or I am doing something wrong?
    I found even though the service called threw an exception I was still able to retrieve the docname and author values which I need. Moreover, the workflow was also finished. I am confused because of this.
    Name of doc apex.log AUthorweblogic (See lines in bold in the stack trace)
    Please help I am quite stuck at it. Any help is highly appreciated .
    Thanks,
    Aakash
    Stack Trace:
    The workspace object at the start-->intradoc.jdbc.JdbcWorkspace@1770976
    The dID of the document-->667
    THe service to be called is-->DOC_INFO
    Creating the service
    %%%%%%%%%%%%%%% Class idDocService
    Retrive user details---------->weblogic
    The workspace object is null
    +++++++++++++ Retriveing the user data
    &&&&&&&&&&&&&&&&&&&&&& User data retrid succsfully
    ********Setting flags/checks now now..
    ************* Step 11
    ************* Step 2
    ************* Step 3
    ************* Step 4
    ************* Step 5
    ??????????????????????? Caught an error
    ------------------ Doing the clean ups
    <Jun 4, 2011 8:41:47 PM GMT+05:30> <Error> <oracle.ucm.idccs> <UCM-CS-000001> <g
    eneral exception>
    <Jun 4, 2011 8:41:47 PM GMT+05:30> <Error> <oracle.ucm.idccs> <UCM-CS-000001> <g
    eneral exception
    intradoc.common.ServiceException:
    at intradoc.jdbc.JdbcWorkspace.releaseConnection(JdbcWorkspace.java:2383
    at intradoc.jdbc.JdbcWorkspace.releaseConnection(JdbcWorkspace.java:2364
    at DynamicPrefix.CheckinFilter.executeService(CheckinFilter.java:167)
    at DynamicPrefix.CheckinFilter.doFilter(CheckinFilter.java:50)
    at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114
    at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    at intradoc.server.workflow.WorkflowStates.markWorkflowFinished(Workflow
    States.java:2182)
    at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement
    (WorkflowStates.java:697)
    at intradoc.server.workflow.WorkflowStates.advanceDocumentState(Workflow
    States.java:551)
    at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTrans
    ition.java:75)
    at intradoc.server.workflow.WorkflowHandler.updateWorkflowAndDocState(Wo
    rkflowHandler.java:568)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelpe
    rUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.workflow.WorkflowHandler.executeAction(WorkflowHandle
    r.java:119)
    at intradoc.server.Service.doCodeEx(Service.java:533)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImpl
    ementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImp
    lementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceReque
    stImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImp
    lementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:2
    65)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUti
    ls.java:1343)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletR
    equestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWr
    apper.java:222)
    at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:8
    7)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.j
    ava:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperU
    tils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(S
    ervletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    Else..Sevice Exception-18
    Name of doc apex.log AUthorweblogic
    <Jun 4, 2011 8:41:47 PM GMT+05:30> <Error> <oracle.ucm.idccs> <UCM-CS-050025> <C
    ommit is called by thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kern
    el.Default (self-tuning)' exception stack' in auto-commit mode.>
    <Jun 4, 2011 8:41:47 PM GMT+05:30> <Error> <oracle.ucm.idccs> <UCM-CS-000001> <g
    eneral exception
    intradoc.data.DataException: !csJdbcCommitCalledInAutoCommitMode,[ACTIVE] Execut
    eThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'
    at intradoc.jdbc.JdbcWorkspace.commitTran(JdbcWorkspace.java:1172)
    at intradoc.data.WorkspaceTransactionWrapper.commitTransaction(Workspace
    TransactionWrapper.java:71)
    at intradoc.server.ServiceRequestImplementor.commitTransaction(ServiceRe
    questImplementor.java:424)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImpl
    ementor.java:1746)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImp
    lementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceReque
    stImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImp
    lementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:2
    65)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUti
    ls.java:1343)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletR
    equestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWr
    apper.java:222)
    at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:8
    7)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.j
    ava:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperU
    tils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(S
    ervletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Thanks,
    Aakash

    It looks like the main error that is being thrown is "csJdbcCommitCalledInAutoCommitMode". Somewhere when executing the DOC_INFO service, the database transaction is being released (at intradoc.jdbc.JdbcWorkspace.releaseConnection(JdbcWorkspace.java:2383)).
    Is there a reason why you are hooking into the advancedocumentStartMarkWorkflowFinished filter? I have generally found better success hooking into the serviceCleanUp filter if I need to commit a database transaction. serviceCleanUp is fired at the end of every single service call but should be far enough out of the service call so no database transactions are pending. If you use the serviceCleanUp filter, you will need to check for some criteria so that your customized code only runs in the specific scenario needed. Try to make this customized code as concise and quick as possible since this service gets called a lot.
    Jonathan
    http://redstonecontentsolutions.com
    http://corecontentonly.com

  • Error while calling oracle reports from another report

    Hello everyone,
    I have a problem running oracle reports. In one report I have a button
    that calls another report. There is a button for each row of the result
    in the first report , and i have used Srw.run_report to call the second
    report.
    My problem is, when I run the report, at the first time i can push the
    button and the second report opens and works correctly. But if i close
    the second report and come back to the first one, when i push the
    button for a different row ,the second report starts to run but then I
    get some oracle errors like table does not exist or... while the first
    time the report worked correctly.
    It seems that when i close the second report and go back to the first
    one, sth happens that changes my session or connection. I don't know
    what can be the problem.
    By the way, when I log in with the user that owns the tables and has
    all the privileges, I don't get this problem. It only occurs when I
    use other users ( which have all privileges on all of the tables
    needed in the report )
    I am using Report Builder 6.0.5 and the DB is Oracle Database 10g.
    Can anyone please help me with this problem?
    Thanx in Advance.
    Maryam.

    6.0.5 is not certified against 10g database, so I suggest to upgrade to 6.0.8.26 (6i patch 17) first to see if the problem is gone.

  • Compilation error while calling static method from another class

    Hi,
    I am new to Java Programming. I have written two class files Dummy1 and Dummy2.java in the same package Test.
    In Dummy1.java I have declared a static final variable and a static method as you can see it below.
    package Test;
    import java.io.*;
    public class Dummy1
    public static final int var1= 10;
    public static int varDisp(int var2)
    return(var1+var2);
    This is program is compiling fine.
    I have called the static method varDisp from the class Dummy2 and it is as follows
    package Test;
    import java.io.*;
    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    and when i compile Dummy2.java, there is a compilation error <identifier > expected.
    Please help me in this program.

    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    }test+=Dummy1.varDisplay(var3);
    must be in a method, it cannot just be out somewhere in the class!

  • Error while calling a form from another form's menu item

    I created a main form and menu module for this form.
    I am calling another form from main form menu item.
    i moved both the forms and menu and compiled them.
    But, when i run this form i am getting an error saying
    FRM 92100: Your connection to the server was interrupted
    This may be the result of a network error, or a failure on the server.
    You will need to establish your session.
    I set the seperateframe = true
    networkentries = 30
    But still getting the same error.
    Is there any parameter that i am missing.
    I will greatly appreciate if anybody can direct me to the solution.
    Thank you.
    Navya.

    Hi guest,
    the data definition is:
    DATA: XVBKD LIKE VBKDVB OCCURS 0 WITH HEADER LINE.
    the assignment:
    XVBKD-PRSDT = likp-erdat.
    Thanks,
    Hagit

  • Urgent:Error While calling one form from another form

    Hi,
    i am using a form in which zoom functionality is enabled.From this form if i am clicking view->zoom it should open another form which should accept two parameters from the first form.But whenever i am clicking on zoom its giving the following error.
    FRM-47023:No such parameter named G_QUERY_FIND exists in form
    XX_EMPLOYEE_CONVERSION(Name of the form which i am calling from first form)
    When i am clicking 'ok' then it shows the error
    FRM-40105:Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    Eventhough i have developed my form using template.fmb which uses the parameter G_QUERY_FIND why this error is coming?
    Can anyone suggest a solution for this.
    Thanks in advance

    PARAMETER.G_QUERY_FIND is one of he objects in the APPSTAND.fmb. You will need to Subclass all of the objects in APPSTAND.fmb in your custom form. If you do not have a copy of this file in your FORMS60_PATH, I suggest you put a copy there. If you don't have a FORMS60_PATH specified then I would highly suggest adding this entry to your Forms Home in the Registry. Also, you will want all of the libraries in the AU_TOP/Resources folder as well.
    I also suggest looking at the Oracle Applications Developer's Guide (http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf) as it outlines all of the required objects you must have in your form and reports.
    Hope this helps.
    Craig...

  • Any direct way to call webservice from another webservice ?

    Hi All,
    We have two java web services. One web service calls the another.
    Currently, we have created a proxy of one web service and jar the proxy project and using it in caller web service.
    Do we have any other ways to acheive it? or the way we are doing is the only approach?
    Thanks
    Saikrishna Panugant

    No,
    I didn't realize that there was a limit of 10 for remap data. As a work-around, can you remap 10 of the columns during export, and then 10 during import? Not sure if you want to give someone a dumpfile with sensitive data in it. If you could, you could at least double the limitation to 20 rows.
    Dean

  • Exception while calling ADS Inappropriate WSIL Invalid Response Code: (401)

    Hi Experts,
    Our ADS configuration was done on XCE a long time back and even reader credentials were installed and everything is working fine.
    Couple of days back, we enabled SSL configuration on the system. Even got the certificates signed by CA and HTTPS is also working without any problems.
    Then, problems are happening when we configured WebService SSL connection for ADS following the steps from
    http://help.sap.com/saphelp_nwce72/helpdata/en/90/71d273fa724cc9bb644ab00405e6f8/content.htm and also the SAP How to guide from: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d02262d8-7814-2c10-5c97-d855d38e9923?quicklink=index&overridelayout=true.
    Among other steps, I have created a View in Key Storage called "ADSCerts" and created an entry "ADSUser" as per the document, generated CSR request, imported CSR response and also the CA's root certificate.
    I exported the ADSUser-cert certificate from here and imported into Identity Management for the User ADSUser under its Certificates tab.
    Also updated SecureConfigPort_Document (in Destination Template Management under SOA Administration) security settings to X.509 Client Certificate and in Details, I have chosen the View ADSCerts and entry ADSUser.
    Even after all the steps as per the document and the help.sap.com link provided above, when I try to test this through a test URL
    (https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp) that our developers have given me for this, I get a (401)
    Unauthorized error:
    500 Internal Server Error is returned for HTTP request
    [https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp]
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException:
    Exception while calling ADS; Inappropriate WSIL; configure the
    destination path
    correctly./ncom.sap.esi.esp.service.server.query.discovery.ExtendedServiceException:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested
    URL was:"Connect to https://host:https-port/inspection.wsil/"
    I have checked the security log file and it shows:
    LOGIN.FAILED
    User: N/A
    IP Address: 192.165.90.102
    Authentication Stack: sap.com/tcesiesp~wsil*inspection.wsil
    Also, ran Security Troubleshooting Wizard from NWA and reproduced the problem while collecting these traces. There were some entries like:
    Login failed!
    [EXCEPTION]
    java.security.PrivilegedActionException:
    com.sap.engine.services.security.exceptions.BaseLoginException: Cannot
    authenticate the user.
    Caused by: com.sap.security.core.server.jaas.DetailedLoginException:
    Received no SAP Authentication Assertion Ticket.
    Received no SAPLogonTicket. Authentication stack:
    [sap.com/tcesiesp~wsil*inspection.wsil].
    Any idea how I can solve this? Anybody got this error?
    Thanks,
    Shitij

    Opened an OSS message with SAP and they told me that the certificates being generated from NWA are in a different format from what is accepted in user store.
    So, generated new certificates from OS level using sapgenpse and now it worked.

  • JDBC Exception while calling a web-service

    Hi all,
    We are getting the following JDBC Driver Timeout Exception while calling an external web-service..
    An exception occurred while executing a transaction. Details: An error occurred while accesing the database. Detail:SQL statement: ' SELECT INSTANCEDATA, PROCESSID, INSTID, THREADID, NAME, PARENTTHREAD, PRIORITY, CREATIONTIME, AUTHOR, PARTICIPANT, NEXTPARTICIPANT, PROCESSDEADLINE, ACTIVITYDEADLINE, RECEIVETIME, ACTIVITYNAME, NTHREADS, CTHREADS, FCTHREAD, TOTALTHREADS, STATE, SOURCEACTIVITYNAME, ROLEIN, PENDINGITEMID, LASTRESULT, ITEMDEADLINE, NCHANGES , NREMARKS, NATTACHMENTS, HASPARTFORROLE,MICROACTIVITYNAME FROM PPROCINSTANCE WHERE PROCESSID = 11AND INSTID = 10 AND THREADID = 0 FOR UPDATE' Caused by: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock fuego.transaction.DatabaseException:
    How do we resolve this exception?
    We have increased the JTA timeout to 120 seconds.. in the engine..
    Our process is deployed on Weblogic Server

    Looks like specific record for the Instance id 10 is locked in the Engine table. I am not quite sure, what kind of Business scenraio you executed to end up in this issue.
    But you can try restarting the BPM engine or check with the Oracle DBA to see any lock on the rows in Engine database and perform required unlocking operations.
    -Lovin.V

  • Exception while calling native profiler (root cause: no message available [

    Hi,
    We are setting up MAM30 using the new technology (NWMADMIN). During sync. I get the error message "Exception while calling native profiler (root cause: no message available [java.lang.reflect.Invocat...". Can anyone help me on this?
    Thanks
    Kind regards
    Jacob

    Hi Jacob,
    I once faced this problem(no in MAM though)
    I will try to guess the solution to your problem,
    1) My first guess would be that, the header file in MAM30 using the 'javah' tool, did not pass the fully qualified name of the class as the argument. The 'javah' tool will not complain and will produce an incorrect header file.
    2) The Native method names wouldnt have got a match for the java method names, might be missing the package name. here you need to import the missing ones.
    3) Or you would be calling static native methods using objects, it should be accessed in a static way. you can call them directly.
    Hope this helps.
    Regards
    Divya.

  • SQL Exception: Invalid column index while calling stored proc from CO.java

    Hello all,
    I am getting a "SQL Exception: Invalid column index" error while calling stored proc from CO.java
    # I am trying to call this proc from controller instead of AM
    # PL/SQL Proc has 4 IN params and 1 Out param.
    Code I am using is pasted below
    ==============================================
              OAApplicationModule am = (OAApplicationModule)oapagecontext.getApplicationModule(oawebbean);
    OADBTransaction txn = (OADBTransaction)am.getOADBTransaction();
    OracleCallableStatement cs = null;
    cs = (OracleCallableStatement)txn.createCallableStatement("begin MY_PACKAGE.SEND_EMAIL_ON_PASSWORD_CHANGE(:1, :2, :3, :4, :5); end;", 1);
         try
    cs.registerOutParameter(5, Types.VARCHAR, 0, 2000);
                        cs.setString(1, "[email protected]");
                             cs.setString(2, s10);
    //Debug
    System.out.println(s10);
                             cs.setString (3, "p_subject " );
                             cs.setString (4, "clob_html_message - WPTEST" );
                   outParamValue = cs.getString(1);
    cs.executeQuery();
    txn.commit();
    catch(SQLException ex)
    throw new OAException("SQL Exception: "+ex.getMessage());
    =========================================
    Can you help please.
    Thanks,
    Vinod

    You may refer below URL
    http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html
    Thanks
    AJ

  • 'Class Cast Exception' while invoking a EJB from a Servlet

              Hi,
              I am working on J2EE applications.I am using Webgain studio and weblogic server.I
              got a problem while invoking EJB from the servlet.
              While calling an EJB from the servlet, it is giving that "Class Cast Exception".This
              is because, the remote home reference is not able to type casted to the"Home Interface"
              of the EJB, even if I type casted explicitly. It is creating the context and able
              to identify the EJB with the JNDI name.
              Could please help me in solving this problem.I am pasting the code here.
              Thanks in advance,
              Dharma
              public void doGet(HttpServletRequest req, HttpServletResponse resp)
                   throws ServletException, IOException
                        resp.setContentType("text/html");
                        PrintWriter out = new PrintWriter(resp.getOutputStream());
              try
              Context context=getInitialContext();
              Object reference=context.lookup("ArlProjContractorAppletSession");
              ArlProjContractorAppletSessionHome home=(ArlProjContractorAppletSessionHome)PortableRemoteObject.narrow(reference,ArlProjContractorAppletSessionHome.class);
              //Exception is occuring in the above statement. It is unable
              //to cast to the home interface          
                        ArlProjContractorAppletSession the_ejb=null;
              try
              the_ejb=home.create();
              System.out.println("the_ejb = " + the_ejb.toString());
              catch(Exception e)
              e.printStackTrace();
              catch(Exception e)
              e.printStackTrace();
                        // to do: code goes here.
                        out.println("<HTML>");
                        out.println("<HEAD><TITLE>Contractor TimeTracker</TITLE></HEAD>");
                        out.println("<BODY>");
                        // to do: your HTML goes here.
                        out.println("</BODY>");
                        out.println("</HTML>");
                        out.close();
              

              I came across this kind of problem once. My problem went away after I upgraded
              from 5.1 SP6 to 5.1 SP8.
              "Dharma" <[email protected]> wrote:
              >
              >Hi,
              >
              >I am working on J2EE applications.I am using Webgain studio and weblogic
              >server.I
              >got a problem while invoking EJB from the servlet.
              >
              >While calling an EJB from the servlet, it is giving that "Class Cast
              >Exception".This
              >is because, the remote home reference is not able to type casted to the"Home
              >Interface"
              >of the EJB, even if I type casted explicitly. It is creating the context
              >and able
              >to identify the EJB with the JNDI name.
              >
              >Could please help me in solving this problem.I am pasting the code here.
              >
              >Thanks in advance,
              >Dharma
              >
              >
              >public void doGet(HttpServletRequest req, HttpServletResponse resp)
              >     throws ServletException, IOException
              >     {
              >          resp.setContentType("text/html");
              >          PrintWriter out = new PrintWriter(resp.getOutputStream());
              >
              > try
              > {
              >
              > Context context=getInitialContext();
              >
              > Object reference=context.lookup("ArlProjContractorAppletSession");
              >
              > ArlProjContractorAppletSessionHome home=(ArlProjContractorAppletSessionHome)PortableRemoteObject.narrow(reference,ArlProjContractorAppletSessionHome.class);
              >
              >//Exception is occuring in the above statement. It is unable
              >//to cast to the home interface          
              >
              >          ArlProjContractorAppletSession the_ejb=null;
              >
              > try
              > {
              > the_ejb=home.create();
              >
              > System.out.println("the_ejb = " + the_ejb.toString());
              >
              > }
              > catch(Exception e)
              > {
              > e.printStackTrace();
              > }
              > }
              > catch(Exception e)
              > {
              > e.printStackTrace();
              > }
              >          // to do: code goes here.
              >
              >          out.println("<HTML>");
              >          out.println("<HEAD><TITLE>Contractor TimeTracker</TITLE></HEAD>");
              >          out.println("<BODY>");
              >
              >          // to do: your HTML goes here.
              >
              >          out.println("</BODY>");
              >          out.println("</HTML>");
              >          out.close();
              >     }
              >
              >
              >
              >
              >
              

Maybe you are looking for

  • Duplex print with Report 6i on SUN Solaris

    Dear All, I would like to know if it's possible to print in duplex mode using Report 6i on SUN Solaris. If yes! show me the way.Thanks for help.

  • Random photos missing when I sync iPhone to MacBook Pro

    I have had this issue for at least the last few months: when I sync my iPhone 5 with my MacBook Pro in order to import all the photos I have recently taken on my phone into iPhoto, only a portion of the photos I have recently taken are available to i

  • Deactivation issues

    I need to deactivate an Adobe Photoshop Elements 8 serial number off the computer I am using now and make it active on another computer. I am having issues doing this, Help.

  • BAPI for creating product in CRM

    Hi all, i am looking for a BAPI to create a product in CRM. can anyone help me?

  • Can't choose custom print size

    I am trying to print a number of photos from aperture. I want to print one of the 8x6 inches and there is no preset for this in aperture. Yesterday I wanted to print an image 10x8 on an A4 sheet and it wouldn't work, then I realised the aspect ratio