aspose 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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure OutflowSecurity in axis2.xml to include UsernameToken and Timestamp?