Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring WS-security ,WSS4j:No security header found error  RSS feed

Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I am doing a sample project on web services.

I used spring-ws-1.5.9-SNAPSHOT ,tomcat6 and eclipse IDE for this.

I am currently trying to do some security stuffs with the sample project.

So I thought of starting with SimplePasswordValidationCallbackHandler(WSS4J).

I did these configurations:

And wrote a client over WSDL2Java generated client stub.

I did the security header setting as follows:
(I found this from forum)

After doing all this when the client was run I found :
Wss4jSecurityInterceptor | Could not validate request: No WS-Security header found

on server side.

Now please tell where I'm going wrong
If not please give all suggestions/guidance that you feel right

thanks and regards,

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!