cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicolasduminil <>
Subject Re: The server sent the status code HTTP 406 : Not Acceptable
Date Thu, 26 May 2016 14:26:47 GMT

I confirm the exception is raised by When you're saying
that I'm not using CXF, do you mean on the client side or the service is not
CXF ? For the service, as I said, it was developed using Spring WS. As per
the client, it is a JAX-WS proxy generated by the maven plugin for CXF, like


Then, the unit test does the following:

  private static ArchiverService archiverService;
  private static BindingProvider bindingProvider;

  public static void setUpBeforeClass() throws Exception
    Authenticator.setDefault(new ClientAuthenticator());
    archiverService = new ArchivageService();
    bindingProvider = (BindingProvider) archiverService.getArchiverSoap12();

There is no any CXF jar.

As per turning on the logging on the service, how should I dod it in an
embedded Tomcat running in Spring Boot ? I tried to use TCP/IP Monitor. I'm
getting the traffiv when using the SoapUI proxy but when I use the one
generated by wsdl2java nothing appears in the TCP/IP Monotor console and the
HTTP 401 is returned.

Could you please help further ?

Many thanks in advance.


View this message in context:
Sent from the cxf-user mailing list archive at

View raw message