JBoss + Metro client - help!
We are writing a Web Service client to access a Web Service server (.NET) which requires
WS-Security UsernameToken with Password Digest.
The server has provided us with a WSDL which does not have any WS-Policy component.
Our client code successfully generates a SOAP message without the WS-Security SOAP
Header.
The client code is run from within a Servlet in a web app, which is based on
jboss-5.1.0.GA.
The Web Service stack being used is jbossws-metro.
So far, we have not found a successful way of including WS-Security UsernameToken.
Is there a way of programmatically ensuring this is included?
Having scoured the posts here and on other fora, it appears that for JBoss + Metro, it is
necessary to use a file wsit-client.xml:
- is that correct?
- if yes where in our web app do we need to place it?
- what would the content of this file be?
BTW, the transmission will be over SSL, so message-level encryption is not necessary.
Steve
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266665#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...