• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

returning a two dimensional array in AXIS2

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 http://ws.apache.org/axis2/tools/index.html

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:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="return" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>

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!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic