On Fri, May 16, 2008 at 8:33 AM, kapilsharma
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm sending an XML(Not SOAP, plain XML) as payload to a servicemix-http
> component. That XML also includes the name of schema file against which it
> has to be validated.
>
> Is there anyway in service mix to validate incoming XML request (if it
> contains the name of XSD file) without writing a validator. I found that NMR
> is checking if XML is well-formed. If it is checking wither XML is
> well-formed or not, are there any setting/configurations so that XML also
> validated against schema given in its name (with noNamespaceSchemaLocation).
>
> If someone knows about it, please let me know if there settings are possible
> or not and if yes, how can I configure it.

Currently there are two ways I can think of for handling schema validation:

1) Via the servciemix-camel component and Camel's validation component:

http://activemq.apache.org/camel/validation.html

2) Via the servicemix-bean component where you'd have to write your
own validator using Java

HTH

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to