membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
93 stars 73 forks source link

Declaration.getArrayType() always returns null #238

Closed lega-land closed 7 years ago

lega-land commented 9 years ago

I'm parsing WSDL and tring to get wsdl:arrayType value: ComplexType c = (ComplexType) inEl.getEmbeddedType(); ComplexContent cc = (ComplexContent) c.getModel(); Restriction re = (Restriction) cc.getDerivation(); Attribute a = re.getAttributes().get(0); String value = a.getArrayType();

getArrayType() returns null, but it should be "s0:int[]" as in WSDL: attribute ref="soapenc:arrayType" wsdl:arrayType="s0:int[]"