Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » finding enclosed type of soap-encoded arrays
finding enclosed type of soap-encoded arrays [message #596213] Mon, 22 August 2005 19:24
Randall Theobald is currently offline Randall TheobaldFriend
Messages: 34
Registered: July 2009

I'm having a problem drilling down to find what the element type is of a declared SOAP-encoded array using the eclipse XSD APIs.

Given the following schema defined in a WSDL <types> element:

<schema attributeFormDefault="qualified"
xmlns:wsdl="" xmlns:xsd1="">
<import namespace="" schemaLocation=""/>
namespace="" schemaLocation=""/>
<complexType name="Inventory">
<element name="reorderLevel" nillable="true" type="int"/>
<element name="status" nillable="true" type="string"/>
<element name="buildingID" nillable="true" type="int"/>
<element name="fullStockLevel" nillable="true" type="int"/>
<element name="building_Site_RID" nillable="true" type="int"/>
<element name="unitAvailable" nillable="true" type="int"/>
<element name="isStock" nillable="true" type="string"/>
<element name="building_SID" nillable="true" type="int"/>
<element name="productID" nillable="true" type="string"/>
<element name="location" nillable="true" type="string"/>
<element name="unitHeld" nillable="true" type="int"/>
<complexType name="ArrayOfInventory">
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd1:Inventory[]"/>
<complexType name="Inventories">
<element name="inventories" nillable="true" type="xsd1:ArrayOfInventory"/>

I load the WSDL file using a ResourceSet and get a

Using the Eclipse debugger, I can drill down and find the declared attribute "wsdl:arrayType",
but its value is always null. I have tried using various XSD APIs, including calling
XSDAttributeDeclaration.getResolvedAttributeDeclaration(), but to no avail.

Any ideas?
Previous Topic:Some Basic Qs
Next Topic:finding enclosed type of soap-encoded arrays
Goto Forum:

Current Time: Sat Jan 23 02:29:18 GMT 2021

Powered by FUDForum. Page generated in 0.02743 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top