This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have an XSD document and I want to instert the complex types it contains into a Definition object I have created (I'm using WSDL4J). If I create an Import object, I simply get a reference to the xsd, however, I actually want the <types> ... ... ... </types> tags to be filled up with the contents of the xsd file. Short of doing a crude parse-the-xsd-and-insert-into-wsdl, I wondered what I needed to do?