Uploaded image for project: 'RiftSaw'
  1. RiftSaw
  2. RIFTSAW-127

Handling SOAP header binding to WSDL message part

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0-M2
    • Fix Version/s: 2.0-CR2
    • Component/s: Integration
    • Labels:
      None

      Description

      Currently this is not supported in ODE1.3.3, due to NPE: https://issues.apache.org/jira/browse/ODE-716

      When deploying the same example in RiftSaw, we get:

      12:21:15,028 FATAL [PICK] Message (element) part conversationId did not contain correct child element: expected

      {http://www.jboss.org/cid}

      conversationId but got conversationId
      12:21:15,029 ERROR [JacobVPU] Method "onRequestRcvd" in class "org.apache.ode.bpel.runtime.PICK$WAITING$2" threw an unexpected exception.
      org.apache.ode.bpel.runtime.InvalidContextException: Message (element) part conversationId did not contain correct child element: expected

      {http://www.jboss.org/cid}

      conversationId but got conversationId
      at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:247)
      at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:55)
      at org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:305)
      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.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
      at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
      at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:875)
      at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
      at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
      at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:412)
      at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:439)
      at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:441)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:411)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:405)
      at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:218)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:404)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:401)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      12:21:15,029 ERROR [BpelEngineImpl] Scheduled job failed; jobDetail={mexid=11, pid=

      {http://www.jboss.org/bpel/examples}

      HelloWorldHeaderODE-1, type=INVOKE_INTERNAL}
      java.lang.RuntimeException: org.apache.ode.bpel.runtime.InvalidContextException: Message (element) part conversationId did not contain correct child element: expected

      {http://www.jboss.org/cid}

      conversationId but got conversationId
      at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
      at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
      at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:875)
      at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
      at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
      at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:412)
      at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:439)
      at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:441)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:411)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:405)
      at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:218)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:404)
      at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:401)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.apache.ode.bpel.runtime.InvalidContextException: Message (element) part conversationId did not contain correct child element: expected

      {http://www.jboss.org/cid}

      conversationId but got conversationId
      at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:247)
      at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:55)
      at org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:305)
      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.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
      ... 17 more

      Will add to integration tests, but comment out until fixed.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                objectiser Gary Brown
                Reporter:
                objectiser Gary Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: