Hi,
    I am actually using jbossws over jboss-4.0.4.RC2 and JDK5. I had added new 
provider in java.security and i installed bouncy jar in lib/ext,   then i 
unpanked and run ws-security 
(org.jboss.test.ws.samples.wssecurity.SimpleEncryptTestCase ) but test failed.

Thanks in advance.


java.rmi.RemoteException: Call invocation failed with code [InternalError] 
because of: An internal WS-Security error occurred. See log for details; nested 
exception is: 
        javax.xml.rpc.soap.SOAPFaultException: An internal WS-Security error 
occurred. See log for details
        at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:715)
        at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
        at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
        at $Proxy2.echoUserType(Unknown Source)
        at 
org.jboss.test.ws.samples.wssecurity.SimpleEncryptTestCase.testEndpoint(SimpleEncryptTestCase.java:59)
        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:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: javax.xml.rpc.soap.SOAPFaultException: An internal WS-Security error 
occurred. See log for details
        at 
org.jboss.ws.wsse.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:103)
        at 
org.jboss.ws.wsse.WSSecurityDispatcher.handleOutbound(WSSecurityDispatcher.java:300)
        at 
org.jboss.ws.wsse.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:75)
        at 
org.jboss.ws.wsse.WSSecurityHandlerOutbound.handleRequest(WSSecurityHandlerOutbound.java:38)
        at 
org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121)
        at 
org.jboss.ws.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:254)
        at 
org.jboss.ws.jaxrpc.CallImpl.callRequestHandlerChain(CallImpl.java:745)
        at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:652)
        ... 19 more





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941124#3941124

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941124


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to