@FastInfoset annotation on a web service does not work in JBoss WS CXF
Issue
- We are using EAP 5 with CXF installed. We have a web service which is also annotated with
@org.jboss.ws.annotation.FastInfoset:
@WebService
@FastInfoset
public class MyWebServiceImpl implements MyWebService {
...
}
- However, the annotation
@FastInfosetseems to be ignored. Even when the client requests a Fast Infoset message, the reply is still received in XML format. - Running the same example works fine on EAP 5 without CXF installed, where we can see binary data exchanged.
- How should I do in order for Fast Infoset to work with CXF?
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.x
- JBoss WS CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.