I have some general questions about document style web services. If you can answer my questions or direct me to an article or book I would appreciate it.
I have an XML document that I want to pass into a web service, and a different XML document is returned. If I am designing my interface to be suitable for Axis or WebLogic and I will also have .NET clients, would I pass the XML as a String, org.w3c.org.Document, org.w3c.org.Element, or a java object that contains the data?
I have seen reference to using all these methods. Does it matter if I also want to validate against a custom schema?
Does it matter if I am using Castor or XMLBeans? With XMLBeans I assume I would pass/return the Document object but with Castor I have seen passing a Java object and changing the Axis serializers(IBM article integrating Castor and Axis).
Is there a standard place/way to validate against a custom schema? If I am validating just the XML in the parameter do I need to setup a handler (does this work with wrapped)? Is there a way to have the SOAP processor validate the XML against my custom schema or does it only validate the whole soap message?
As you can see I am looking for some guidance, and any help is appreciated? A response for one of these questions would be helpful.