Hi
or you can try to use SOAP requests right from your GWT code: https://evolvis.org/projects/gwt-ws/ - -- Michael Benson Margulies schrieb:
Yes, it's just another content type.
Hi there, This is a borderline hypothetical question - but say I had a GWT application that existed within a custom static HTML/Velocity/Trimpath/Spring MVC application and I wanted to have GWT's AJAX requests handled by the CXF JAXRS implementation, how would I go about parsing and writing GWT-JSON (IIRC it's worlds apart from "normal" JSON). Would you create some sort of MessageBodyReader and MessageBodyWriter implementation analogous to the AbstractJAXBProvider?
yes, writing a custom MessageBodyReader/Writer is one approach, perhaps the custom provider. If it were possible to delegate to the library like jsonp or some other 3rd party library capable of producing/consuming GWT-JSON then it'd be ideal.
If GWT-JSON will be only produced then one other, completely different approach is to use an XSLTJaxbProvider and use a stylesheet which will easily convert an incoming XML into GWT JSON
cheers, Sergey
Cheers Mike
