Hi there,
I am trying to get the fglwsdl tool to generate client stub code from a published web service. I am running into difficulty when the tool encounters an element that is defined as abstract, such as the following in an xsd file:
[...]
<xsd:element ref="nc:LocationCountry" minOccurs="0" maxOccurs="1"/>
[...]
<xsd:element name="LocationCountry" abstract="true">
<xsd:annotation>
<xsd:documentation>A country, territory, dependency, or other such geopolitical subdivision of a location.</xsd:documentation>
</xsd:annotation>
</xsd:element>
[...]
The error I get when using fglwsdl is:
ERROR : Cannot instantiate abstract element 'LocationCountry'.Version information:
fglwsdl -V
fglwsdl 2.21.13 build-102278
Four J's WSDL and XSD generator
(c) 1989-2011 Four J's Development Tools
Can anyone give me some ideas on what I can try here? I kind of understand the error, but this webservice I am trying to connect to is currently in production and apparently others have been able to get it to work with whatever tools they are using. Does fglwsdl support this type of element definition? Or is there a way for it to skip over it?
Thanks,
Michael Laporte