Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

returning a two dimensional array in AXIS2  RSS feed

Penko Ivanov
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I'm trying to generate a WSDL from a .java file with the plug-in for Eclipse "Code Generator Wizard - Eclipse Plug-in", available from

The method that I'm trying to generate has the following signature :
public String[][] translateConceptsToTerms(String[] conceptURIs, String lang)

So the return type is two dimensional array of Strings. The thing is that the tool generates the following lines in the WSDL :
<xs:element name="translateTermsToConceptsResponse">
<xs:element maxOccurs="unbounded" name="return" nillable="true" type="xs:string" />

which after that with the tool for generating Java code from WSDL generates as return type ONE dimensional array! (the second tool is from the same plug-in as the first one)

My question is if AXIS2 supports this return type, or there is some problem with the tools ... or something else? If somebody has any idea ... thanks in advance!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!