Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 522DB7232 for ; Thu, 22 Sep 2011 02:25:50 +0000 (UTC) Received: (qmail 23845 invoked by uid 500); 22 Sep 2011 02:25:50 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 23820 invoked by uid 500); 22 Sep 2011 02:25:50 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 23811 invoked by uid 99); 22 Sep 2011 02:25:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2011 02:25:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2011 02:25:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 733CAA77BB for ; Thu, 22 Sep 2011 02:25:26 +0000 (UTC) Date: Thu, 22 Sep 2011 02:25:26 +0000 (UTC) From: "Pam Holzner (JIRA)" To: issues@cxf.apache.org Message-ID: <771327243.782.1316658326468.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CXF-3818) Provide Better Error Messages? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Provide Better Error Messages? ------------------------------ Key: CXF-3818 URL: https://issues.apache.org/jira/browse/CXF-3818 Project: CXF Issue Type: Improvement Components: WS-* Components Affects Versions: 2.4.2 Environment: Windows Vista; jdk 1.6.0_23; netbeans 6.9.1;soap-ui plugin Reporter: Pam Holzner Priority: Minor This is probably not really an issue for cxf but I'm a bit stumped. Any advice on how to debug my attempt to configure cxf to pass the username and token in the soap header? I am getting the cryptic NoSuchMethod error which isn't helping me much. The endpoint was working fine before I added in the WSS4J configuration. com.mycompany.myproj.security.ServerPasswordCallback.java has public class ServerPasswordCallback implements CallbackHandler { public ServerPasswordCallback() { System.out.println("inside constructor"); } public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { System.out.println("inside handle method"); } When I run, I see that the constructor is called, but when I try to exercise the service using soap-ui (with the login/password) I get SEVERE: Servlet.service() for servlet WebServicePort threw exception java.lang.NoSuchMethodError: org.apache.ws.security.WSSecurityEngine.getWssConfig()Lorg/apache/ws/security/WSSConfig: at org.apache.cxf.ws.security.wss4j.WSS4JIjInterceptor.handleMessage(WSS4JInInterceptor.java:193) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira