Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2920

It should throw an exception if I mixed the @target and <binding> for a reference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Java-SCA-1.3.1
    • None
    • None

    Description

      In OASIS, it said, "If a reference has a value specified for one or more target services in its @target attribute, there MUST NOT be any child <binding/> elements declared for that reference".

      But in my test, I used:
      <reference name="Reference1" >
      <interface.java interface="test.Service1" target="TestComponent2/Service1"/>
      <!--A binding which contradicts the @target attribute -->
      <binding.ws uri="http://localhost:8080/TestComponent2"/>
      </reference>
      It worked well without exception thrown.

      Any problem with my usage?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kujunguo Ku Jun Guo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: