how to initialize a xml validator within a custom service in

Posted by koendewaele on 07-Apr-2008 08:13

Hi,

We're developing a custom service for validating XML based on the javax.xml.validation.Validator api.

This service has a xmlresource-type Initialization parameter and points to an xsd file (within the sonicfs).

I can see in the logging that the service picks up the reference and I can even cast it to a string and dump the contents of the file but I can't get the Schema initialized properly. I'm not sure if this is really a SOnic ESB issue or a more genral 'javax.xml' issue.

Does somebody have an example or point me in the right direction?

configuration info:

I'm using the Sun 1.5.0_11-b03 vm

All Replies

This thread is closed