Hi 1. Go to "http://fusesource.com" then download and install " fuse Service framework based in CXF" 2. Install and go to samples 3. There is a lot of examples 4. I try a lot of it, but the best i have working fine for XML or JSON response is " .... \fuse-services-framework-2.1.3.1\samples\jax_rs\content_negotiation\"
Install it in Eclipse compile and run with ant, the you have a client and a server example, put time to do it, and see XML 500 ms JSON 40 ms. I normally use some interface to manage the json data. ( AJAX approach for WEB 2.0 ) On Fri, Dec 19, 2008 at 11:15 AM, Benson Margulies <[email protected]>wrote: > Java does not store parameter names in the class file for an > interface. Thus, you must either use .aegis.xml (for Simple/Aegis) or > the WSDL (for Aegis or JAXWS/JAXB). We can't do it by magic. > > On Fri, Dec 19, 2008 at 9:07 AM, Vassilis Virvilis > <[email protected]> wrote: > > On Thursday 18 December 2008, Daniel Kulp wrote: > >> > >> Try adding more information to the @WebService annotations on BOTH the > SEI > >> interface and the impl. In particular, make sure there are > targetNamespace > >> attributes on both. Also, make sure the endpointInterface attribute is > >> specified on the impl. > >> > >> Dan > > > > HiDan, > > > > Thanks for the suggestion but this is really painful for me right now > since I can't really guess correctly most of the values required. > > > > I really think annotating so hard is painfull and duplicating a lot of > info but that's my just opinion and I am not really knowledgable in web > services. > > > > Quick question: Isn't it possible for aegis to guess the parameter names? > Is that because it looks in the interface and not in the implementing class? > Couldn't java introspection help in this case? > > > > Thanks a lot anyway > > > > .bill > > > -- Saludos Julio Oliveira - Buenos Aires [email protected] http://www.linkedin.com/in/juliomoliveira
