It means either your Rampart or Rahas modules (*.MAR) are incorrectly structured

can you check the META-INF/module.xml of the rampart-module.mar you are 
incorporating mine looks like:

<module name="rampart" class="org.apache.rampart.Rampart">
    <Description>This module provides the WS-Security and WS-SecureConversation 
    functionalities for Axis2, based on Apache WSS4J, Apache XML-Security 
    and Apache Rahas implementations.
    </Description>
        
    <InFlow>
        <handler name="PolicyBasedSecurityInHandler" 
class="org.apache.rampart.handler.RampartReceiver">
            <order phase="Security" phaseFirst="true"/>
        </handler>
        <handler name="SecurityInHandler" 
class="org.apache.rampart.handler.WSDoAllReceiver">
            <order phase="Security"/>
        </handler>
        <handler name="PostDispatchVerificationHandler" 
class="org.apache.rampart.handler.PostDispatchVerificationHandler">
            <order phase="Dispatch" phaseLast="true"/>
        </handler>
    </InFlow>

    <OutFlow>
        <handler name="SecurityOutHandler" 
class="org.apache.rampart.handler.WSDoAllSender">
            <order phase="Security"/>
        </handler>
        <handler name="PolicyBasedSecurityOutHandler" 
class="org.apache.rampart.handler.RampartSender">
            <order phase="Security" phaseLast="true"/>
        </handler>
    </OutFlow>
    
    <OutFaultFlow>
        <handler name="PolicyBasedSecurityOutHandler" 
class="org.apache.rampart.handler.RampartSender">
            <order phase="Security" phaseLast="true"/>
        </handler>
    </OutFaultFlow>

    <InFaultFlow>
        <handler name="PolicyBasedSecurityInHandler" 
class="org.apache.rampart.handler.RampartReceiver">
            <order phase="Security" phaseFirst="true"/>
        </handler>
    </InFaultFlow>
    
    <supported-policy-namespaces 
namespaces="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"/>
    <local-policy-assertions>
        <rampart:RampartConfig 
xmlns:rampart="http://ws.apache.org/rampart/policy"; />
    </local-policy-assertions>
</module>

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> Date: Sun, 12 Aug 2012 13:54:04 +0400
> Subject: About setting up rampart with eclipse
> From: firestorm5...@gmail.com
> To: java-dev@axis.apache.org
> 
> Hi
> 
> I am not sure if this is the right place to post these questions, if
> it isn't then I apologise
> 
> I am having trouble setting up rampart with eclipse, I read up a lot
> but I still keep hitting a dead end
> I have apache tomcat running on localhost as a standalone server, I
> deployed Axis2 war and it is working and I have a test webservice
> running on it which is wrote using Eclipse
> Now I want to add security features to it using rampart, First I added
> the rampart and rahas mar files into WEB-INF/modules, however when I
> check the list of available modules it lists them under faulty modules
> 
> Is there anything specific I need to do on the client side to have
> rampart running properly?
> Do I need to import rampart jar files into eclipse build path for the
> project or the mar files?
> 
> I appreciate any help
> 
> thank you
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-dev-h...@axis.apache.org
> 
                                          

Reply via email to