Hi,
We don't support the @SchemaValidation. In Tuscany, we do validate the
composite files and other XML files loaded by Tuscany against the SCA
schemas. The schemas can be plugged into as an extension to Tuscany using
META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema.
The content of the file lists the schema locations. You can find an example
at [1].
Thanks,
Raymond
[1]
https://svn.apache.org/repos/asf/tuscany/java/sca/modules/assembly-xsd/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema
--------------------------------------------------
From: "Ali, Haneef" <haneef....@hp.com>
Sent: Monday, March 30, 2009 4:46 PM
To: <user@tuscany.apache.org>
Subject: SchemaValidation
Hi,
I have created stubs from the wsdl. But the stub created using jaxws
doesn't do schema validation by default. So I added schemavalidation
annotation to the service. Still it doesn't do schemavalidation. Does
Tuscany do schemavalidation?
e.g
@javax.jws.WebService(......)
@SchemaValidation(handler=ErrorHandler.class)
public class MyServiceImpl implements MyService {
------
}
Is @SchemaValidation supported in Tuscany?