Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Java-SCA-2.0-M5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      I set up the composite in this way.

      <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
      xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
      targetNamespace="http://sample" xmlns:sample="http://sample" name="helloworld_jms">

      <component name="HelloworldJMSComponent">
      <implementation.java class="jms.HelloworldImpl" />
      <service name="HelloJMSService">

      <interface.java interface="jms.HelloworldService" />

      <tuscany:binding.jms uri="jms://helloworld"/>
      </service>
      </component>

      </composite>

      When running the tuscany, it throws an exception:

      Caused by: org.oasisopen.sca.ServiceRuntimeException: [Contribution: file:/D:/wo
      rkspace/amqp/sample-helloworld/target/sample-helloworld.jar, Artifact: helloworl
      d_jms.composite] - XMLSchema validation error occured in: helloworld_jms.composi
      te ,line = 25, column = 26, Message = cvc-complex-type.2.4.a: Invalid content wa
      s found starting with element 'tuscany:binding.jms'. One of '

      {"http://docs.oasis -open.org/ns/opencsa/sca/200912":binding, "http://docs.oasis-open.org/ns/opencsa /sca/200912":callback, "http://docs.oasis-open.org/ns/opencsa/sca/200912":requir es, "http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment, "htt p://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}

      ' is expected.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            zhaoyi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development