I found Ruchith’s presentation "Secure Web Services with Apache Rampart" from http://www.wso2.net/presentations and I downloaded the samples.  While these have been extremely helpful, I noticed for all examples with a "UsernameToken" action, the client.axis.xml has the user id hard coded, where the password can be obtained using a callback.  How can my client code programmatically set the user id?  My client is invoking the service using a wsdl2java generated stub (public class MyClient extends org.apache.axis2.client.Stub) and I am using the axis2/rampart 1.0 releases.

 

Thanks,

Mark

 

 




The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.

Reply via email to