we use json here, and still dunno how to know that json that procude by struts2 is 100% ok
F On Wed, Oct 20, 2010 at 12:27 AM, Dave Newton <davelnew...@gmail.com> wrote: > How to validate XML with a schema?! > > JSON validation is a different issue; the only real project I know of > at this point is JSON Schema, but have never used it. Seems like it'd > be pretty easy to marshal up the JSON object and run it through an > existing object-based validation process, though. > > Dave > > On Tue, Oct 19, 2010 at 1:24 PM, Frans Thamura <fr...@meruvian.org> wrote: > > still seeking information and how to for this > > > > F > > > > > > On Wed, Oct 20, 2010 at 12:16 AM, Maurizio Cucchiara < > > maurizio.cucchi...@gmail.com> wrote: > > > >> Why cannot you relay on dtd/schema validation? > >> > >> 2010/10/19 Frans Thamura <fr...@meruvian.org>: > >> > yah.. > >> > > >> > to make sure that the data produced is valid > >> > > >> > F > >> > > >> > > >> > On Tue, Oct 19, 2010 at 10:09 PM, Maurizio Cucchiara < > >> > maurizio.cucchi...@gmail.com> wrote: > >> > > >> >> What kind of validation you're talking about? xml validation, input > >> >> validation? > >> >> > >> >> It should be better if you provide some further details about your > >> >> scenario. > >> >> > >> >> > >> >> 2010/10/19 Frans Thamura <fr...@meruvian.org>: > >> >> > maurizio > >> >> > > >> >> > right, i just thinking of it, but after see more deep, the soap > >> envelope > >> >> is > >> >> > to heavy weight > >> >> > > >> >> > but if we use XML and JSON, still dunno how to validate it > >> >> > > >> >> > F > >> >> > > >> >> > > >> >> > On Tue, Oct 19, 2010 at 9:57 PM, Maurizio Cucchiara < > >> >> > maurizio.cucchi...@gmail.com> wrote: > >> >> > > >> >> >> Do you mean something like expose a kind of soap webservice > through > >> >> >> rest plugin? > >> >> >> > >> >> >> 2010/10/19 Dave Newton <davelnew...@gmail.com>: > >> >> >> > On Tue, Oct 19, 2010 at 2:57 AM, Frans Thamura wrote: > >> >> >> >> we have REST plugins, is it possible to implement SOAP on REST, > so > >> >> the > >> >> >> >> output is not XML or JSON, but a SOAP > >> >> >> > > >> >> >> > SOAP is XML--I'm not really sure what you're asking either, I > >> guess. > >> >> >> > > >> >> >> > http://en.wikipedia.org/wiki/SOAP#Transport_methods > >> >> >> > > >> >> >> > Dave > >> >> >> > > >> >> >> > > >> --------------------------------------------------------------------- > >> >> >> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> >> >> > For additional commands, e-mail: user-h...@struts.apache.org > >> >> >> > > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Maurizio Cucchiara > >> >> >> > >> >> >> > --------------------------------------------------------------------- > >> >> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> >> >> For additional commands, e-mail: user-h...@struts.apache.org > >> >> >> > >> >> >> > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Maurizio Cucchiara > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> >> For additional commands, e-mail: user-h...@struts.apache.org > >> >> > >> >> > >> > > >> > >> > >> > >> -- > >> Maurizio Cucchiara > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >