Hi,
Can you try this patch?
Index:
src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/definitions.xml
===================================================================
---
src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/definitions.xml (revision
679873)
+++
src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/definitions.xml (working
copy)
@@ -23,6 +23,15 @@
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0">
<!-- WS Security POLICY SETS -->
+ <!-- A policyset that uses WS Policy -->
+ <sca:intent name="wsAuthentication"
+ constrains="sca:binding.ws">
+ <description>
+ Communitcation thro this binding required
Authentication.
+ </description>
+ </sca:intent>+
+ <!-- WS Security POLICY SETS -->
<sca:policySet name="wsAuthenticationPolicy"
provides="sca:authentication"
appliesTo="//sca:binding.ws"
Thanks,
Raymond
--------------------------------------------------
From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2008 3:45 PM
To: <dev@tuscany.apache.org>
Subject: Re: Error building binding-ws-axis2
Jean-Sebastien Delfino wrote:
Jean-Sebastien Delfino wrote:
I'm seeing the following error when building binding-ws-axis2. Anybody
else seeing this?
...
Well that was with a revision from yesterday, with SVN r679776 I'm
getting another error in modules/binding-ws-wsdlgen.
So, the binding-ws-wsdlgen error is fixed, back to the error with
binding-ws-axis2, now on SVN r679890, as you can see below, 26 out of 30
tests are failing:
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] ------------------------------------------------------------------------
--
Jean-Sebastien