Re: SOAP on REST

2010-10-19 Thread Frans Thamura
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 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

Re: SOAP on REST

2010-10-19 Thread Dave Newton
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

Re: SOAP on REST

2010-10-19 Thread Frans Thamura
still seeking information and how to for this F On Wed, Oct 20, 2010 at 12:16 AM, Maurizio Cucchiara < [email protected]> wrote: > Why cannot you relay on dtd/schema validation? > > 2010/10/19 Frans Thamura : > > yah.. > > > > to make sure that the data produced is valid > > > > F >

Re: SOAP on REST

2010-10-19 Thread Maurizio Cucchiara
Why cannot you relay on dtd/schema validation? 2010/10/19 Frans Thamura : > yah.. > > to make sure that the data produced is valid > > F > > > On Tue, Oct 19, 2010 at 10:09 PM, Maurizio Cucchiara < > [email protected]> wrote: > >> What kind of validation you're talking about? xml valid

Re: SOAP on REST

2010-10-19 Thread Frans Thamura
yah.. to make sure that the data produced is valid F On Tue, Oct 19, 2010 at 10:09 PM, Maurizio Cucchiara < [email protected]> wrote: > What kind of validation you're talking about? xml validation, input > validation? > > It should be better if you provide some further details about

Re: SOAP on REST

2010-10-19 Thread Maurizio Cucchiara
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 : > maurizio > > right, i just thinking of it, but after see more deep, the soap envelope is > to heavy weight > >

Re: SOAP on REST

2010-10-19 Thread Frans Thamura
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 < [email protected]> wrote: > Do you mean something like expose a ki

Re: SOAP on REST

2010-10-19 Thread Maurizio Cucchiara
Do you mean something like expose a kind of soap webservice through rest plugin? 2010/10/19 Dave Newton : > 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

Re: SOAP on REST

2010-10-19 Thread Dave Newton
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 --

Re: SOAP on REST

2010-10-19 Thread Jordi Fernandez
I don't understand your question clearly. Can you provide more detail on the expected behaviour/outcome? On 19/10/2010 8:57, Frans Thamura wrote: hi all we have REST plugins, is it possible to implement SOAP on REST, so the output is not XML or JSON, but a SOAP i just getting confuse about SO