• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

returning a 2-d array

 
archit thakur
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can a 2-d array be returned from the method of end point implementation class generated using annotations?
if not, what is the solution to the problem?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
With the following method in the endpoint implementation class:


If we then look at the generated WSDL, there is the following type declared for the reply of the above method:


The stringArray type is type predefined by JAXB that appears in a separate XML schema:

Thus the data returned from the method will be a list of stringArray-s.
Best wishes!
 
archit thakur
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you, but is it also applicable if i have to return any other datatype array
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic