java.lang.IllegalArgumentException: Business interface helloworld.Hello is not compatible with {http://testing/}Hello

tuscany-user | Guochao Ren | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    about bpel implmentation example in tuscany 2.0

    tuscany-user | 4 years ago | Guochao Ren
    java.lang.IllegalArgumentException: Business interface helloworld.Hello is not compatible with {http://testing/}Hello
  2. 0

    about bpel implmentation example in tuscany 2.0

    tuscany-user | 4 years ago | Guochao Ren
    java.lang.IllegalArgumentException: Business interface helloworld.Hello is not compatible with {http://testing/}Hello

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Business interface helloworld.Hello is not compatible with {http://testing/}Hello

      at org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.getInterfaceContract()
    2. Apache Tuscany SCA Base Jar
      RuntimeComponentImpl.getServiceReference
      1. org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.getInterfaceContract(ComponentContextImpl.java:494)
      2. org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.createEndpointReference(ComponentContextImpl.java:424)
      3. org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.createEndpointReference(ComponentContextImpl.java:400)
      4. org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.createSelfReference(ComponentContextImpl.java:301)
      5. org.apache.tuscany.sca.core.context.impl.ComponentContextImpl.createSelfReference(ComponentContextImpl.java:255)
      6. org.apache.tuscany.sca.core.assembly.impl.RuntimeComponentImpl.getServiceReference(RuntimeComponentImpl.java:127)
      6 frames
    3. org.apache.tuscany
      NodeImpl.getService
      1. org.apache.tuscany.sca.impl.ServiceHelper.getService(ServiceHelper.java:82)
      2. org.apache.tuscany.sca.impl.NodeImpl.getService(NodeImpl.java:470)
      2 frames
    4. helloworld
      HelloworldLauncher.main
      1. helloworld.HelloworldLauncher.accessServices(HelloworldLauncher.java:34)
      2. helloworld.HelloworldLauncher.main(HelloworldLauncher.java:28)
      2 frames