2 Replies Latest reply: Nov 14, 2012 11:58 PM by 968188 RSS

    B2B adapter in BPEL process

      Hi All,

      Version i'm using:

      I have a BPEL process where i use a B2B adapter and a recieve activity connected to this b2b adapter. B2B integration type is "Default", selected "Acknowledgement_def" under document definition.
      Now when a transaction is made, Trading partner sends a successful ack, but this BPEL process which should be executed after the response from TP is throwing an error as follows,

      B2B Label:PCBPEL_11. oracle.fabric.common.FabricInvocationException: IDeliveryService.request() invoked for one-way operation 'receive'. This method can only be used to invoke two-way operations which return an output message. Please check the WSDL which defines this operation and use the method IDeliveryService.post() to invoke a one-way operation

      at oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:412)
      at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
      at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
      at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:154)
      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 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 $Proxy346.request(Unknown Source)

      The same process was working in our earlier version (
      Please give me your valuable inputs to resolve this issue.

        • 1. Re: B2B adapter in BPEL process
          Anuj Dwivedi--Oracle

          Make sure that BPEL process is a one-way process and in B2B adapter you are select "receive" operation. From the error it seems, BPEL process is not a one-way process.

          • 2. Re: B2B adapter in BPEL process
            Hi Anuj,

            I selected "Receive" while configuring B2B adapter. While creating the BPEL process to receive the message, i have created it as Empty BPEL process "Define WSDL later". Then i configured the B2B adapter. In the Empty BPEL process i place a receive activity and wire the B2B adapter. Operation available in Receive activity is "Receive". I'm i configuring wrongly?