axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: axis 2 1.1.1 RC1
Date Wed, 03 Jan 2007 03:00:07 GMT
Hi,
> 1>What version of rampart should I download? I assume the answer is rampart
> 1.1.
Yes... Your are correct..

> 2>I have been using rampart 1.0 along with axis2 and if I have to use
> rampart 1.1 will all my services.xml securiy deployment xml format change? I
> see the samples from rampart 1.1 [basic samples] and they seem exactly same
> as before. But the site for downloading rampart1.1 says
> "The WS-Security and WS-SecureConversation implementation for axis2. Now
> with a new configuration model based on WS-SecurityPolicy "
> I am confused at the "new configuration model " statement. If I am not using
> ws-policy or security policy can I still go on using the old [rampart 1.0]
> way of specifying security attributes.
I think you can use use rampart 1.1 with Rampart 1.0 config..  But not sure...
Ruchith...  We need help..


> 3>Getting compilation error in using the piece of code below - used to work
> for axis2 1.0 release.
>
>
> if(httpUserName != null && httpPassword != null)
>
> {
>
> HttpTransportProperties.BasicAuthentication
> basicAuthentication =
>
> new HttpTransportProperties().new BasicAuthentication();
>
>
>
> basicAuthentication.setUsername("axis2");
>
> basicAuthentication.setPassword("axis2");
>
> options.setProperty(
>
> org.apache.axis2.transport.http.HTTPConstants.BASIC_AUTHENTICATION,
>
> basicAuthentication);
> }
I will try it out and let you know...


> 4>I was using OperationContext to get some custom parameters from
> services.xml. Should I start using
> MessageContext.getCurrentMessageContext().getParameter(..)
> instead?
Yes. You can use MC.getCurrentMC().getP...() to get the parameters
from the services.xml.

~Thilina


-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message