NEWBIE question: how to get the contents of an XSDSchema->WSDL in Java [message #589724] |
Wed, 14 July 2004 15:14 |
Eclipse User |
|
|
|
Originally posted by: a.rutherford.dsl.pipex.com
Hi,
I've got an XSDSchema object, and I simply want to add the types defined in
here in a WSDL document, without using the <import/> tags. I actually want
to see the <types>....</types> to be filled with the types defined in my
XSDSchema.
I'm using the Infoset plugins and also wsdl4j.
I've tried the following:
Definition wsdl = WSDLFactoryImpl.eINSTANCE.createDefinition();
wsdl.setQName(.....
wsdl.setNamespace(....
Types types = wsdlFactory.createTypes();
wsdl.setTypes(types);
I need to know what method to call on the XSDSchema object to return
something I can either populate the 'types' object, or the 'wsdl' object
directly.
thanks for your help
Andy
|
|
|
Powered by
FUDForum. Page generated in 0.03232 seconds