I have a couple of XML shemas and some WSDL files that reference these XSD.
I have some process that marshall/unmarshall the XML files based on the schemas for some batch process.
I would like to reuse some code with the service implementation for the shared objects between the batch processes and the web service processes.
Is there a way to do that?
As far as I know, JBoss hides the XML unmarshalling/marshalling when a web method is called.
Would there be an easy way to have as a method input/output some object defined in an XML schema and for which the marshalling /unmarshalling is handled by any databinding library (castor, jaxb, etc...)?
In JAXWS you can use JAXB to go between XML/Java.
JBossWS does not support custom serializers/deserializers.