with DEBUG enabled, I'm getting this during the initialisation of the
client:

DEBUG org.apache.axis2.description.AxisDescription  - can't find any
module to process
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedSupportingTokens
 type assertions

On Fri, 2008-11-21 at 12:30 +0100, Cedric Bompart wrote:
> Hi,
> 
> I'm using Axis 1.4.1 with Rampart 1.4.
> 
> I've got a service (see attachment) which need to be secured with a
> UsernameToken and a DigestPassword. For the time been I don't need
> HTTPS.
> 
> On the client side, I've generated the stub with the maven2 plugging
> (axis2-wsdl2code:wsdl2code). Here is the client code:
> 
> ConfigurationContext ctx =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem("/repo",null);
> PointServiceStub stub = new PointServiceStub(ctx);
> stub._getServiceClient().engageModule("rampart");
> Options options = stub._getServiceClient().getOptions();
> options.setUserName("toto");
> options.setPassword("test");
> 
> The problem is the client send a soap security header with a
> PasswordText.
> 
> How can I fix this and enforce on the server side to use DigestPassord ?
> 
> 
> 
> Another thing the client is a webapp, how can I load the rampart module
> without specifying a repository and without overriding the axi2 config
> file? is there a way to load it from the classpath like on the server
> side?
> 
> 
> Regards,
> Ced.
-- 
Cedric Bompart <[EMAIL PROTECTED]>
Echovox

Reply via email to