struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: SOAP on REST
Date Tue, 19 Oct 2010 17:27:53 GMT
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 <frans@meruvian.org> wrote:
> still seeking information and how to for this
>
> F
>
>
> On Wed, Oct 20, 2010 at 12:16 AM, Maurizio Cucchiara <
> maurizio.cucchiara@gmail.com> wrote:
>
>> Why cannot you  relay on dtd/schema validation?
>>
>> 2010/10/19 Frans Thamura <frans@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.cucchiara@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 <frans@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.cucchiara@gmail.com> wrote:
>> >> >
>> >> >> Do you mean something like expose a kind of soap webservice through
>> >> >> rest plugin?
>> >> >>
>> >> >> 2010/10/19 Dave Newton <davelnewton@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-unsubscribe@struts.apache.org
>> >> >> > For additional commands, e-mail: user-help@struts.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Maurizio Cucchiara
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> >> For additional commands, e-mail: user-help@struts.apache.org
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Maurizio Cucchiara
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> Maurizio Cucchiara
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message