Hi folks,
Similar to Aleksander Slominski's question in 2004
(http://mail-archives.apache.org/mod_mbox/xml-xmlbeans-dev/200403.mbox/[EMAIL
PROTECTED]), I'm trying to use XmlBeans to parse web service schemas, some of
which include a special construct for arrays. I've worked out how to implement
this in my project, but there is one piece of data I can't seem to retrieve.
Here is an example from the Google search web service schema:
<xsd:complexType name="ResultElementArray">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="typens:ResultElement[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
How can I access the value of the wsdl:arrayType attribute of this
<xsd:attribute> definition? I have both the SchemaProperty and the SchemaType
defining this attribute, but can't find an accessor on either that can get me
this information. With the value of that wsdl:arrayType attribute, I can take
care of the rest.
The response from Radu to Aleksander was interesting, but I'm performing all of
this work dynamically at runtime, and not using XmlBeans to generate classes
from schemas. So rather than using a SchemaCodePrinter to get at this, I need
to be able to get this info from the SchemaProperty or SchemaType object.
Any ideas?
Thanks,
Vance
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]