Today I was checking the
JSON-Support page for the Webservice Framework CXF.
While the webservice engine works great, I was not able to enable json-support, because the class HttpBindingInfoFactoryBean gave me a NoDefFoundError.
sf.setBindingFactory(new HttpBindingInfoFactoryBean());
It seems like the
documentation is just out of date.
The proper code (like taken from the mailinglist mail)
sf.setBindingId(HttpBindingFactory.HTTP_BINDING_ID);
No everything works fine. Also the ?wsdl is still available, useful for fetching information about all available functions/methods.