1. Can anyone give me a xsd file for the java class that is an input to a POJO that need to be exposed as web service that need to be exposed as Document/Literal style web service using Apache AXIS. Basically I want to generate an xsd schema for this java class and include that in a WSDL that need to be given to .NET so that they can consume my service.
2. Do we have tools that generate xsd schemas for such java classes. Did anyone use one ?
I know that for achieving Web Service interropability it is better to avoid language specific collections but still I am interested if anyone can answer to my 1st question.
Thanks & Regards,
posted 10 years ago
Java Vector is not really *supported* with web services, bacause it is related to some specific language options.
So in XML, it will probably become a xsd:anyType or a complexe type with a sequence of anyTypes.
For your needs, I believe the only fully interoperable type is java.lang.Array
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community