Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get rid of ArrayOfString classes from jax-ws client code

When generating the client code from a WSDL using wsimport I am getting lot of ArrayOf*** classes. I want to make sure that I get String[] instead of ArrayOfString.

What external customization needs to be done to achieve this?

like image 892
kiri Avatar asked Nov 05 '22 19:11

kiri


1 Answers

As of now I have done a workaround by modifying the ArrayOfXXX object in to XXX[] by using reflection in an utility method.

like image 92
kiri Avatar answered Nov 09 '22 11:11

kiri