It's not a secret anymore!
The moose likes Web Services and the fly likes WS-Security, <wsse:Security> Missing in client request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WS-Security, <wsse:Security> Missing in client request" Watch "WS-Security, <wsse:Security> Missing in client request" New topic

WS-Security, <wsse:Security> Missing in client request

Ravi Choudhari

Joined: Aug 03, 2010
Posts: 9

I am trying to implement a secure webservice using WS-Security in JBoss 5.1 following the steps in,

On the server Side I have:




I hv copied jboss-wsse-server.xml, standard-jaxws-endpoint-config.xml, server.keystore, server.truststore to META-INF directory of the server project.

And on the client side I have:



Client Application:

I have copied standard-jaxws-client-config.xml, jboss-wsse-client.xml and client.keystore, client.truststore to META-INF directory of the client.

But, When there is request from the client, I am getting the following Execption.

Exception in thread "main" This service requires <wsse:Security>, which is missing.

I have checked the request SOAP message & response messages, The client is not adding any <wsse:Security>, which is expected by the server.

I agree. Here's the link:
subject: WS-Security, <wsse:Security> Missing in client request
jQuery in Action, 3rd edition