All,
I have a webservice that requires custom types, so I've written (de)serializers for them. I'm using Axis 1.1 on the latest Tomcat 5.
I have an external XSD that defines the data types, and I'd like to use elements of the XSD to generate the schema used in the writeSchema( ) method.
I've met with no success, and ended up building the schema from scratch inside the writeSchema method which seems not good:
I created a DOM tree from my external XSD and extracted the relevent <complexType> element into a Node object. I then tried different ways to get the Types object to import it (via DOM's importNode( ) method) and was unsuccessful. I ended up building the XSD from scratch using the Types createElement( ) method.
Is there a way I can use external XSD and place content from it into my WSDL types? I don't want to have to maintain my datatypes in multiple places if possible. Am I missing something?
Thanks for any help!
Elliot Metsger [EMAIL PROTECTED]
