[jboss-user] [JBossWS] - Re: Java Client Application using Stub with WS-Security

alessio.soldano@jboss.com do-not-reply at jboss.com
Thu Nov 29 04:23:51 EST 2007


Did you set up the keystore/truststore references in your environment?


  |       System.setProperty("org.jboss.ws.wsse.keyStore", "resources/interop/nov2007/wsse/shared/META-INF/alice-sign_enc.jks");
  |       System.setProperty("org.jboss.ws.wsse.trustStore", "resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore");
  |       System.setProperty("org.jboss.ws.wsse.keyStorePassword", "password");
  |       System.setProperty("org.jboss.ws.wsse.trustStorePassword", "password");
  |       System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");
  |       System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks");
  | 



If you still get errors, please post here your logs with the error details.
anonymous wrote : 
  | Exception in thread "main" javax.xml.ws.WebServiceException: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details
  | 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276)
  | 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155)
  | 	at org.jboss.ws.core.jaxws.client.ClientImpl.callRequestHandlerChain(ClientImpl.java:160)
  | 	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:297)
  | 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
  | 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
  | 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  | 	at $Proxy14.hello(Unknown Source)
  | 	at com.main.MainTest.main(MainTest.java:51)
  | Caused by: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details
  | 	at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:105)
  | 	at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleOutbound(WSSecurityDispatcher.java:314)
  | 	at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:95)
  | 	at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handleOutbound(WSSecurityHandlerClient.java:45)
  | 	at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55)
  | 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
  | 	at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
  | 	... 7 more
  | 
  | Anyone knows how I can resolve my problem ?
  | 


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

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



More information about the jboss-user mailing list