Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration.getArrayType() always returns null #238

Closed
lega-land opened this issue Jul 14, 2015 · 0 comments · Fixed by #261
Closed

Declaration.getArrayType() always returns null #238

lega-land opened this issue Jul 14, 2015 · 0 comments · Fixed by #261

Comments

@lega-land
Copy link

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[]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant