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

Creating Reference Service does not fill promote attribute

    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'.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bfitzpat Brian Fitzpatrick
                Reporter:
                virchete David virgil naranjo
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: