ArrayOfXXX class out of soap input param of array type
I have a method with input param as Array. When I generate stub out of it creates List type. But I want to know how to create a wrapper class around array type e.g. for class Apple it should create ArrayOfApple . Is there any change needs to be done in class or any specific plugin need to be used? Note: I am using JAXWS with Apache CXF implementation Below is the sample code: EmployeeService.java : @WebService(endpointInterface="com.test.EmployeeService") @SOAPBinding(style=Style.DOCUMENT) public class EmployeeService { public String updateEmpRoles(@WebParam(name="EmpRoles")EmpRole[] empRoles)