Hi,

Obviously you have other version of wss4j in your application server.
CXF 2.6.X works with wss4j 1.6.5, but it seems that wss4j 1.5.X is loaded in 
your environment.
Can your verify what is the version of wss4j-xxx.jar is actually deployed?

Regards,
Andrei.

-----Original Message-----
From: shadowlaw [mailto:[email protected]] 
Sent: Dienstag, 16. Oktober 2012 17:38
To: [email protected]
Subject: CXF- WSS4J

Hi,
i'm trying to secure my web service using basic authentification using the 
WWS4JInterceptor and callbackHandler 

     <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor"
id="authentificationInterceptor">
            <constructor-arg>
                <map>
                    <entry key="action" value="UsernameToken"/>
                    <entry key="passwordType" value="PasswordDigest"/>
                    <entry key="signaturePropFile" value="..."/>
                    <entry key="passwordCallbackRef">
                        <bean
class="com.orange.ada.ws.config.interceptor.AuthentificationCallback"/>
                    </entry>
                </map>
            </constructor-arg>
        </bean>

but when test the code using soap ui i get this exception
   java.lang.NoSuchMethodError:
org.apache.ws.security.WSSecurityEngine.getWssConfig()Lorg/apache/ws/security/WSSConfig

i'm using cxf 2.6 and spring 3 and jonas server 4.10.9.
Any idea how can resolve this issue?



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-WSS4J-tp5716752.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to