Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2836

Creating Reference Service does not fill promote attribute

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      This is what is happening:

      1º You have a BeanServiceImpl for example:
      2º Create a java interface AnotherService (for instance)
      3º Add a Reference with the tooling. Make Drag and Drop from the Core Reference palette to the main area.
      4º Select the AnotherService interface
      5º In the BeanServiceImpl click on CreateComponent Reference
      6º Select AnotherService

      Then in the Design view you do not see any error, but in the source view there is an error. See this is an example of a switchyard.xml

      https://gist.github.com/dvirgiln/864f7b30c70c30c1ad93#file-gistfile1-txt-L56

      There is an error on this line:
      cvc-complex-type.4: Attribute 'promote' must appear on element 'sca:reference'.

      Attachments

        Activity

          People

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            virchete_jira David virgil naranjo (Inactive)
            Archiver:
            ranumula@redhat.com Raju Anumula

            Dates

              Created:
              Updated:
              Resolved:
              Archived: