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

Build error trying to resolve policy intent in binding-ws-axis2

    XMLWordPrintableJSON

Details

    Description

      Building SVN r679890 gives the following error:

      testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase) Time elapsed: 1.229 sec <<< ERROR!
      org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: Provided Intent -

      {http://tuscany.apache.org/xmlns/sca/1.0}

      wsAuthentication not found for PolicySet

      {http://tuscany.apache.org/xmlns/sca/1.0}

      wsClientAuthenticationIntegrityPolicy
      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 org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase.setUp(QuestionMarkWSDLTestCase.java:130)
      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.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
      Caused by: org.osoa.sca.ServiceRuntimeException: Provided Intent -

      {http://tuscany.apache.org/xmlns/sca/1.0}

      wsAuthentication not found for PolicySet

      {http://tuscany.apache.org/xmlns/sca/1.0}

      wsClientAuthenticationIntegrityPolicy
      at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.analyseProblems(DefaultSCADomain.java:309)
      at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:334)
      at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
      at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
      at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
      ... 20 more

      Results :

      Tests in error:

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)

      testEchoFoo(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)

      testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase)

      testUriPrecedence(org.apache.tuscany.sca.binding.ws.axis2.itests.UriPrecedenceTestCase)

      testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.epr.HelloWorldTestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)

      testHelloWorldSOAP(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)

      testHelloWorldSOAP11(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)

      testHelloWorldSOAP12(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)

      testWSDLImportPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLImportTestCase)

      testWSDLPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)

      testCustomEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)

      testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLRelativeURITestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.mixed.WSSecurityMixedTestCase)

      testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLExplicitURITestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldWSDLMergedTestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMTestCase)

      testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultMultiServiceTestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase)

      testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultSingleServiceTestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityIntegrityTestCase)

      testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityAuthenticationTestCase)

      testWSDLIncludePortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLIncludeTestCase)

      testSOAPDefault(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)

      testSOAP11Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)

      testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)

      Tests run: 30, Failures: 0, Errors: 26, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------

      Attachments

        1. 2499-experiment.patch
          18 kB
          Simon Laws

        Issue Links

          Activity

            People

              rfeng Zhaohui Feng
              jsdelfino Jean-Sebastien Delfino
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: