1 Reply Latest reply on Dec 11, 2012 4:48 PM by kcbabo

    Use of Use of targetNamespace when invoking Java Service in separate SY application

    jeffdelong

      In order to invoke a Bean Service in another SwitchYard application, it seems that the targetNamespace must be added to the component reference.

       

      <sca:reference name="ITestService" targetNamespace="urn:org.openuri:TestService:0.0.1-SNAPSHOT">
          <sca:interface.java interface="org.openuri.TestService.ITestService"/>
        </sca:reference>

       

      However Eclipse reports an error when opening switchyard.xml:

       

      Error loading file: switchyard.xml. Feature 'targetNamespace' not found.