Re: Intermittent failures in schema validation

2008-05-19 Thread Simon Laws
On Sun, May 18, 2008 at 12:03 PM, Simon Laws [EMAIL PROTECTED]
wrote:



 On Sun, May 18, 2008 at 11:22 AM, ant elder [EMAIL PROTECTED] wrote:

 I'm seeing the same problem. (... and it doesn't seem very intermittent)

   ...ant

 On Sun, May 18, 2008 at 10:59 AM, Rajini Sivaram 
 [EMAIL PROTECTED] wrote:

  Hello,
 
  With the latest codebase, I get intermittent exceptions thrown from the
  extension samples - the following exception is from
 samples/binding-echo.
  It
  looks like the schemas are not in the order they are expected to be in
  (sample-binding-echo.xsd and tuscany-sca.xsd). Since the schema list is
  obtained using classLoader.getResources (through ServiceDiscovery) their
  ordering cannot really be guaranteed.
 
 
  org.osoa.sca.ServiceRuntimeException:
 org.osoa.sca.ServiceRuntimeException:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
   at echo.EchoBindingTestCase.setUp(EchoBindingTestCase.java:35)
   at junit.framework.TestCase.runBare(TestCase.java:132)
   at junit.framework.TestResult$1.protect(TestResult.java:110)
   at junit.framework.TestResult.runProtected(TestResult.java:128)
   at junit.framework.TestResult.run(TestResult.java:113)
   at junit.framework.TestCase.run(TestCase.java:124)
   at junit.framework.TestSuite.runTest(TestSuite.java:232)
   at junit.framework.TestSuite.run(TestSuite.java:227)
   at
 
 
 org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
   at
 
 
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  Caused by: org.osoa.sca.ServiceRuntimeException:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:293)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:171)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:113)
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
   ... 16 more
  Caused by:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:165)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:291)
   ... 19 more
  Caused by: java.lang.IllegalStateException:
 org.xml.sax.SAXParseException:
  src-resolve: Cannot resolve the name 'sca:Binding' to a(n) 'type
  definition'
  component.
   at
 
 
 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.initializeSchemas(DefaultValidatingXMLInputFactory.java:147)
   at
 
 
 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.createXMLStreamReader(DefaultValidatingXMLInputFactory.java:200)
   at
 
 
 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:106)
   at
 
 
 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:55)
   at
 
 
 org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.read(ExtensibleURLArtifactProcessor.java:76)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.processReadPhase(ContributionServiceImpl.java:465)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:360)
   ... 21 more
  Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve
 the
  name 'sca:Binding' to a(n) 'type definition' component.
  

Re: Intermittent failures in schema validation

2008-05-19 Thread Simon Laws
On Mon, May 19, 2008 at 2:14 PM, Simon Laws [EMAIL PROTECTED]
wrote:



 On Sun, May 18, 2008 at 12:03 PM, Simon Laws [EMAIL PROTECTED]
 wrote:



 On Sun, May 18, 2008 at 11:22 AM, ant elder [EMAIL PROTECTED] wrote:

 I'm seeing the same problem. (... and it doesn't seem very intermittent)

   ...ant

 On Sun, May 18, 2008 at 10:59 AM, Rajini Sivaram 
 [EMAIL PROTECTED] wrote:

  Hello,
 
  With the latest codebase, I get intermittent exceptions thrown from the
  extension samples - the following exception is from
 samples/binding-echo.
  It
  looks like the schemas are not in the order they are expected to be in
  (sample-binding-echo.xsd and tuscany-sca.xsd). Since the schema list is
  obtained using classLoader.getResources (through ServiceDiscovery)
 their
  ordering cannot really be guaranteed.
 
 
  org.osoa.sca.ServiceRuntimeException:
 org.osoa.sca.ServiceRuntimeException:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
   at echo.EchoBindingTestCase.setUp(EchoBindingTestCase.java:35)
   at junit.framework.TestCase.runBare(TestCase.java:132)
   at junit.framework.TestResult$1.protect(TestResult.java:110)
   at junit.framework.TestResult.runProtected(TestResult.java:128)
   at junit.framework.TestResult.run(TestResult.java:113)
   at junit.framework.TestCase.run(TestCase.java:124)
   at junit.framework.TestSuite.runTest(TestSuite.java:232)
   at junit.framework.TestSuite.run(TestSuite.java:227)
   at
 
 
 org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
   at
 
 
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  Caused by: org.osoa.sca.ServiceRuntimeException:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:293)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:171)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:113)
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
   ... 16 more
  Caused by:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:165)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:291)
   ... 19 more
  Caused by: java.lang.IllegalStateException:
 org.xml.sax.SAXParseException:
  src-resolve: Cannot resolve the name 'sca:Binding' to a(n) 'type
  definition'
  component.
   at
 
 
 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.initializeSchemas(DefaultValidatingXMLInputFactory.java:147)
   at
 
 
 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.createXMLStreamReader(DefaultValidatingXMLInputFactory.java:200)
   at
 
 
 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:106)
   at
 
 
 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:55)
   at
 
 
 org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.read(ExtensibleURLArtifactProcessor.java:76)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.processReadPhase(ContributionServiceImpl.java:465)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:360)
   ... 21 more
  Caused by: org.xml.sax.SAXParseException: src-resolve: 

Re: Intermittent failures in schema validation

2008-05-18 Thread ant elder
I'm seeing the same problem. (... and it doesn't seem very intermittent)

   ...ant

On Sun, May 18, 2008 at 10:59 AM, Rajini Sivaram 
[EMAIL PROTECTED] wrote:

 Hello,

 With the latest codebase, I get intermittent exceptions thrown from the
 extension samples - the following exception is from samples/binding-echo.
 It
 looks like the schemas are not in the order they are expected to be in
 (sample-binding-echo.xsd and tuscany-sca.xsd). Since the schema list is
 obtained using classLoader.getResources (through ServiceDiscovery) their
 ordering cannot really be guaranteed.


 org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException:
 org.apache.tuscany.sca.contribution.service.ContributionException:
 java.lang.IllegalStateException: org.xml.sax.SAXParseException:
 src-resolve:
 Cannot resolve the name 'sca:Binding' to a(n) 'type definition' component.
  at

 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
  at

 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
  at echo.EchoBindingTestCase.setUp(EchoBindingTestCase.java:35)
  at junit.framework.TestCase.runBare(TestCase.java:132)
  at junit.framework.TestResult$1.protect(TestResult.java:110)
  at junit.framework.TestResult.runProtected(TestResult.java:128)
  at junit.framework.TestResult.run(TestResult.java:113)
  at junit.framework.TestCase.run(TestCase.java:124)
  at junit.framework.TestSuite.runTest(TestSuite.java:232)
  at junit.framework.TestSuite.run(TestSuite.java:227)
  at

 org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
  at

 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
  at

 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
 Caused by: org.osoa.sca.ServiceRuntimeException:
 org.apache.tuscany.sca.contribution.service.ContributionException:
 java.lang.IllegalStateException: org.xml.sax.SAXParseException:
 src-resolve:
 Cannot resolve the name 'sca:Binding' to a(n) 'type definition' component.
  at

 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:293)
  at

 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:171)
  at

 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:113)
  at

 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
  ... 16 more
 Caused by:
 org.apache.tuscany.sca.contribution.service.ContributionException:
 java.lang.IllegalStateException: org.xml.sax.SAXParseException:
 src-resolve:
 Cannot resolve the name 'sca:Binding' to a(n) 'type definition' component.
  at

 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
  at

 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:165)
  at

 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:291)
  ... 19 more
 Caused by: java.lang.IllegalStateException: org.xml.sax.SAXParseException:
 src-resolve: Cannot resolve the name 'sca:Binding' to a(n) 'type
 definition'
 component.
  at

 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.initializeSchemas(DefaultValidatingXMLInputFactory.java:147)
  at

 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.createXMLStreamReader(DefaultValidatingXMLInputFactory.java:200)
  at

 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:106)
  at

 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:55)
  at

 org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.read(ExtensibleURLArtifactProcessor.java:76)
  at

 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.processReadPhase(ContributionServiceImpl.java:465)
  at

 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:360)
  ... 21 more
 Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the
 name 'sca:Binding' to a(n) 'type definition' component.
  at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
 Source)
  at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  at
 

Intermittent failures in schema validation

2008-05-18 Thread Rajini Sivaram
Hello,

With the latest codebase, I get intermittent exceptions thrown from the
extension samples - the following exception is from samples/binding-echo. It
looks like the schemas are not in the order they are expected to be in
(sample-binding-echo.xsd and tuscany-sca.xsd). Since the schema list is
obtained using classLoader.getResources (through ServiceDiscovery) their
ordering cannot really be guaranteed.


org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException:
org.apache.tuscany.sca.contribution.service.ContributionException:
java.lang.IllegalStateException: org.xml.sax.SAXParseException: src-resolve:
Cannot resolve the name 'sca:Binding' to a(n) 'type definition' component.
 at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
 at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
 at echo.EchoBindingTestCase.setUp(EchoBindingTestCase.java:35)
 at junit.framework.TestCase.runBare(TestCase.java:132)
 at junit.framework.TestResult$1.protect(TestResult.java:110)
 at junit.framework.TestResult.runProtected(TestResult.java:128)
 at junit.framework.TestResult.run(TestResult.java:113)
 at junit.framework.TestCase.run(TestCase.java:124)
 at junit.framework.TestSuite.runTest(TestSuite.java:232)
 at junit.framework.TestSuite.run(TestSuite.java:227)
 at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
 at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
 at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.osoa.sca.ServiceRuntimeException:
org.apache.tuscany.sca.contribution.service.ContributionException:
java.lang.IllegalStateException: org.xml.sax.SAXParseException: src-resolve:
Cannot resolve the name 'sca:Binding' to a(n) 'type definition' component.
 at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:293)
 at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:171)
 at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:113)
 at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
 ... 16 more
Caused by:
org.apache.tuscany.sca.contribution.service.ContributionException:
java.lang.IllegalStateException: org.xml.sax.SAXParseException: src-resolve:
Cannot resolve the name 'sca:Binding' to a(n) 'type definition' component.
 at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
 at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:165)
 at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:291)
 ... 19 more
Caused by: java.lang.IllegalStateException: org.xml.sax.SAXParseException:
src-resolve: Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
component.
 at
org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.initializeSchemas(DefaultValidatingXMLInputFactory.java:147)
 at
org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.createXMLStreamReader(DefaultValidatingXMLInputFactory.java:200)
 at
org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:106)
 at
org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:55)
 at
org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.read(ExtensibleURLArtifactProcessor.java:76)
 at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.processReadPhase(ContributionServiceImpl.java:465)
 at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:360)
 ... 21 more
Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the
name 'sca:Binding' to a(n) 'type definition' component.
 at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
 at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at
org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
Source)
 at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown
Source)
 at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexContent(Unknown
Source)
 at

Re: Intermittent failures in schema validation

2008-05-18 Thread Simon Laws
On Sun, May 18, 2008 at 11:22 AM, ant elder [EMAIL PROTECTED] wrote:

 I'm seeing the same problem. (... and it doesn't seem very intermittent)

   ...ant

 On Sun, May 18, 2008 at 10:59 AM, Rajini Sivaram 
 [EMAIL PROTECTED] wrote:

  Hello,
 
  With the latest codebase, I get intermittent exceptions thrown from the
  extension samples - the following exception is from samples/binding-echo.
  It
  looks like the schemas are not in the order they are expected to be in
  (sample-binding-echo.xsd and tuscany-sca.xsd). Since the schema list is
  obtained using classLoader.getResources (through ServiceDiscovery) their
  ordering cannot really be guaranteed.
 
 
  org.osoa.sca.ServiceRuntimeException:
 org.osoa.sca.ServiceRuntimeException:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
   at echo.EchoBindingTestCase.setUp(EchoBindingTestCase.java:35)
   at junit.framework.TestCase.runBare(TestCase.java:132)
   at junit.framework.TestResult$1.protect(TestResult.java:110)
   at junit.framework.TestResult.runProtected(TestResult.java:128)
   at junit.framework.TestResult.run(TestResult.java:113)
   at junit.framework.TestCase.run(TestCase.java:124)
   at junit.framework.TestSuite.runTest(TestSuite.java:232)
   at junit.framework.TestSuite.run(TestSuite.java:227)
   at
 
 
 org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
   at
 
 
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
   at
 
 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  Caused by: org.osoa.sca.ServiceRuntimeException:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:293)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:171)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:113)
   at
 
 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
   ... 16 more
  Caused by:
  org.apache.tuscany.sca.contribution.service.ContributionException:
  java.lang.IllegalStateException: org.xml.sax.SAXParseException:
  src-resolve:
  Cannot resolve the name 'sca:Binding' to a(n) 'type definition'
 component.
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:165)
   at
 
 
 org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:291)
   ... 19 more
  Caused by: java.lang.IllegalStateException:
 org.xml.sax.SAXParseException:
  src-resolve: Cannot resolve the name 'sca:Binding' to a(n) 'type
  definition'
  component.
   at
 
 
 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.initializeSchemas(DefaultValidatingXMLInputFactory.java:147)
   at
 
 
 org.apache.tuscany.sca.contribution.processor.DefaultValidatingXMLInputFactory.createXMLStreamReader(DefaultValidatingXMLInputFactory.java:200)
   at
 
 
 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:106)
   at
 
 
 org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(CompositeDocumentProcessor.java:55)
   at
 
 
 org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.read(ExtensibleURLArtifactProcessor.java:76)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.processReadPhase(ContributionServiceImpl.java:465)
   at
 
 
 org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:360)
   ... 21 more
  Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the
  name 'sca:Binding' to a(n) 'type definition' component.
   at