cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pam Holzner (JIRA)" <>
Subject [jira] [Created] (CXF-3818) Provide Better Error Messages?
Date Thu, 22 Sep 2011 02:25:26 GMT
Provide Better Error Messages?

                 Key: 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.

<bean id="serverPasswordCallback" class=""
<bean id="wss4jInInterceptor" class="">
<entry key="action" value="UsernameToken" />
<entry key="passwordType" value="PasswordText" />
<entry key="signaturePropFile" value="c:/java/myproj/" />
<entry key="passwordCallbackRef">
<ref bean="serverPasswordCallback" />

<jaxws:endpoint id="MyServImpl"

The endpoint was working fine before I added in the WSS4J configuration.


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

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message