Tim de Jager [
http://community.jboss.org/people/tdejager] replied to the discussion
"Jboss ws-security, client configuration"
To view the discussion, visit:
http://community.jboss.org/message/543679#543679
--------------------------------------------------------------
My entire stack trace:
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:286)
at
org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:157)
at
org.jboss.ws.core.jaxws.client.ClientImpl.callRequestHandlerChain(ClientImpl.java:177)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:298)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy14.submitWebsiteData(Unknown Source)
at Main.main(Main.java:49)
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:264)
at
org.jboss.ws.extensions.security.WSSecurityDispatcher.encodeMessage(WSSecurityDispatcher.java:226)
at
org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:104)
at
org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handleOutbound(WSSecurityHandlerClient.java:43)
at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53)
at
org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305)
at
org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:142)
... 7 more
1) I have appended a FileAppender to the rootlogger in the client code.
2) I'm using the JBossWS version included in the jboss 5.1.0 build
3) I resolved the class path issue by only including the jars found in de wsrunclient
file, plus the ones from the endorsed jboss dir as well as setting the java endorsed
library to that same location.
Thanks for taking an interest :D .
I have also been looking at the samples from Jboss in action. And I can't figure out
how the author gets the Client to pick up on the security configuration, is it just by
including the files in META-INF directory? Or does it have something to with the fact that
he runs the samples form a JAR file?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/543679#543679]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]