Hi all, It seems when the issue is related with "JMS", noone can help?? I feel like I'm talking by myself all the time :)
Anyway, this time I've found a solution that needs to be confirmed or rejected by an expert. In axis2.xml there are userName and password parameters. Should/Can I use them for creating a connection to the JMS provider? axis2.xml --------------- <parameter name="userName" locked="false">Administrator</parameter> <parameter name="password" locked="false">Administrator</parameter> JMSSender.setupTransport () ------------------------------------------- AxisConfiguration axisConf = context.getAxisService().getAxisConfiguration(); String username = (String) axisConf.getParameter(Constants.USER_NAME).getValue(); String password = (String) axisConf.getParameter(Constants.PASSWORD).getValue();; Regards, Ali Sadik Kumlali ----- Original Message ---- From: Ali Sadik Kumlali <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, June 26, 2006 2:20:58 PM Subject: Re: [Axis2][1.0] Getting username and password from context... I forgot to mention that I use Rampart and X.509 for message security. But AFAIK, JMSSender.setupTransport () does not ask for them. It just looks for the username and password to be able to connect the JMS provider. I didn't figure out where to store username/password of JMS provider. Also, should I create different JMS provider connection username/password for each client eventhough I force them to sign their messages? Thanks a lot. Ali Sadik Kumlali ----- Original Message ---- From: Ali Sadik Kumlali <[EMAIL PROTECTED]> To: axis-user <[email protected]> Sent: Monday, June 26, 2006 1:58:20 PM Subject: [Axis2][1.0] Getting username and password from context... Hi all, JMSSender.setupTransport () has a line that says: "// TODO: Fill username password from context". How/where can I get them? Regards, Ali Sadik Kumlali --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
