Dear Tania, please reply to to the list and not me directly, by using "reply all" in your mailer , so everyone can benefit from the discussion.
On Tue, Apr 9, 2013 at 10:13 AM, Tania Marinova <taniamm2...@yahoo.com> wrote: > Thank you for your response You were right. that there was anoter wss4j in > Mywebservice_client ->WebContent -> Web - INF > > (maybe it was copied with the other libs from the rampart distributtion) > > SO > 1. when I've got wss4j - 1.6.4.jar My excepton is this: > > > org.apache.axis2.AxisFault: java.lang.NoSuchMethodError: > org.apache.ws.security.WSPasswordCallback.getIdentifer()Ljava/lang/String; > at The wss4j - 1.6.4.jar has the "getIdentifer()Ljava/lang/String" method, you can verify that by using "jar xf" on the jar (or anything tool that can unzip) and using javap as Martin showed. I'd verify your copy. However, as I mentioned previously, WEB-INF/lib is not the only possible location for the jar. You haven't mentioned your web server - info which would help us help you - but that jar is likely to be part of a server distro and you can find out for sure by: System.out.println("CallbackHandler instance was loaded from: " + CallbackHandler.class.getProtectionDomain().getCodeSource().getLocation()); If the path to the jar is not in WEB-INF/lib , read your web server docs to fix that. > And I'm really desperate and I think no one can help me. Think positive and read the advice you are getting, the problem likely isn't that hard to fix. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org