Getting Intermittent HTTP 400 responses using CXF JAX-RS WebClient

Solution Unverified - Updated -

Issue

  • Using CXF's WebClient class to implement a RESTful WS client to a java servlet based server, we are intermittently receiving HTTP 400 responses from the server... that the server does not seem to have sent.

  • Is it possible that, under certain conditions, CXF WebClient generates "mock internal responses" internally (i.e. without actually having received anything from the server)?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Apache CXF
  • JAX-RS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.