Hi,

A minor detail:
If the service URL doesn't exist inside the CXF application, CXF will return 404 + HTML, although Json was sent + accepted:

WebClient.client(api)
            .type(MediaType.APPLICATION_JSON_TYPE)
            .accept(MediaType.APPLICATION_JSON_TYPE);

Result:

<html><body>No service was found.</body></html>

Shouldn't the response use Json syntax?

Best regards,

Johannes

Reply via email to