File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Configure OutflowSecurity in axis2.xml to include UsernameToken and Timestamp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Configure OutflowSecurity in axis2.xml to include UsernameToken and Timestamp?" Watch "Configure OutflowSecurity in axis2.xml to include UsernameToken and Timestamp?" New topic
Author

Configure OutflowSecurity in axis2.xml to include UsernameToken and Timestamp?

Victor Cardinal
Greenhorn

Joined: Apr 17, 2012
Posts: 2
Hi,
I am calling a WebService from a Java app using stub generated by wsdl2java.
Everything works except security header is not formatted the way that web server expects it.

Web Server configuration (Spring application):


axis2.xml configuration:


The response comes back as:


Anyone knows how to write OutflowSecurity so that it provides a UserToken with passwordDigestRequired and a time stamp?
Victor Cardinal
Greenhorn

Joined: Apr 17, 2012
Posts: 2
I think this authentication failure is related to passwordDigestRequired on the server.

I am following examples 2 and 3 include with Apache rampart module.
Any way to force "password digest" in the input?

I tried this example:


But it's causing
 
wood burning stoves
 
subject: Configure OutflowSecurity in axis2.xml to include UsernameToken and Timestamp?
 
Similar Threads
SOAP Header missing using Rampart w/ Axis2 Generated Stub
Dynamically setting the username/password with Rampart.
Rampart encrypting options: I can't encrypt parameters
WSHandler: cannot create instance of password callback
can't run rampart client