ORACLE ADF 11g /JSF TO  serviet (Service method) not invoking

Hi,
ORACLE ADF 11g /JSF TO serviet (Service method) not invoking
My project name is : ComplProject
inside the project im having 1 jsp say x.jsp
work environment : (oracleADF 11g) jdev11 and weblogic server 10.3
in x.jsp im displaying 1 go link -> when ever we click on GO link it should go to ComplServlet.java
i tried like,
FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
the "ComplServlet" is an URL pattern in web.xml which points to servlet.
but not working
i pointed to faces-config.xml also , not working
i tried to forward like
FacesContext context = FacesContext.getCurrentInstance();
ServletContext sContext = (ServletContext)context.getExternalContext().getContext();
ServletRequest request = (ServletRequest)context.getExternalContext().getRequest();
System.out.println("third line...............");
HttpServletResponse response = (HttpServletResponse)context.getExternalContext().getResponse();
response.sendRedirect("/servlet/ViewDocument");
sContext.getRequestDispatcher("/servlet/ViewDocument").include(request, response);
brief
(from jsf page) after clicking on GO LINK i need to redirect or control should go to servlet ->service method
thanks in advance
regards,
sandeep

Hi,
i tried like,
FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
the "ComplServlet" is an URL pattern in web.xml which points to servlet.
but not workingUse like following.
    public HttpServletRequest getServletRequest() {
        return (HttpServletRequest)facesContext.getExternalContext().getRequest();
    public redirect(String url){
       getServletRequest().sendRedirect(getServletRequest().getContextPath() + "/servlet/ComplServlet");
    }If you are using golink as frank suggested then use it like this.
<af:goLink text="ComplServlet" destination="/servlet/ComplServlet"/>no need of using context when using goLink,
Regards,
Santosh.

Similar Messages

  • Oracle ADF 11g – Authentication using Custom ADF Login Form Problem

    Hi Guys,
    I am trying to Authenticate my adf application using custom Login Form.
    following this..
    http://www.fireboxtraining.com/blog/2012/02/09/oracle-adf-11g-authentication-using-custom-adf-login-form/#respond
    But my Login Page is not Loading.I think its sending request in chain.my jdev version is 11.1.1.5.Any Idea.
    Thanks,
    Raul

    Hi Frank,
    I deleted bounded code and In another Unit Test I created a simple login.jspx page and applied form based authentication but still facing same problem means something wrong in starting.
    My login.jspx page is
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" >
          <af:form id="f1" >
            <af:panelFormLayout id="pfl1">       
              <af:inputText label="USERNAME" id="it1"
                            />       
              <af:inputText label="PASSWORD" id="it2"
                              />
              <af:commandButton text="LOG IN" id="cb1" />
              <f:facet name="footer">       
              </f:facet>                 
            </af:panelFormLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Don't know wht real problem is

  • Oracle ADF 11G R1 and 11G R2 and Internet Explorer 11 Support

    Hello,
    We are using Oracle ADF 11G R2 (11.1.2.4), and now that Microsoft has pushed Internet Explorer 11 to Windows 7 and Windows 8 computers, we are finding that our application is not working with IE11.
    You get the popup that states "You are using an unsupported browser", and while everything renders on the screen, the application does not respond to user clicks.
    Does anyone have workaround for IE11, and if anyone from Oracle is reading, can you give any tentative guidelines for IE11 support.
    Thanks.

    Here's one workaround
    Jonas de Graaff weblog: How to run your ADF 11.1.x application under IE 11: a workaround
    http://jonasdegraaff.blogspot.nl/2013/11/how-to-run-your-adf-111x-application.html

  • Oracle ADF 11g

    Wondering if there is a Oracle ADF 11g Video site ? Site where all ADF 11g sample example clips are consolidated ?
    I did like ADF videos here http://blogs.oracle.com/shay/
    wanted to know more such video sites exclusive ADF 11g
    thx
    pp

    Hi,
    You can find more here http://www.oracle.com/technology/products/jdev/tips/fnimphius/index.html at ADF Code Corner Internet TV section.
    Regards,
    Pino

  • Any books for Oracle ADF 11g certification

    Hi,
    I am planning to take oracle ADF certification (Oracle Application Development Framework Certified Implementation ). Any suggestion on books and reading materials?
    Regards,
    Kumar

    There are currently three ADF books:
    The Quick Start Guide to Fusion Development JDeveloper and Oracle ADF - written by me!
    The JDeveloper Handbook - Mills et all
    The Fusion Developer Guide - Nimphius and Munsinger.
    Having been involved in developing the exam, any of the books will help you. If you want to get some practical experience on ADF (which is important for the exam) then we will be announcing a new set of collateral to help you - I will announce this on my blog, hopefully next week. (blogs.oracle.com/grantronald)
    HOpe this helps
    Grant

  • Error while executing the service - The service method not defined error

    Hi,
    I am using Oracle UCM Content server 11g. I have created a custom service using component wizard. I have provided class name and method correct in the service declarations. The method should return manipulated Revision Label value. I am executing the service as a direct service and not subservice from a resource file using the following command.
    <$executeService("servicename")$>
    The serice is getting called but I am getting the following error log
    Event generated by user 'weblogic' at host 'localhost:16200'. Unable to execute service Edit_Revision_Label and function generateRevLabelInfo.
    The service method 'generateRevLabelInfo' is not defined. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,localhost:16200!$!csServiceDataException,Edit_Revision_Label,generateRevLabelInfo!$!csMethodNotDefined,generateRevLabelInfo
    intradoc.common.ServiceException: !csServiceDataException,Edit_Revision_Label,generateRevLabelInfo!$
    *ScriptStack Edit_Revision_Label
    Edit_Revision_Label,dDocName=3:generateRevLabelInfo,dDocName=
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1766)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1716)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3866)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:3861)
    at intradoc.server.ServiceRequestImplementor.executeSafeServiceInNewContext(ServiceRequestImplementor.java:1231)
    at intradoc.server.Service.executeSafeServiceInNewContext(Service.java:3856)
    at intradoc.server.script.ServiceScriptExtensions.evaluateFunction(ServiceScriptExtensions.java:269)
    at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)
    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)
    at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)
    at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
    at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:2007)
    at intradoc.server.Service.buildResponsePage(Service.java:1267)
    at intradoc.server.Service.doResponse(Service.java:2076)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor1173.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: intradoc.data.DataException: !csMethodNotDefined,generateRevLabelInfo
    at intradoc.server.Service.doCodeEx(Service.java:561)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:473)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1323)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3867)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:3862)
    at intradoc.server.ServiceRequestImplementor.executeSafeServiceInNewContext(ServiceRequestImplementor.java:1231)
    at intradoc.server.Service.executeSafeServiceInNewContext(Service.java:3857)
    at intradoc.server.script.ServiceScriptExtensions.evaluateFunction(ServiceScriptExtensions.java:269)
    at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)
    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)
    at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)
    at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
    at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:2007)
    at intradoc.server.Service.buildResponsePage(Service.java:1267)
    at intradoc.server.Service.doResponse(Service.java:2076)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1346)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor1173.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Please let me know the suggestions and the resolution on the above issue
    Thanks in advance,
    Sarang

    Hirva wrote:
    Trying to get access to the sun convergence we get this error
    "Error while executing the service request : : Login to Mail Service failed " after a look around we found out that the problem was that some one had deleted the msg-admin-server user from the ldap.What else was "accidentally" deleted? Do you have audit logging enabled for Directory Server?
    but still doesnt work? where else should we look?Messaging Server also creates a msg-admin group ("cn=Messaging End User Administrators Group") which is used for Directory Server ACI purposes. You can see the entries that Messaging Server added during initial configuration by reviewing the *.ldif files under the following directory (MS7.0 32bit):
    /var/opt/sun/comms/messaging/install/Regards,
    Shane.

  • ADF 11g Context - the pageFlowScope cache is not clearing

    Hi!
    I just noticed one behavior that I find unexplainable to me:
    1. Using ADF Controller
    2. Having one page (p1) on unbounded taskflow and
    3. One bounded taskflow (btf1) with one page and return activity with default property settings.
    Now, entering into bounded taskflow creates "oracle.adf.controller.pageFlowScope.xxxxxxxxxx_y" entries in SessionScope (observable via ADF Data panel when breakpoint is on the page / bounded taskflow).
    The problem is that PageFlowScope of bounded taskflow is not released/cleared from SessionScope on return to parent (unbounded) taskflow. (note: regular return activity is used). Thus, after intensive application usage, the SessionScope is filled with orphaned PageFlowScope entries. Still, the PageFlowScope map (with user defined taskflow paramteres / variables) is emptied on return, but the PageFlowScope object is still preserved.
    Is this a bug or "by design behavior"? In cases ov very long and intensive user activities, I noticed a very long list of orphaned PageFlowScopes which in turn produces memory as well as CPU overhead in managing user session on server. I stress-tested a simple app and performance hit for thousand concurrent users with 300 of taskflow entry-return cycles is significant. Memory rises linearly, but the CPU time is rising exponentially (guessing the searching the large PageFlowScope cache is taking the toll).
    Anyone else had a similar experience? Or explanation? Or pointing out where is possible to find more info on internal ADF Controller design?
    Regards,
    PaKo

    Hi,
    when the pageFlow scope map is preserved on task flow exit then this is a bug. Can you file it ?
    Frank

  • Web service Method not supported

    Hy, i have this serious problem.
    I have any web service method  that in , Visual Composer 7.1, have the suffix "Not supported".
    I don't understand this situation because i can test it on web service navigator with success.
    This is the SOAP request/response from Web service navigator test:
    SOAP request:
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
        <pns:getMaterialDetail xmlns:pns="urn:WsMaterialGetDetailVi">
          <pns:matnr/>
          <pns:werks/>
        </pns:getMaterialDetail>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    SOAP response:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
        <rpl:getMaterialDetailResponse xmlns:rpl="urn:WsMaterialGetDetailVi">
          <rpl:Response xmlns:pns="urn:it.futura.lib.ws">
            <pns:returnCode>3</pns:returnCode>
            <pns:returnCodeDescription>Codice Materiale non fornito</pns:returnCodeDescription>
            <pns:returnCodes xmlns:tns="java:sap/standard" xsi:type="tns:Vector">
              <tns:Vector xsi:type="xs:string">0</tns:Vector>
              <tns:Vector xsi:type="xs:string">0</tns:Vector>
              <tns:Vector xsi:type="xs:string">3</tns:Vector>
            </pns:returnCodes>
            <pns:returnCodesDescription xmlns:tns="java:sap/standard" xsi:type="tns:Vector">
              <tns:Vector xsi:type="xs:string">Environment name found: NVP</tns:Vector>
              <tns:Vector xsi:type="xs:string">Dettagli ambiente trovato: NVP</tns:Vector>
              <tns:Vector xsi:type="xs:string">Codice Materiale non fornito</tns:Vector>
            </pns:returnCodesDescription>
          </rpl:Response>
        </rpl:getMaterialDetailResponse>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Sincerely yours
    Thank's
    Andrea Maraviglia

    Thank's Shay. I'm thinking that the problem is about NWDS for this reason: at the moment i am testing a standard web service present on WAS( http://serverWAS:53000/IciUserService/IciUserConf?wsdl)that with a method ( getAttributes) that return an array of classes on VC and this test is ok.
    So i'm creating an similar web service that return array of classes with my NWDS (vers. 7.0.7..) and wizard but on VC it's don't supported.
    The SOAP Response of standard web service and my web service, have different structure. I'm thinking that the problem is NWDS because the SOAP response is function of the WSDL generated by Wizard on NWDS.
    Thank's in advance.
    Andrea Maraviglia
    Edited by: Andrea Maraviglia on Nov 28, 2008 5:46 PM

  • JSF newbie question - ServletException - Method not found

    I just started learning JSF (and JSP) by following the tutorial:
    JSF for nonbelievers: Clearing the FUD about JSF
    http://www-128.ibm.com/developerworks/library/j-jsf1/
    I'm getting a ServletException and I'm not sure why. Instead of starting the tutorial over, I'd like to learn what I'm doing wrong.
    The exception is:
    exception
    javax.servlet.ServletException: Method not found: [email protected]()
    root cause
    javax.el.MethodNotFoundException: Method not found: [email protected]()In the calculator.jsp page (a simple page with two form fields), I noticed that when I type CalcBean., my IDE (NetBeans) only autocompletes the class variables and neither of the methods (add and multiply). I quickly searched and someone suggested restarting the server. This did not fix my problem. I must be doing something completely wrong or I missed something in the tutorial. If you don't mind, please read the simple files below and see if you can spot anything wrong. Please keep in mind this is my first time using JSF (and JSP for that matter). If you can suggest a better newbie tutorial, please do! Thanks
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
            </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
    </web-app>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
      <managed-bean>
        <description>
                    The "backing file" bean that backs up the calculator webapp
                </description>
        <managed-bean-name>CalcBean</managed-bean-name>
        <managed-bean-class>secondapp.controller.CalcBean</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>
      <navigation-rule>
        <from-view-id>/calculator.jsp</from-view-id>
        <navigation-case>
          <from-outcome>success</from-outcome>
          <to-view-id>/results.jsp</to-view-id>
        </navigation-case>
      </navigation-rule>
    </faces-config>
    secondapp.controller.CalcBean.java
    package secondapp.controller;
    import secondapp.model.Calculator;
    * @author Jonathan
    public class CalcBean {
        private int firstNumber;
        private int secondNumber;
        private int result;
        private Calculator calculator;
        /** Creates a new instance of CalcBean */
        public CalcBean() {
            setFirstNumber(0);
            setSecondNumber(0);
            result = 0;
            setCalculator(new Calculator());
        public String add(int a, int b) {
            result = calculator.add(a,b);
            return "success";
        public String multiply(int a, int b) {
            result = calculator.multiply(a,b);
            return "success";
        // <editor-fold desc=" Accessors/Mutators ">
        public int getFirstNumber() {
            return firstNumber;
        public void setFirstNumber(int firstNumber) {
            this.firstNumber = firstNumber;
        public int getSecondNumber() {
            return secondNumber;
        public void setSecondNumber(int secondNumber) {
            this.secondNumber = secondNumber;
        public int getResult() {
            return result;
        public void setCalculator(Calculator calculator) {
            this.calculator = calculator;
        // </editor-fold>
    secondapp.model.Calculator
    package secondapp.model;
    * @author Jonathan
    public class Calculator {
        /** Creates a new instance of Calculator */
        public Calculator() {
        public int add(int a, int b) {
            return a+b;
        public int multiply(int a, int b) {
            return a*b;
    calculator.jsp
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
        <head><title>Calculator Test</title></head>
        <body bgcolor="white">
            <h2>My Calculator</h2>
            <f:view>
                <h:form id="calcForm">
                    <h:panelGrid columns="3">
                        <h:outputLabel value="First Number" for="firstNumber" />
                        <h:inputText id="firstNumber" value="#{CalcBean.firstNumber}" required="true" />
                        <h:message for="firstNumber" />
                        <h:outputLabel value="Second Number" for="secondNumber" />
                        <h:inputText id="secondNumber" value="#{CalcBean.secondNumber}" required="true" />
                        <h:message for="secondNumber" />
                    </h:panelGrid>
                    <h:panelGroup>
                        <h:commandButton id="submitAdd" action="#{CalcBean.add}" value="Add" />
                        <h:commandButton id="submitMultiply" action="#{CalcBean.multiply}" value="Multiply" />
                    </h:panelGroup>
                </h:form>
            </f:view>
        </body>
    </html>

    In the future, please add some line breaks so I don't have to scroll horizontally to read your post.
    The problem is that the CalcBean.add/.multiply method is requiring two parameters. This method should be parameter-less. When talking about action methods, they should return String and not take any parameters.
    So, remove the parameters. You collect a firstNumber and a secondNumber from the user. These are the numbers you want to add (or multiply). Use those values (instead of the parameters) to calculate the result.
    The code changes aren't too complicated. I'd write them out for you, but you seem interested in learning (which is great by the way!). Let me know if you need more help on this.
    CowKing
    ps - I see more problems with the code, and I haven't given you all the answers. I know, I'm mean. You'll learn better if you try to fix things on your own first. I've just given you enough info to overcome the immediate issue. =)

  • Oracle ADF 11g : Invoke managed bean method on page resize.

    Given the following code:
    <af:clientListener method="getElementWidth"
                                       type="propertyChange"/>
                    <af:serverListener type="customEvent"
                                       method="#{columnSizeBean.handleRequest}"/>Is there a client listener that can be triggered on browser window resize ?
    Something like:
    <af:clientListener method="getElementWidth"
                                       type="[[[[something like a window resize]]]]]]"/>
                    <af:serverListener type="customEvent"
                                       method="#{columnSizeBean.handleRequest}"/>NOTE:
    getElementWidth is a javascript method in my current code, while columnSizeBean is a sessionScope bean that is doing some computations on a table column width.
    Edited by: Andrei C. on May 18, 2010 5:49 AM

    Hi,
    no there is not. However, in this case you can use vanilla JavaScript and register to the browser DOM to receive the event notification. If you rceive the notification you access the server Listener you put on the af:document component. This should work
    Frank

  • 2 or more cascading selectonechoice in Oracle ADF 11g Rel 2

    Hi,
    I want to have 2 (later more) cascading (depending) selectonechoice component.
    The first combobox (partners) will be filled with the result of a SQL view object (PartnerLovView) execution, this query has NO (bind) parameter and only has one primary key as id and a name column (SELECT partnerId, partnerName FROM Partner ORDER BY partnerName).
    The second combobox (partner sites) has empty default value. This combobox will be filled with the result of a SQL view object (PartnerSiteLovView) execution, this query HAS a parameter (p_partnerId) and has one primary key as id, one foreign key for partner (partnerId) and a name column (SELECT partnerSiteId, partnerId, partnerSiteName FROM PartnerSite WHERE partnerId = :p_partnerId ORDER BY partnerSiteName).
    I can't achieve to bind the two comboboxes. I've dropped from the AppModuleDataControl the PartnerLovView1 to the JSF page as "Single Selection --> ADF Select One Choice... and also dropped the PartnerSiteLovView1 as same (this combo depends on the first combo selected value).
    In this case I get error something like: IN, OUT parameter missing, what is true because select need the parameter value. But how to bind it?
    I've set the autoSubmit to true for the first combo and partialTrigger property to the first combo id of the second combo.
    If a modify the (depending) second SQL and removed the paramter from base query and added a view criteria, this combo will filled but no reaction if I submit the first combo.
    How and where to bind the first combo selected value to the second combo?

    Hi Shay,
    thank You for your answer.
    The first solution doesn't meet my use case: I have two (later more for addinitonal) separate queries. No join.
    Second solution: can You give me some concrete source code? In the valuechangeListener I always got the label of the selected value not the real value (id). I've followed Your code with [getting value|https://blogs.oracle.com/shay/entry/getting_the_value_from_a_selec].
    Later I will be use more dependent comboboxes, this combos will prefilter a tree, and the tree will prefilter a table. Please send me (throw email) your contact too, because I need somebody who can help me, and maybe I send you my project use cases.
    Thanks
    Bye

  • Master Detail Screen in Oracle ADF 11g

    Hi Gurus,
    I am facing an issue with the master detail page. The page is meant for entring master detial information. The page has two view objects based on entity objects which are based upon the master and detail tables.
    I am using the Jdeveloper version 11.1.2.3.0 ( Jdeveloper 11g release 2). on Windows 7 on the embedded weblogic server ( included in the jdeveloper).
    Structure of Master and Detail Table are
    Master (pk1,attr1,attr2);
    Detail (pk1,pk2,attr1,attr2);
    The detail table is having a composite primary key in which pk1 is a foreign key and pk2 is incremented for each pk1, hence the value is like (1,1), (1,2),(1,3) ... etc.
    Now i have created a create insert operation in the page from the detail view object. And for generating the new pk2 value in the detail row i have written the logic in the doDML() method of the detail entity object.
        protected void doDML(int operation, TransactionEvent e) {
            System.out.println(operation);
            if (operation == DML_INSERT) {
                    DBTransaction trans = getDBTransaction();
                    String sql = "select max(nvl(pk2,0))+1 from xyz_detail where pk1="+this.getPk1().toString();
                    System.out.println(sql);
                    PreparedStatement pstmt =trans.createPreparedStatement(sql,0);
                    try{
                    ResultSet rs = pstmt.executeQuery();
                        rs.next();
                        System.out.println(rs.getString(1));
                        this.setPk2(rs.getString(1));
                        rs.close();
                    } catch (SQLException excp){
                            this.setPk2("Error");
                            System.out.println("Inside exception");
                        excp.printStackTrace();
            super.doDML(operation, e);
        }Now , when i am creating a single record and commiting the transaction the value of the pk2 in detail is generated and saved properly, how ever when i am generating multiple rows at once and then commitng the transaction noting is being done, neither the value of pk2 is being generated nor the rows afre commited please guide me accordingly.
    May be the answer of this question be in the behaviour of DBTransation , i am creating multiple rows and the calling the #{bindings.commit.execute} , what is the behaviuor of this commit, i think it should commit all the uncommited work, and apart from this as the logic is written in the doDML() method it must fire for every row of data created in detail once.
    Please Guide me accordingly.

    Hi,
    try these ways: override a create method in the Entity or use a groovy expression for default value of the attribute
    this post uses a sequence but it's the same
    http://one-size-doesnt-fit-all.blogspot.com.es/2009/03/adf-bc-using-groovy-to-fetch-sequence.html

  • Oracle ADF 11G R1 and Internet Explorer 11 Support

    Hello,
    I need to write my own post even if issue is written on this thread (https://forum.java.sun.com/thread/2602720) Because i suppose that post writer reached to his useful workaround  and no activity seems for a couple of months.
    Use 11.1.1.6 and Win8.1 IE11
    I did not find any solution or workaround which runs properly. Any comments are welcome.
    merry christmast

    The reason for this is that there is no solution at the moment. Oracle is working on one. Also check https://groups.google.com/forum/m/#!msg/adf-methodology/NP4g98AvrCw/uYf_cvDna_0J
    To my knowledge you have to open a SR with support.oracle.com and ask them for help to get the back port of the solution once it's ready.
    If you have a support contract you'll find a note for IE11 THERE too.
    Timo

  • Implement Search Engine in Oracle ADF 11g

    Hi All,
    I am using Oracle jDev 11.1.1.5.0
    I want to implement Search Engine within my application.
    User of my application will search for anything which is very related to my application only.
    User can't use it like Google/Yahoo/..etc.
    He/She can only search for the things which are stored in my Database only.
    Is it possible?
    If yes, then how should I proceed?
    Appreciate your help.
    Thanks and Regards,
    Madhav K
    Edited by: Madhav on Mar 9, 2012 3:59 AM
    Edited by: Madhav on Mar 9, 2012 4:33 AM

    Hi Navneeth,
    Thanks for your reply.
    I heard about this for the first time from you. I read about this on Google.
    I think this is a new separate big software.
    Can you please look at this,
    http://docs.oracle.com/cd/E10502_01/doc/install.1018/e10464.pdf
    and tell me is this the one which you are talking about?
    Is there any other way to implement search engine within my application?
    Bacause I think this software is a very big software.
    Thanks and Regards,
    Madhav K.

  • Disabling tooltip in Oracle ADF 11g

    Dear All,
    Is there anyway to disable the Tooltip for the Application globally . As of now, we have this "shortDesc" attribute defined in all our component.
    Thanks in advance.
    Regards
    Deivee

    Hi Navneeth,
    Thanks for your reply.
    I heard about this for the first time from you. I read about this on Google.
    I think this is a new separate big software.
    Can you please look at this,
    http://docs.oracle.com/cd/E10502_01/doc/install.1018/e10464.pdf
    and tell me is this the one which you are talking about?
    Is there any other way to implement search engine within my application?
    Bacause I think this software is a very big software.
    Thanks and Regards,
    Madhav K.

Maybe you are looking for

  • How to set an attribute of a HTML tag with a value in the Servlet

    I have a HTML page and a Servlet. The HTML page sends a request to the Servlet. The Servlet has to read the contents of the HTML page. When the Servlet encounters the body tag it should set the bgcolor attribute of the body tag with a string(For eg.a

  • Premiere Element 9 Project-settings...

    Hello everyone, I have some trouble with the project settings ( I hope its the right term, because my programm is in German). I don't know which setting to use with my video files captured with fraps. Video clip details: 1600*838 29 fps .avi bit rate

  • CRM Business Object BUS1006005 Not Showing In LSMW Object List

    I am trying to use Bus. Object BUS1006005 in an LSMW using BAPI.  I noticed that I need to generate an ALE interface for the object before LSMW can use it.. Can someone please help me with this?  When I drop-down on Business Object in LSMW Attributes

  • Problems with "corrupt" ipod when trying to sync

    To elaborate on the title Ever since downloading itune version 11 (and something) I've had a complete nightmare. Kept getting lots of technical warnings that I didn't understand. After reading lots of websites etc of people with same problem, I ended

  • Character Shading Error Message

    I use Pages merely to open Word documents. I bought the version which allows me to download iWorks to 4 family computers. It is v2.0.2 and I have no desire to upgrade to v3. From the beginning, and still today, I get an error message saying "Import w