Dynamic Operation in Invoke activity

Hi All,
We have developed a java webservice name (ShippingUtil), In this we have exposed a number of methods like
1) UpdateShipmentDetails
2) FetchShipmentDetails
3) IsValidShipment
now out of these IsValidShipment and FetchShipmentDetails both expect ShipmentId as payload.
Our requirement is such that we want to call both of them using the same invoke activity.
Currently when we call the ShippingUtil service using invoke activity we need to select one of the exposed methods. So my question is that Is there a way so that we need not define the process in invoke activity at design time, rather we should be able to call any one of the methods based on certain parameter at runtime.For this we do not want to use a switch case. Please point me to any information for this scenario.
Thanks in advance.
Ankit

On second thought perhaps a better approach to sending 2 different inputs would be to define a parent input message format that contains both the input messages within, something like below and populate the right part depending on which partner link you want to invoke.
<element name="loanApplication" type="s1:LoanApplicationType"/>
<complexType name="LoanApplicationType">
<choice minOccurs="1" maxOccurs="1">
<element name="AmericanLoanApplication" type="s1:AmLoanApplicationType"/>
<element name="StarLoanApplication" type="s1:StarLoanApplicationType"/>
</choice>
</complexType>
Of course, in your soap bindings you would need to bind the rights parts of the parent message to the right operation.
HTH,
Nilanshu.

Similar Messages

  • Wanted to see the complete URL in Invoke activity dynamically

    Hi
    In BPEL instance that exists in em , Is there any possibility to see the complete URL for an Invoke activity which url it is hitting dynamically ?
    I have a cluster environment (001, 002) for an webservice , i am giving the load balancing URL, every thing works fine , but not able to see/ensure which exact server's URL being hit dynamically from invoke activity of BPEL.
    Is there a possibility to see the URL in BPEL instance like audit, flow,.. enabling any of the logging etc etc...
    Regards,
    Rajiv S

    Hi,
    I might be wrong but I don't think that the BPEL is aware of the URL of the endpoint choosen by the load-balancer (That is the purpose of the load-balancer).
    So I would advise you to check the load-balancer monitoring to know (or add a data in the response that let you identify the endpoint reached ?).
    regards,
    mathieu

  • Invoke Activity with updateTask

    Hi, In 10.1.3.3, we are trying to update the payload and various task information(title, assignee) for an active task. We are trying to do this with an Invoke Activity using a Partner Link of TaskService and an Operation of updateTask, but no luck. Has anyone successfully used updateTask in 10.1.3.3 and, if so, how? Perhaps are Assign Activitiy is not initializing the Input Variable correctly? Maybe this isn't the way to go to update an active task?
    Thank you,
    Mike

    Hi Mike,
    We are trying to do this with an Invoke Activity using a Partner Link of TaskService and an Operation of updateTask
    can you please explain Partner Link of TaskService and an Operation of updateTask...????

  • Problem while using receive after invoke activity

    Hi,i have got a problem while using a receive activity,after a invoke activity.The invoke acivity seems that does not work and also the debugger runs forever....But if i remove the receive activity,the invoke activity works fine.
    <h2>The output of GlassfishV2 is:<h2>
    This is from the exception block.
    com.sun.bpel.model.meta.impl.RInvokeImpl@f590c6={<?xml version="1.0" encoding="utf-8" ?>
    *<invoke name="Invoke1"*
    partnerLink="PartnerLink2"
    portType="tns:test_service3"
    operation="luizao"
    inputVariable="LuizaoIn"
    outputVariable="LuizaoOut"
    xmlns:tns="http://dim.test.org/"></invoke>}
    *[Fatal Error] :1:1: Content is not allowed in prolog.*
    System exception occured while executing a business process instance.
    java.lang.NullPointerException: WSDL message model is null
    at com.sun.jbi.engine.bpel.core.bpel.debug.WSDLMessageImpl.<init>(WSDLMessageImpl.java:56)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CallFrame.onFault(CallFrame.java:380)
    at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:91)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
    This is from the exception block.
    I think correlation sets are ok(i have two receive activities).
    I use Netbeans6.0 IDE.
    Can anyone help me?
    Sorry,but i don't speak English fluently

    I can't debug it more,because the bpel variables window disappears when the proccess comes to invoke activity.
    The bpel code is simple:I have got a sequence with follow activities:
    receive
    assign
    invoke
    receive
    assign
    reply
    The code is:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
        name="Testfile2"
        targetNamespace="http://enterprise.netbeans.org/bpel/Test2/Testfile2"
        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://enterprise.netbeans.org/bpel/Test2/Testfile2" xmlns:ns0="http://xml.netbeans.org/schema/Testfile2" xmlns:ns1="http://j2ee.netbeans.org/wsdl/Testfile2">
       <import namespace="http://j2ee.netbeans.org/wsdl/Testfile2" location="Testfile2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service3Wrapper" location="Partners/test_service3/test_service3Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service3/test_service3.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service2Wrapper" location="Partners/test_service2/test_service2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service2/test_service2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <partnerLinks>
          <partnerLink name="PartnerLink3" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service2Wrapper" partnerLinkType="tns:test_service2LinkType" myRole="test_service2Role"/>
          <partnerLink name="PartnerLink2" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service3Wrapper" partnerLinkType="tns:test_service3LinkType" partnerRole="test_service3Role"/>
          <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" partnerLinkType="tns:Testfile21" myRole="Testfile2PortTypeRole"/>
       </partnerLinks>
       <variables>
          <variable name="Testfile2OperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationReply"/>
          <variable name="Operation1In" xmlns:tns="http://dim.test.org/" messageType="tns:operation1"/>
          <variable name="LuizaoOut" xmlns:tns="http://dim.test.org/" messageType="tns:luizaoResponse"/>
          <variable name="LuizaoIn" xmlns:tns="http://dim.test.org/" messageType="tns:luizao"/>
          <variable name="Testfile2OperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationRequest"/>
       </variables>
       <correlationSets>
          <correlationSet name="CorrelationSet1" properties="ns1:My_Property"/>
       </correlationSets>
       <sequence>
          <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationIn">
             <correlations>
                <correlation set="CorrelationSet1" initiate="yes"/>
             </correlations>
          </receive>
          <assign name="Assign1">
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:ena</from>
                <to>$LuizaoIn.parameters/ena</to>
             </copy>
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:id</from>
                <to>$LuizaoIn.parameters/id</to>
             </copy>
          </assign>
          <invoke name="Invoke1" partnerLink="PartnerLink2" operation="luizao" xmlns:tns="http://dim.test.org/" portType="tns:test_service3" inputVariable="LuizaoIn" outputVariable="LuizaoOut"/>
          <receive name="Receive2" createInstance="no" partnerLink="PartnerLink3" operation="operation1" xmlns:tns="http://dim.test.org/" portType="tns:test_service2" variable="Operation1In">
             <correlations>
                <correlation set="CorrelationSet1" initiate="no"/>
             </correlations>
          </receive>
          <assign name="Assign2">
             <copy>
                <from>$Operation1In.parameters/hik</from>
                <to>$Testfile2OperationOut.part1/ns0:hik</to>
             </copy>
          </assign>
          <reply name="Reply1" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationOut"/>
       </sequence>
    </process>If it's a bug,that means that i can't use second receive after invoke any more?

  • How get OutputHeaderVariable in invoke Activity

    Hi,
    I am calling an external webservice using invoke activity.I am assiging header to the soapmessage using the Input Header Variable in invoke activity.
    Now I want to extract the header in the response SoapMessage .I have used
    bpelx:outputHeaderVariable to read the output header.
    <invoke name="Invoke_1" partnerLink="PartnerLink_1"
    portType="ns1:DMSBODService" operation="ProcessMessage"
    inputVariable="Invoke_1_ProcessMessage_InputVariable"
    outputVariable="Invoke_1_ProcessMessage_OutputVariable"
    bpelx:outputHeaderVariable="outputHeader"
    bpelx:inputHeaderVariable="header"/>
    But I am not able to get any output header.Its giving me empty value.
    Any suggestion on this please
    thanks
    deepthi

    If you do the call from lets say SoapUI, do you see the correct values in the soap-response ?

  • RPC WS - invoke activity

    Hi
    While invoking a RPC type WS, i am getting the below error in the invoke activity. This service has one of the input element as "soap-array".
    Kindly help
    <bpelFault>
    <faultType>0</faultType>
    <runtimeFault>
    <part name="summary">
    <summary>null</summary>
    </part>
    <part name="detail">
    <detail>java.lang.NullPointerException at com.collaxa.cube.ws.wsdl.WSDLUtils.populateSoapArrayTypeAttribute(WSDLUtils.java:1315) at com.collaxa.cube.ws.wsdl.WSDLUtils.populateSoapArrayTypeAttribute(WSDLUtils.java:1304) at com.collaxa.cube.engine.ext.common.InvokeHandler.adjustInputVariablePayloadIfNec(InvokeHandler.java:1402) at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:504) at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:127) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:69) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:162) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2465) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1132) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:219) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:327) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281) at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:713) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:545) at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:108) at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:150) at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:111) at sun.reflect.GeneratedMethodAccessor2704.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104) at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414) at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61) at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106) at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106) at sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37) at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54) at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy275.syncCreateAndInvoke(Unknown Source) at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.syncCreateAndInvoke(BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.java:262) at com.collaxa.cube.engine.delivery.DeliveryHandler.callCreateAndInvoke(DeliveryHandler.java:790) at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:528) at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:487) at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:162) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.request(CubeDeliveryBean.java:607) at sun.reflect.GeneratedMethodAccessor2703.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104) at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414) at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61) at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106) at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106) at sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37) at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54) at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy272.request(Unknown Source) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.request(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:132) at oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:358) at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139) at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179) at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155) at sun.reflect.GeneratedMethodAccessor2702.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy277.request(Unknown Source) at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169) at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768) at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113) at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168) at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996) at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562) at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222) at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185) at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430) at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) </detail>
    </part>
    <part name="code">
    <code>java.lang.NullPointerException</code>
    </part>
    </runtimeFault>
    </bpelFault>

    Hi Mike,
    We are trying to do this with an Invoke Activity using a Partner Link of TaskService and an Operation of updateTask
    can you please explain Partner Link of TaskService and an Operation of updateTask...????

  • Jms Adapter invoke activity Reply Time out

    I am working on dynamic routing using JMS adapter. i am able to set the Destination Queue and Reply queue as part of Invoke activity properties.
    Now i want to set the reply time out parameter as same. I am able to set replyTimeout in .JCA file, But i want to set this value dynamically.
    Can you please help on this.

    I am working on dynamic routing using JMS adapter. i am able to set the Destination Queue and Reply queue as part of Invoke activity properties.
    Now i want to set the reply time out parameter as same. I am able to set replyTimeout in .JCA file, But i want to set this value dynamically.
    Can you please help on this.

  • BPEL Invoke activity problem

    Hi,
    I have done a BPEL process which invokes an external web service. The
    Invoke activity throws the following exception:
    "Unsupported Content-Type: text/html Supported ones are: [text/xml]"
    Does anybody know why?
    Thanks.

    In the WSDL I'm calling, the binding is declared like this:
    <binding name="PfServicioWSSoapBinding" type="impl:PfServicioWS">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="consultarUsuario">
    <wsdlsoap:operation soapAction=""/>
    <input name="consultarUsuarioRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded"/>
    </input>
    <output name="consultarUsuarioResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://client.pfirma" use="encoded"/>
    </output>
    </operation>
    </binding>
    I am newbie in WSDL and I don't understand this. I have always seen bindings declared liks this:
    <binding name="NAME" type="TYPE">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="OP_NAME">
    <soap:operation soapAction="SOAP_ACTION" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    I think the error I am getting is related to this fact.

  • JBO-25036: An invalid object operation was invoked on type View Object...

    Hi,
    Jdev 11.1.1.3 with BC & RC.
    HR Schema - Employees & Departments Table.
    In EmployeesViewImpl class overriding prepareVOForQuery() for adding dynamic where clause.
           @Override
        public void prepareVOForQuery() {
          DepartmentsViewImpl deptImpl = new DepartmentsViewImpl();
          int deptid = deptImpl.deptID();              //custom method in DepartmentsViewImpl returning deptid based on some condition
          setWhereClause("DEPARTMENT_ID = :bvdeptid");
          defineNamedWhereClauseParam("bvdeptid", null, null);
          setNamedWhereClauseParam("bvdeptid", deptid);
          super.prepareVOForQuery();
           public int deptID(){
          //return "IT_PROG";
          int int_deptid = 0;
          Row[] depts = this.getAllRowsInRange();
          for(int i=0 ; i < depts.length; i++){
            Row row = depts;
    String deptname = (String)row.getAttribute("DepartmentName");
    if(deptname.equalsIgnoreCase("it")){
    Number deptid = (Number)row.getAttribute("DepartmentId");
    int_deptid = deptid.intValue();
    break;
    return int_deptid;
    // The error is coming
    JBO-25036: An invalid object operation was invoked on type View Object with name DepartmentsViewImpl_2
    Can I call a custom method deptID() like above, in EmployeesViewImpl class from DepartmentsViewImpl?
    I need to change query based on some condition on page load in real scenario. I used beforePhase() but not giving perfect result.
    What is best way to do this, similar to above case. However, providing plain value giving no error.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi!
    This doesn't work that way:
    DepartmentsViewImpl deptImpl = new DepartmentsViewImpl();Take a look at ApplicationModule#findViewObject() if your DepartmentsView is already in your data model, executed, and you want to re-use it.
    Otherwise take a look at ApplicationModule#createViewObject().
    Besides that, if you want to execute a VO, then call executeQuery() on it, don't rely on other operations like first() or getAllRowsInRange() to implicitly execute it for you.
    And: Why not use Number all the way through? Why the conversion to int? It will work in that example, since department ID is only NUMBER( 4 ). What if the ID column was a NUMBER( 22 )? int cannot handle that, not even close, so you should not make it a habit to convert to int.
    Sascha

  • Installing Repository, but Operation 'close' on ACTIVITY has failed

    Hi all!
    I've installed Oracle 9.0.1.1.1 on my Windows 2000 machine. After that, i've installed Oracle
    Developer Suite, and the run the Repository Administration Utility, and I created a repository.
    Before that, I created the tablespace and the user for the repository, with rights, so:
    CREATE TABLESPACE "REPOSITORY"
    LOGGING
    DATAFILE 'F:\ORACLE9I\ORADATA\ORACLE\REPOSITORY.ora' SIZE
    300M AUTOEXTEND
    ON NEXT 20M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL
    CREATE USER "REPADMIN" PROFILE "DEFAULT"
    IDENTIFIED BY "oracle" DEFAULT TABLESPACE "REPOSITORY"
    ACCOUNT UNLOCK;
    GRANT "CONNECT" TO "REPADMIN";
    GRANT "DBA" TO "REPADMIN";
    ALTER USER "REPADMIN" DEFAULT ROLE ALL;
    grant execute on dbms_lock to repadmin;
    grant execute on dbms_pipe to repadmin;
    grant create table to repadmin;
    grant create view to repadmin;
    grant create procedure to repadmin;
    grant create synonym to repadmin;
    grant create sequence to repadmin;
    grant select on sys.v_$nls_parameters to repadmin with grant option;
    grant select on sys.v_$parameter to repadmin;
    grant select on dba_rollback_segs to repadmin;
    grant select on dba_segments to repadmin;
    grant create any synonym to repadmin;
    grant drop any synonym to repadmin;
    grant create public synonym to repadmin;
    grant drop public synonym to repadmin;
    grant create role to repadmin;
    grant create trigger to repadmin;
    grant create type to repadmin;
    grant select any sequence to repadmin;
    grant unlimited tablespace to repadmin;
    My temp tablespace is autoextend, too...
    If i want to give a user some rights, or in the Repository Object Navigator, i
    try to 'Invoke Workarea Wizard' and 'Create a default Workarea' I've got the
    following error message:
    Message
    RME-00020: Internal API error - ORA-00600: belsu hiba ksd,
    argumentumai: [25012], [2147483647], [0], [], [],
    RME-00011: Operation 'close' on ACTIVITY has failed
    RME-00222: Failed to dispatch operation to Repository
    RME-00224: Failed to close activity
    Any idea, how to solve it?
    Thanks:
    Zsolt Sandor

    Zsolt,
    The {600} error is reporting an issue with the database.
    What version of iDS have you installed? All the latest versions will require an 8.1.7 or 9.0.1.3 database.
    I suggest you get the latest patch for the database and bring it up to 9.0.1.3.
    regards,
    David Brown
    SCM Product Management

  • How to pass parameter into a source variable of a invoke activity

    I'm an new BPELer, I created a invoke activity to submit Oracle Appplications concurrent program, but I don't know how to pass parameter into source variable.
    BTW, I have created the mapper file (.xsl) file.
    could anyone tell me how to do that?
    Thanks,
    Victor

    Hi.
    How you start application? I think you send message to webservice(BPEL process is webservice too). So construct message with variable and value.
    But I created only processes where input value doesn't matter. I haven't use mapper yet too.

  • Dynamic File Adapter status -  Active or Inactive

    Hi Experts
    Is there any way  to set the Sender/ Receiver File adapter status dynamically to inactive or active.
    Is there any setting exists in the file adapters ? Please provide me possible solutions.
    Thanks
    Faheem

    Hi all,
    Many thnz for the response.
    There is one more way of doing this as well. Just now i found that.
    In the runtime workbench - Communication channel monitoring , Select the automatic control for the comminucation channel to make active or inactive .
    there are options for our comm channel to run specfic date and time.
    Thnz
    Faheem

  • Noob Q - Overriding SOAP header in invoke activity

    I am attempting to invoke a web service via a partner link. Unfortunately, values being placed in the SOAP header are causing a SOAP fault from the server when the invoke activity is reached. Is there a way to change or remove parts or all of the SOAP envelope header? Ideally, it would look like:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:contract="http://webservices.docucorp.com/ewps/schema/2005-12-01" xmlns:ns="http://www.w3.org/2005/05/xmlmime">
    <soap:Header/>
    <soap:Body> ... </soap:Body>
    </soap:Envelope>
    Being able to set the header values would also be helpful as I could possible "fix" the one causing the error.
    Thanks,
    Gene

    I've discovered that the "Invoke" activity has a tab for setting header properties. Unfortunately, my settings aren't actually being made. Has anyone used this feature and, if so, is there something extra I need to do to activate these changes. I've also discovered the header node causing the failure - <wsa:Action>http://webservices.docucorp.com/ewps/service/2005-12-01/EWPSDocumentServicesInterface/doCallAPIRequest</wsa:Action> it should be <wsa:Action>http://webservices.docucorp.com/ewps/service/2005-12-01:doCallAPI</wsa:Action>.
    Thanks,
    Gene

  • Erro: An invalid object operation was invoked on type View Object

    Hi
    I try to run query from managed bean as below
            SelectControlTextDescImpl selectControlTextDescImpl = new SelectControlTextDescImpl();      
            selectControlTextDescImpl.executeQuery();but there is error appear when i run the code
    An invalid object operation was invoked on type View Object with name SelectControlTextDescImpl_8
    Any one can help?

    Hi Hani,
    You'll be able to get a lot out of this forum if you first go through some these resources first:
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    http://www.oracle.com/technology/products/jdev/11/cuecards111/index.html
    Regards,
    Jang Vijay

  • Not able to activate FaceTime by sending SMS to operator,it shows activation pending

    Not able to activate FaceTime by sending SMS to operator,it shows activation pending ,

    usually it takes 1-2 days to the operator to receive the SMS........like me it was 2 days untill i receive the SMS......and its activated now.........try to wait for few dates........

Maybe you are looking for

  • How can I delete a toolbar that a recent program installed in FireFox?

    I just downloaded and installed "Quick Media Converter" from Cocoon Software and found that it had installed an "Ask" toolbar (and tried to switch my search to that) in FireFox. While I can un-check this and not have it display, I can't find any opti

  • Regarding back ground processing for excel.

    Hi, i want to create the Excel sheet and i want to save in Back ground Processing.... give me some suggestionss.......................

  • To anyone who uses a USB Keyboard

    Can you give me some feedback on them? I'm thinking about getting the M-Audio Keystation 49e - USB Midi Keyboard for $99.00 I'd apprectiate any input that I could get! Thanks in advance, Danny

  • Error 1064 while starting the Oracle BI Scheduler in Windows 7 - 32 bit

    Hi Everyone, When starting the OBIEE Version 10.1.3.3.3 's BI Scheduler, the following error has been retreived. ( I have installed newly and the rpd and the webcat has been placed in the corresponding folders newly. Before placing the rpd newly , wh

  • My JMS 2 wish list - Part 4, durable subscriptions

    I attended the JavaOne 2010 session on future JMS evolutions. During the session I described some current limitations or issues I'd like to be solved in a portable way. I've been adviced to share the issues to get feedback from the community. I will