Investigate wsse with jaxws dispatch
------------------------------------
Key: JBWS-1817
URL:
http://jira.jboss.com/jira/browse/JBWS-1817
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Fix For: jbossws-2.0.2
I'm having a bit of trouble figuring this out - I'm trying to create a simple
standalone dispatch for communication with an already set up webservice. I got everything
working as expected if I use no security system - the problem arises when trying to invoke
a request message involving an WSSecurityHandlerClient, resulting in a:
Code:
javax.xml.ws.soap.SOAPFaultException: org.jboss.ws.core.CommonSOAPFaultException: This
service requi
res <wsse:Security>, which is missing.
at
org.jboss.ws.core.jaxws.client.DispatchSOAPBinding.getReturnObject(DispatchSOAPBinding.java:165)
at org.jboss.ws.core.jaxws.client.DispatchImpl.getReturnObject(DispatchImpl.java:290)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:141)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:102)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira