tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatakrishnan (JIRA)" <tuscany-...@ws.apache.org>
Subject [jira] Commented: (TUSCANY-2016) Must Understand check failed in WS security test case
Date Fri, 01 Feb 2008 08:25:09 GMT

    [ https://issues.apache.org/jira/browse/TUSCANY-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564680#action_12564680
] 

Venkatakrishnan commented on TUSCANY-2016:
------------------------------------------

I am able to replicate this locally when I move to JDK6.  But, not sure if the cause is the
same.  Could you please help with me with the following : -
-  what the are the policysets your see on the service side binding and the reference side
binding, during runtime.  You'd have to debug for this info and look into the wsBinding instance
in the Axis2ServiceProvider and Axis2ServiceClient classes. In the wsBinding instance please
check the 'policySets' field.

>From my side, it seems like we have a few groups of testcases and each have their own
policysets defined in separate definitions.xml.   Since we now aggregate the contents of all
definitions.xml, it seems me that a policyset that is not intended to be used for this test
gets to be matched.  I could fix this when I specified the 'policySets' attribute on the service
instead of 'requires'.   That's why I request for that information about what actually ends
up for PolicySets in the bindings.

If what I have stated here is the reason in your case as well, then it probably high time
we go on a roll out what you have suggested in http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg27370.html.
 Thanks.

> Must Understand check failed in WS security test case
> -----------------------------------------------------
>
>                 Key: TUSCANY-2016
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2016
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: RHEL 5
> SUN JDK 1.6
>            Reporter: Jean-Sebastien Delfino
>            Assignee: Venkatakrishnan
>             Fix For: Java-SCA-Next
>
>
> Exception running test case with JDK 6. I've renamed the test to FIXME for now to allow
builds on JDK 6 to proceed.
> java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMComponent.getGreetings(HelloWorldOMComponent.java:31)
> 	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.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:88)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.AbstractHelloWorldOMTestCase.testHelloWorld(AbstractHelloWorldOMTestCase.java:43)
> 	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 junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	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.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
: Security
> 	at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:86)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:135)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:336)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:100)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:75)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:74)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
> 	... 31 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message