BPEL invokation error from ADF

Hi All,
JDev Version: 11.1.1.3.0
Currently in my application through ADF apps i am invoking BPEL service upon cliking of 'Submit' Button, so that BPEL service will be invoked and it procees. Now getting error as mentioned below.
Any input please??
<Aug 2, 2012 9:42:53 AM CEST> <Error> <oracle.adf.model.connection.webservice> <BEA-000000> <Failed to execute a SAAJ interaction.
javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
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.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.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231)
at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
Thanks,
Santosh

Hi Frank,
When I deploy the library along with the consuming app it works fine. Is this the best practice when dealing with multiple resuable libs?
Thanks,
Dipal

Similar Messages

  • Duplicate class definition error while invoking EJB from ADF project

    Hi,
    I am using Jdeveloper TP3 and facing the following problem.
    I have built an EJB project and am ran them successfully in the embedded OC4J via a standalone java program.
    Now I created another project with ADF capabilities and when I tried to ping the EJB i get the following exception
    The application named, current-workspace-app, could not start due to an error.
    duplicate class definition: javax/faces/context/FacesContextFactory Invalid class: javax.faces.context.FacesContextFactory Loader
    This is happenning due to class conflicts between javaee.jar and trinidad-impl.jar/adf-richclient-impl.jar.
    Is there any way of bypassing this class loader issue?

    Hi,
    actually I didn' try the JNDI lookup but used resource injection instead
    In a JSF managed bean I use
    @EJB Ejb30SessionFacadeLocal myLocalInterface;
    public SortableModel getTableModel() {
    List rows = new ArrayList<Employees>();
    rows = myLocalInterface.queryEmployeesFindAll();
    this.tableModel = new SortableModel(rows);
    return tableModel;
    Its a EJB 3.0 session bean that accesses a Local interface. However, if the remote is on the same server then I would think that using @EJB Ejb30SessionFacadeRemote myRemoteInterface; does similar
    Frank

  • ERROR: Invoking BPEL PROCESS FROM ADF APP

    hi guys ,
    I have made a simple bpel process with invokes a webservice (This service only gets a string and returns the string).
    I have tested this bpel process and web service it works fine. when tested with bpel console.
    I copied the wsdl of bpel and created the datacontrol.
    the problem is that when i hit start the process from ADF App. it raises the error
    Sep 7, 2009 1:24:49 PM oracle.wsm.common.logging.WsmMessageLogger logSevere
    SEVERE: Failure in looking up EJB component PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote.
    Sep 7, 2009 1:24:49 PM oracle.wsm.common.logging.WsmMessageLogger logSevere
    SEVERE: Failure in looking up EJB component PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote.
    Sep 7, 2009 1:24:49 PM oracle.adf.model.connection.webservice.impl.WebServiceConnectionMessages debugExecuteFailure
    SEVERE: Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: oracle.fabric.common.PolicyEnforcementException
         at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:741)
         at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:226)
         at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:97)
         at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:87)
         at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:323)
         at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:251)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:427)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:464)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:217)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         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:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.fabric.common.PolicyEnforcementException
         at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:161)
         at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:97)
         at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:216)
         at oracle.j2ee.ws.client.mgmt.runtime.SuperClientInterceptorPipeline.handleRequest(SuperClientInterceptorPipeline.java:96)
         at oracle.j2ee.ws.client.jaxws.DispatchImpl.handleRequest(DispatchImpl.java:524)
         at oracle.j2ee.ws.client.jaxws.DispatchImpl.handleRequest(DispatchImpl.java:508)
         at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:693)
         ... 64 more
    Caused by: java.lang.NullPointerException
         at oracle.j2ee.ws.rm.interceptor.WSRMClientInterceptor.processRequest(WSRMClientInterceptor.java:169)
         at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:89)
         ... 69 more
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xmlns.oracle.com/SOAApp1/Project1/BPELProcess1"><env:Header/><env:Body><ns1:process><ns1:input>Shakeel Anjum</ns1:input></ns1:process></env:Body></env:Envelope>
    Kindly help
    Regards,
    Tariq

    Hi,
      Check if your wsdl endpoint can accessed properly. If yes, check the soap-binding address is properly pointing to the server hosting the webservice.
    Regards,
    Harikiran.

  • Error While invoking BPEL Service from ADF Page

    Hi All,
    JDev Version: 11.1.1.3.0
    Currently in my application through ADF apps i am invoking BPEL service upon cliking of 'Submit' Button, so that BPEL service will be invoked and it procees
    But now its throwing below error,
    Any suggestion please????
    <Aug 2, 2012 9:42:53 AM CEST> <Error> <oracle.adf.model.connection.webservice> <BEA-000000> <Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
    at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
    at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
    at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
    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.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.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
    at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231)
    at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
    at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
    at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
    at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
    at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
    at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
    at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
    at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
    at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    Thanks,
    Santosh M E

    >
    Any suggestion please????
    <Aug 2, 2012 9:42:53 AM CEST> <Error> <oracle.adf.model.connection.webservice> <BEA-000000> <Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection resetAre you having network issues? The SOAP request could not be completed.

  • Invoking BPEL process from ADF application - webservice connection failed

    Hi,
    I am trying to invoke a Bpel process from ADF page , I deployed the same in Standalone SOA server since I had to display some Human Task Forms.
    I created a webservice data control out of the bpel process and dropped the process method in my page.
    The page on which I dropped the process method stopped rendering and I checked the logs and found that I got the error mesage- webservice connection failed,the webservice url could not be reached and in the logs it also asks us to check if the connections.xml is available in the meta-inf directory. I checked the conections.xml is available in the EAR.
    So any pointers here and any one faced this error anytime?
    is there better ways to invoke the bpel flow from ADF page.
    Thanks,
    Robin

    Hi,
      Check if your wsdl endpoint can accessed properly. If yes, check the soap-binding address is properly pointing to the server hosting the webservice.
    Regards,
    Harikiran.

  • Invoking BPEL process from ADF...

    All,
    I have deployed one BPEL process and invoking the same process from ADF test page. I created one Webservice Data Control for this process and did drag and drop to ADF page. It is working fine as expected.
    When I created data control, I gave the web service URL as "http://<hostname>:<port>/orabpel/default/<processname>/.......<processname>.wsdl
    My question is, if I want to deploy this BPEL process as well as this ADF page into another server, what will happen to this ADF data control ? since the hostname and port will not be similar for the new server. Do I need to change any params ?
    Or when we create data control itself, are there any options to achieve this ?
    Please let me know the details.
    TIA,
    -- prabaa !

    Hi,
      Check if your wsdl endpoint can accessed properly. If yes, check the soap-binding address is properly pointing to the server hosting the webservice.
    Regards,
    Harikiran.

  • Error when invoking request from BPEL to SAP

    Hi
    I have problem when invoking request from BPEL project to SAP R/3.
    I use Oracle SOA Suite 10.1.3.1 and Oracle AS Adapter 10.1.3.1. I created BPEL project that call SAP service that I have created from Application Explorer. When I run The BPEL project, there is an error shown as below:
    <messages><input><Invoke_1_GetGLAccountBalance_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="input_GetGLAccountBalance"><GeneralLedger.GetGLAccountBalance xmlns="urn:sap-com:document:sap:business:Request">
    <COMPANYCODE>10</COMPANYCODE>
    <CURRENCYTYPE>10</CURRENCYTYPE>
    <FISCALYEAR>2007</FISCALYEAR>
    <GLACCT>61001010</GLACCT>
    </GeneralLedger.GetGLAccountBalance>
    </part></Invoke_1_GetGLAccountBalance_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>http://127.0.0.1:7777/orainfra/wsil/adapters/applications/GetGLAccountBalance.wsdl?wsdl [ GetGLAccountBalancePortType::GetGLAccountBalance(input_GetGLAccountBalance,output_GetGLAccountBalance) ] - WSIF JCA Execute of operation 'GetGLAccountBalance' failed due to: Error in processing the input document.; nested exception is:
         javax.resource.ResourceException: Error in processing the input document.</summary>
    </part><part name="detail"><detail>javax.resource.ResourceException: Error in processing the input document.</detail>
    </part></bindingFault></fault></messages>
    Anyone who know the reason, please give me some advice.
    Thank you in advance

    Hi,
    Please check the Logical system,Business system, configurations ,please see the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    Regards
    Chilla..

  • When i start new task from adf 12.1.3, i receive error.

    Hi,
    When i start new task from adf 12.1.3, i receive error.
    ".... Caused by: java.lang.IllegalStateException: Invalid SCAEntityId "-1". ..."
    How to fix it?
    Thanks.

    When call create instance, receive error
    String task = ims.createProcessInstance(ibpmContext,  pms.getCompositeDN()+"/"+pms.getProcessName());
    ------error------------------------
    BPM-70204
    Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process default/HelloWorldProject!1.0*soa_39bf35b3-5d40-4af1-b3cc-54e170a8be1f/HelloWorldProcess.
    exception.70204.fix: Verify server log to find the problem cause.
        at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:258)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:474)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:285)
        at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_12130_WLStub.createProcessInstance(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
        at com.sun.proxy.$Proxy520.createProcessInstance(Unknown Source)
        at view.beans.BPMTaskManagement.initiateBpmTask(BPMTaskManagement.java:75)
        at view.beans.AssignedTasksHelper.startNewProcess(AssignedTasksHelper.java:41)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
        at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
        at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
        at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
        at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1113)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
        at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
        at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    Caused by: java.lang.IllegalStateException: Invalid SCAEntityId "-1".
        at oracle.bpm.bpmn.engine.ejb.impl.BPMNInstanceManagerBean.createComponentInstance(BPMNInstanceManagerBean.java:242)
        at oracle.bpm.bpmn.engine.ejb.impl.BPMNInstanceManagerBean_j9rppc_IBPMNCubeInstanceManagerLocalBeanImpl.__WL_invoke(Unknown Source)
        at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
        at oracle.bpm.bpmn.engine.ejb.impl.BPMNInstanceManagerBean_j9rppc_IBPMNCubeInstanceManagerLocalBeanImpl.createComponentInstance(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
        at com.sun.proxy.$Proxy333.createComponentInstance(Unknown Source)
        at oracle.bpm.services.instancemanagement.impl.InstanceManagementService.createProcessInstance(InstanceManagementService.java:194)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:114)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy343.createProcessInstance(Unknown Source)
        at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean.createProcessInstance(InstanceManagementServiceBean.java:103)
        at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl.__WL_invoke(Unknown Source)
        at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:34)
        at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl.createProcessInstance(Unknown Source)
        at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_WLSkel.invoke(Unknown Source)
        at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:226)

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • I tried to invoke WS from BPEL process

    I tried to invoke WS from BPEL process. And error occurred when I deployed the process.
    Error:
    [ERROR ORABPEL-10902]: COMPILING FAILED.
    [NOTE]: IN "bpel.xml", XML syntax analysis failed. The reason is "Part Element not defined".
    In "http://192.168.0.188:8989/newTest-newTest-context-root/MyorderListWS?wsdl" , Message Part Element "{http://www.w3.org/2001/XMLSchema}any" is not defined in any SCHEMA&#12290;
    Please make sure to spell the definite name of the ELEMENT correctly and import WSDL completely.
    wsdl file(IMyorderListWS.wsdl)
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by the Oracle JDeveloper 10g Web Services WSDL Generator-->
    <!--Date Created: Thu Sep 29 17:00:15 CST 2005-->
    <definitions
    name="MyorderListWS"
    targetNamespace="http://zbht/com/orderList.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://zbht/com/orderList.wsdl"
    xmlns:ns1="http://zbht.com/IMyorderListWS.xsd">
    <types>
    <schema
    targetNamespace="http://zbht.com/IMyorderListWS.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"/>
    </types>
    <message name="getResInfo0Request">
    <part name="custID" type="xsd:string"/>
    <part name="prodctID" type="xsd:string"/>
    </message>
    <message name="getResInfo0Response">
    <part name="return" element="xsd:any"/>
    </message>
    <portType name="orderListPortType">
    <operation name="getResInfo">
    <input name="getResInfo0Request" message="tns:getResInfo0Request"/>
    <output name="getResInfo0Response" message="tns:getResInfo0Response"/>
    </operation>
    </portType>
    <binding name="orderListBinding" type="tns:orderListPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getResInfo">
    <soap:operation soapAction="" style="rpc"/>
    <input name="getResInfo0Request">
    <soap:body use="encoded" namespace="MyorderListWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output name="getResInfo0Response">
    <soap:body use="literal" namespace="MyorderListWS"/>
    </output>
    </operation>
    </binding>
    <service name="MyorderListWS">
    <port name="orderListPort" binding="tns:orderListBinding">
    <soap:address location="http://192.168.0.188:8989/newTest-newTest-context-root/MyorderListWS"/>
    </port>
    </service>
    </definitions>
    /*****************************************************************************************/

    In your wsdl ...
    instead of
    <part name="custID" type="xsd:string"/>
    try
    <part name="custID" element="xsd:string"/>
    the part is usually an element such as
    <element name="BPELProcess1ProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    hth clemens

  • Web service Invocation from ADF mobile app errors

    Mobile App Gurus,
    The webservice when invoked from ADF web app is working fine but, when invoked from Mobile APP errors in emulator with as below...
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.SSOAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_retrieveAuthenticationContext
    ( 1096): Authentication context for the key appsnet5login.sysadmin retrieved from the credential store is : null
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.BasicAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_doInBackground( 1096): Invalid Authentication URL.
    Please can you let me know if I am missing some step in ADF Mobile App framework.
    Thanks,
    Shreedhar
    Edited by: sh**** on Apr 22, 2013 5:11 AM
    Edited by: sh**** on Apr 22, 2013 6:50 AM

    I don't know if you fixed it already by this time or not. But here is my findings anyway, to be able to inject the security header correctly in any SOA Gateway service, you need to have your Mobile Application Secured, meaning that there is a prompt for username/password when you open it.
    Then you will have to make a Proxy service for the webservice you are using from apps. And you must create it with a SOAP Handler also and write below sample code in the handler to inject the security header in the SOAP call. At last, you are going to deploy this proxy service to your Application Server.
    These steps were taken on a Glassfish server not Weblogic. I think there is an easy way for this if you are using Weblogic..
    Sample handler is below:
    package com.mobile.xxsoap;
    import java.util.HashSet;
    import java.util.Set;
    import javax.xml.namespace.QName;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPFactory;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    public class CustomSOAPHandler implements SOAPHandler<SOAPMessageContext> {
        private static final String AUTH_PREFIX = "wsse";
        private static final String AUTH_NS =
            "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
        public boolean handleMessage(SOAPMessageContext context) {
            try {
                SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
                SOAPFactory soapFactory = SOAPFactory.newInstance();
                SOAPElement wsSecHeaderElm = soapFactory.createElement("Security", AUTH_PREFIX, AUTH_NS);   
                SOAPElement userNameTokenElm = soapFactory.createElement("UsernameToken", AUTH_PREFIX, AUTH_NS);
                SOAPElement userNameElm = soapFactory.createElement("Username", AUTH_PREFIX, AUTH_NS);
                userNameElm.addTextNode("redsam");
                SOAPElement passwdElm = soapFactory.createElement("Password", AUTH_PREFIX, AUTH_NS);
                Name passwdTypeAttr = soapFactory.createName("Type");
                passwdElm.addAttribute(passwdTypeAttr,
                                       "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
                passwdElm.addTextNode("123456");
                userNameTokenElm.addChildElement(userNameElm);
                userNameTokenElm.addChildElement(passwdElm);
                wsSecHeaderElm.addChildElement(userNameTokenElm);
            } catch (Throwable e) {
                e.printStackTrace();
            return true;
        public Set<QName> getHeaders() {
            return new HashSet<QName>();
        public boolean handleFault(SOAPMessageContext messageContext) {
            return true;
        public void close(MessageContext context) {
    I hope it is clear now...
    Regards,
    Mohamed

  • BPEL invoke Webserivce Transport can not be determined from uri REPLACE_WI

    Hi,
    I am in the process of migrating BPEL 10.1.3.4 to SOA 11.1.1.5.0. I am seeing problems with bpel invoking the webservice. Webservice is available and I could test with the test option in EM successfully. But when I tried to bring up the BPEL process which invokes the webservice, i get the following error.
    <Jan 29, 2012 5:12:41 PM EST> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000> <got FabricInvocationException
    java.lang.IllegalArgumentException: Transport can not be determined from uri REPLACE_WITH_ACTUAL_URL
    at oracle.j2ee.ws.common.transport.TransportFactory.getTransport(TransportFactory.java:48)
    at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:63)
    at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
    at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
    at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273)
    at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:793)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.jav
    a:235)
    I don't have this problem with different webservice and bpel processes. All the webservices were upgraded to 11g using Jdeveloper's Upgrade 10.1.3.4 JAX-RPC to 11g option.
    Would appreicate if any help on this.
    thanks
    Kanchana

    Hi
    Please refer the below blog,this may resolve your problem.
    http://albinoraclesoa.blogspot.com/2011/11/oracle-soa-suite-10g-to-11g-migration_9478.html
    Regards
    Albin I

  • Invoking operations from a jsp correlation error

    Hi, I’m a student in Informatics at the University of Turin (Italy).
    On December I’m graduating and so I’m finishing my stage about web services and BPEL, that actually is the object of my thesis.
    To realize my stage I’ve used the Oracle BPEL Process Manager and I’ve created an asynchronous process whose port types are the following.
    <!-- portType implemented by the NewYorkPrenotazione BPEL process -->
    <portType name="NewYorkPrenotazione">
    <operation name="initiate">
    <input message="tns:NewYorkPrenotazioneRequestMessage"/>
    </operation>
    <operation name="complete">
    <input message="tns:DatiUtenteMessage"/>
    </operation>
    </portType>
    <!-- portType implemented by the requester of NewYorkPrenotazione BPEL process for asynchronous callback purposes -->
    <portType name="NewYorkPrenotazioneCallback">
    <operation name="onResult">
    <input message="tns:NewYorkPrenotazioneResponseMessage"/>
    </operation>
    </portType>
    My problem is very simple. If I invoke my process from the BPEL console and then complete it with the “complete” operation (always from the console), everything goes right and the process completes successfully.
    Instead, if I want to invoke and complete my process by jsps it doesn’t work because of correlation problems. To invoke it from my jsp I use the instruction
    deliveryService.post("NewYorkPrenotazione", "initiate", nm);
    and that’s ok, but after that I can’t invoke the second operation, “complete”, from another jsp using the same signature, because the server can’t find the right instance of my process since I’m indicating only the processId while it needs the instance id.
    The top of the stack is the following.
    500 Internal Server Error
    java.rmi.RemoteException: Correlation definition not registered.
    The correlation set definition for operation "complete", process "NewYorkPrenotazione", has not been registered with the process domain.
    Please try to redeploy your process to the process domain.
         at com.oracle.bpel.client.dispatch.BaseDispatcherService.continuePostAnyType(BaseDispatcherService.java:727)
         at com.oracle.bpel.client.dispatch.BaseDispatcherService.continuePost(BaseDispatcherService.java:646)
         at com.oracle.bpel.client.dispatch.BaseDispatcherService.post(BaseDispatcherService.java:238)
         at com.oracle.bpel.client.dispatch.DispatcherService.post(DispatcherService.java:66)
         at com.oracle.bpel.client.dispatch.DeliveryService.post(DeliveryService.java:173)
         at com.oracle.bpel.client.dispatch.DeliveryService.post(DeliveryService.java:132)
         at concludiNYPreno.jspService(_concludiNYPreno.java:91)
         [SRC:/concludiNYPreno.jsp:56]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    etc..
    How can I resolve my correlation problem?
    If I can find the solution I could finish my stage and this would be great for me.
    If I haven’t been clear enough just tell me.
    Thanks in advance.
    Jessica

    Sorry, but I think there are problems with copy and paste, 'cause I can see that in my preview.
    well, this is my first jsp which invokes the first operation.
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    <html> .....
    <body>
    <%
    // Estrazione dei campi della form
    String dataPartenza = request.getParameter("dataPartenza");
    String dataRitorno = request.getParameter("dataRitorno");
    String nroPersone = request.getParameter("nroPersone");
    String cameraSingola = request.getParameter("cameraSingola");
         String cameraDoppia = request.getParameter("cameraDoppia");
         String cameraMatrimoniale = request.getParameter("cameraMatrimoniale");
         String tipologia = request.getParameter("tipologia");
         String aereoporto = request.getParameter("aereoporto");
         String compagnia = request.getParameter("compagnia");
         String assicurazione = request.getParameter("assicurazione");
         String noleggioAuto = request.getParameter("noleggioAuto");
         String statuaLiberta = request.getParameter("statuaLiberta");
         String manhattan = request.getParameter("manhattan");
         String musei = request.getParameter("musei");
         // Creazione del documeto XML da inviare al processo BPEL
         String xml = "<NewYorkPrenotazioneRequest xmlns=\"http://tutorial.oracle.com\">"
              + "<dettagliViaggio>"
              + "<dataPartenza>" + dataPartenza + "</dataPartenza>"
              + "<dataRitorno>" + dataRitorno + "</dataRitorno>"
              + "<nroPersone>" + nroPersone + "</nroPersone>"      
              + "</dettagliViaggio>"
              + "<dettagliHotel>"..........................
              + "</dettagliHotel>"
              + "<dettagliVolo>"................
              + "</dettagliVolo>"
              + "<dettagliGite>"........
         + "</dettagliGite>"          
              + "<prezzoTotale/>"          
              + "</NewYorkPrenotazioneRequest>";
         // Connessione al server BPEL Oracle
         Locator locator = new Locator("default","bpel");
         IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Creazione di un messaggio normalizzato e invio all'Oracle BPEL Process Manager
         NormalizedMessage nm = new NormalizedMessage();
         nm.addPart("payload", xml);
         // Inizializzazione del processo NewYorkPrenotazione
         deliveryService.post("NewYorkPrenotazione", "initiate", nm);
    %>
    </body>
    </html>
    and then this is my second jsp that should invoke the operation complete but.. instead, gives the 500 error
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    <html>..........
    <body>
    <%
         // Estrazione dei campi della form
         String nome = request.getParameter("nome");
         String cognome = request.getParameter("cognome");
         String via = request.getParameter("via");
         String numero = request.getParameter("numero");
         String citta = request.getParameter("citta");
         String provincia = request.getParameter("provincia");
         String cap = request.getParameter("cap");
         String stato = request.getParameter("stato");
         String numeroCC = request.getParameter("numeroCC");
         String scadenza = request.getParameter("scadenza");
         // Creazione del documeto XML da inviare al processo BPEL
         String xml = "<DatiUtente xmlns=\"http://tutorial.oracle.com\">"
              + "<cognome>" + cognome + "</cognome>"
              + "<nome>" + nome + "</nome>"
              + "<indirizzo>"................
              + "</indirizzo>"
              + "<cartaCredito>"
              + "<numero xmlns=\"http://definizioni.com\">" + numeroCC + "</numero>"
              + "<scadenza xmlns=\"http://definizioni.com\">" + scadenza + "</scadenza>"
              + "</cartaCredito>"
              + "</DatiUtente>";
         // Connessione al server BPEL Oracle
         Locator locator = new Locator("default","bpel");
         IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
         // Creazione di un messaggio normalizzato e invio all'Oracle BPEL Process Manager
         NormalizedMessage nm = new NormalizedMessage();
         nm.addPart("payload", xml);
         // Invocazione dell'operazione complete del processo NewYorkPrenotazione
         deliveryService.post("NewYorkPrenotazione", "complete", nm);
    %>
    </body>
    </html>
    Now that you can see my code, have I to add the instructions you wrote?
    Thank you very much for your help!
    Jessica

  • Propagation of Credentials from ADF Pages to BPEL

    It is easy and straightforward to call web services from ADF pages. But I am a bit confused about the security issues around use of BPEL and OWSM with ADF.
    Suppose that I have authenticated against an LDAP to access an ADF page and the page make calls to a BPEL process through a button. As far as I know I should implement security in the web services through OWSM and in this case I can attach an agent to the web service to authenticate against LDAP. (or verify a SAML token)
    Problem: I can't pass credentials to the process from the page. the web service does not receive any SAML token, user name or pass word to authenticate.
    Also please read this for another view of the same problem:
    Security of Web Services, Agents and Sequantial Calling of Web Services
    How can I pass the SAML tokens(propagate identity) along the business process. If I insert SAML token as part of the agent's response steps, the response is not actually passed to the next service but the BPEL. Will the next service receive the SAML token?
    I really appreciate any comments and hints.
    Best Regards,
    Farbod

    Can message handler framework in BPEL Security extension help for this? Does enabling domain and process level security do the trick?
    Regards
    Farbod

  • How to invoke a popup programatically from adf region

    Hi All,
    I have included a task flow as a region in my home.jspx page .
    My taskflow contains a assets,jsff page where on save button click i want to show some popup message programatically
    i mean i want to invoke showpoup code in my save action listener .
    I got some code snippet but this is working only incase if popup is invoked from jspx .
    public static void invokePopup(String popupId, String align,
    String alignId) {
    if (popupId != null) {
    ExtendedRenderKitService service =
    Service.getRenderKitService(FacesContext.getCurrentInstance(),
    ExtendedRenderKitService.class);
    StringBuffer showPopup = new StringBuffer();
    showPopup.append("var hints = new Object();");
    //Add hints only if specified - see javadoc for AdfRichPopup js for details on valid values and behavior
    if (align != null && alignId != null) {
    showPopup.append("hints[AdfRichPopup.HINT_ALIGN] = " + align +
    showPopup.append("hints[AdfRichPopup.HINT_ALIGN_ID] ='" +
    alignId + "';");
    showPopup.append("var popupObj=AdfPage.PAGE.findComponent('" +
    popupId +
    "'); if (popupObj) popupObj.show(hints);");
    service.addScript(FacesContext.getCurrentInstance(),
    showPopup.toString());
    *************************************************8
    Please let me know what changes i need to do inorder to call thid popup invoke method from jsff.
    Thanks with regards ,
    Arun.

    Hello lucbors, This problem sounds like one I am trying to solve as well.
    I have a popup on my jspx page that I want to call from the bean for my jsff.
    My problem is in the step "get a hold on to a rich popup instance, which you can do by referencing a JSF component binding"
    I cannot seem to find the instance of that popup.
    The popup is a property in a managed bean that is registered in the adfc-config as session scope. I found another thread that said to
        //EmployerBean is the name of the managed bean for my jspx
        //  this code is in an event handler in GipsBean, the backing bean for my jsff
        HttpSession session = (HttpSession)context.getExternalContext().getSession(true);
        EmployerBean employerBeanInstance = (EmployerBean) session.getAttribute("EmployerBean");
        if(employerBeanInstance == null)
          employerBeanInstance = new EmployerBean();
          session.setAttribute("EmployerBean", employerBeanInstance);
        }Can you offer some insight? I am new to ADF, so my approach may be very wrong.
    Thanks

Maybe you are looking for