2 Replies Latest reply on Feb 22, 2007 7:23 AM by Agustín Gañan

    Invoke an external web service

    Agustín Gañan Newbie

      Hello,
      I have deployed the helloWorld example ant it works, but now I'm trying to develop a bpel process with an invocation to a external web service.
      I deploy de procces and when I test it, an exception occurs.


      2007-02-20 09:00:58,656 DEBUG [org.jbpm.bpel.integration.jms.StartListener] caught exception while passing control to process, searching for handler
      org.jbpm.graph.def.DelegationException
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$e8ed498a.raiseException(<generated>)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
      at org.jbpm.graph.def.Transition.take(Transition.java:119)
      at org.jbpm.graph.def.Node.leave(Node.java:383)
      at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
      at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:57)
      at org.jbpm.bpel.def.Receive.accept(Receive.java:82)
      at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$6140a381.accept(<generated>)
      at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:97)
      at org.jbpm.bpel.def.Sequence.accept(Sequence.java:105)
      at org.jbpm.bpel.def.Activity$$FastClassByCGLIB$$a89e54a2.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.Activity$$EnhancerByCGLIB$$4c05c877.accept(<generated>)
      at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
      at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:109)
      at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:115)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jbpm.graph.def.DelegationException
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$e8ed498a.raiseException(<generated>)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
      at org.jbpm.graph.def.Transition.take(Transition.java:119)
      at org.jbpm.graph.def.Node.leave(Node.java:383)
      at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
      at org.jbpm.bpel.def.Assign.execute(Assign.java:55)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
      ... 20 more
      Caused by: java.lang.NullPointerException
      at org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:94)
      at org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerClient(IntegrationControl.java:234)
      at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:171)
      at org.jbpm.bpel.def.Invoke.execute(Invoke.java:44)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
      ... 25 more
      2007-02-20 09:00:58,671 ERROR [org.jbpm.bpel.integration.jms.StartListener] could not start process instance
      org.jbpm.graph.def.DelegationException
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:120)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jbpm.graph.def.DelegationException
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$e8ed498a.raiseException(<generated>)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
      at org.jbpm.graph.def.Transition.take(Transition.java:119)
      at org.jbpm.graph.def.Node.leave(Node.java:383)
      at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
      at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:57)
      at org.jbpm.bpel.def.Receive.accept(Receive.java:82)
      at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$6140a381.accept(<generated>)
      at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:97)
      at org.jbpm.bpel.def.Sequence.accept(Sequence.java:105)
      at org.jbpm.bpel.def.Activity$$FastClassByCGLIB$$a89e54a2.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.Activity$$EnhancerByCGLIB$$4c05c877.accept(<generated>)
      at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
      at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:109)
      at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:115)
      ... 2 more
      Caused by: org.jbpm.graph.def.DelegationException
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$e8ed498a.raiseException(<generated>)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
      at org.jbpm.graph.def.Transition.take(Transition.java:119)
      at org.jbpm.graph.def.Node.leave(Node.java:383)
      at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
      at org.jbpm.bpel.def.Assign.execute(Assign.java:55)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
      ... 20 more
      Caused by: java.lang.NullPointerException
      at org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:94)
      at org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerClient(IntegrationControl.java:234)
      at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:171)
      at org.jbpm.bpel.def.Invoke.execute(Invoke.java:44)
      at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
      ... 25 more

      Somebody know why??