Hi, One solution would be to engage Rampart at the client side and attach a username token to your soap message. Other solution would be to add custom headers to your SOAP message. Following article may help you to add custom headers to a SOAP message.
https://wso2.org/library/3156 On Sat, Jan 24, 2009 at 7:42 PM, brianfm <[email protected]> wrote: > > Hi, > > My application requires that I programmatically set a username and password > into the ws-security standard locations in the soap header. Note that I do > not want to configure Rampart athentication because authentication logic > will be fully proprietery in the server. > I intend to just retrieve the usename/password from soap header > programmtically from server and then authenticate. > > thanks, > > Brian > -- > View this message in context: > http://www.nabble.com/setting-username-password-in-soap-header-programmatically-tp21641020p21641020.html > Sent from the Axis - User mailing list archive at Nabble.com. > > -- Sameera Jayasoma Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://tech.jayasoma.org
