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.
I have simle question. You 've written that you plan to release JBoss-Metro-3.2.0 together with JBoss-Native-3.2.0. Is that mean that there are dedicated Metro versions for all application servers (JBoss, Tomcat and GlassFish)? Earlier I thought that there is one Metro for all application servers with interfeces for them.
Thanks in advance.
// we don't plan to release JBoss-Metro-3.1.2.
// We plan to release JBoss-Metro-3.2.0 together with JBoss-Native-3.2.0 and JBoss-CXF-3.2.0 at the end of August.