NEWBIE question: how to get the contents of an XSDSchema->WSDL in Java [message #48984] |
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
|
|
|
Re: NEWBIE question: how to get the contents of an XSDSchema->WSDL in Java [message #49015 is a reply to message #48984] |
Thu, 15 July 2004 12:35 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Andy,
Doesn't the <types> section simply contain embedded schemas directly? E.g.,
<wsdl:types>
<xsd:schema ...
I don't know the WSDL model well enough to how to populate it. What
type of object do you need for it populate the <types> section?
Andy Rutherford wrote:
>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
>
>
|
|
|
|
Re: NEWBIE question: how to get the contents of an XSDSchema->WSDL in Java [message #589737 is a reply to message #48984] |
Thu, 15 July 2004 12:35 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
Andy,
Doesn't the <types> section simply contain embedded schemas directly? E.g.,
<wsdl:types>
<xsd:schema ...
I don't know the WSDL model well enough to how to populate it. What
type of object do you need for it populate the <types> section?
Andy Rutherford wrote:
>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
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02806 seconds