1 2 Previous Next 16 Replies Latest reply on Mar 8, 2012 10:11 AM by kcbabo

    BPEL invoke external web service

    gunnarbos

      Hi,

      I've implemented a simple hello world bpel process with switchyard 0.3, riftsaw 3.0 and Jboss 7.0 which works fine.

      I now want to invoke an external web service (actually running in the same Jboss instance).

      I now that the web service works fine. I get the following errors when the invoke activity is executed:

       

      13:28:48,964 ERROR [org.switchyard.component.bpel.riftsaw.RiftsawServiceLocator] (pool-7-thread-1) No service found for '{http://ws.gsmahs.gb/}CustomerServiceService' (port CustomerServicePort)

      13:28:48,964 ERROR [org.apache.ode.bpel.engine.BpelRuntimeContextImpl] (pool-7-thread-1) Partner did not acknowledge message exchange: {PartnerRoleMex#4611686018427387904 [PID {gb.bpel.gsm}GsmServiceBpel-0] calling null.getCustomer(...) Status REQUEST}

      13:28:48,966 ERROR [org.apache.ode.bpel.runtime.INVOKE] (pool-7-thread-1) Failure during invoke: Partner did not acknowledge.

      13:28:48,969 INFO  [org.apache.ode.bpel.engine.BpelRuntimeContextImpl] (pool-7-thread-1) ActivityRecovery: Registering activity 12, failure reason: Partner did not acknowledge. on channel 21

      13:28:48,971 ERROR [org.riftsaw.engine.internal.BPELEngineImpl] (pool-7-thread-1) Error processing response for MEX {MyRoleMex#4611686018427387903 [Client hqejbhcnphr73n4c70ja6p] calling {gb.bpel.gsm}GsmServiceBpel.process(...)}: java.lang.NullPointerException

       

      There are some errors earlier in the log when deploying the bpel process that I don't understand, but might have something to do with my problem

       

      3:28:25,971 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-7) HHH00397:Using ASTQueryTranslatorFactory

      13:28:26,016 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-7) Hibernate Validator 4.2.0.Final

      13:28:26,369 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) HHH00227:Running hbm2ddl schema export

      13:28:26,378 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) HHH00389:Unsuccessful: alter table BPAF_EVENT_DATA drop constraint FK3E83D1BCDA848C8

      13:28:26,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) Table "BPAF_EVENT_DATA" not found; SQL statement:

      alter table BPAF_EVENT_DATA drop constraint FK3E83D1BCDA848C8 [42102-145]

      13:28:26,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) HHH00389:Unsuccessful: alter table BPEL_ACTIVITY_RECOVERY drop constraint FK94D24A7BE38CB1C9

      13:28:26,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) Table "BPEL_ACTIVITY_RECOVERY" not found; SQL statement:

      alter table BPEL_ACTIVITY_RECOVERY drop constraint FK94D24A7BE38CB1C9 [42102-145]

      13:28:26,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) HHH00389:Unsuccessful: alter table BPEL_CORRELATION_SET drop constraint FKB838191B21712AFA

      13:28:26,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-7) Table "BPEL_CORRELATION_SET" not found; SQL statement:

       

      What can I do about it?

      I've tried to setup debug level for org,switchyard and org.apache.ode by adding a log4j.properties file and also added the log setting to the console in AS 7.0 but I don¨t get any

      debug statements.

      Thanks

      Gunnar

        1 2 Previous Next