JAVA RMI wrong return type generated by WSimport tool

I am building a web service that includes some methods to do a specific job here is one of the web inferface methods: @WebMethod public DatingUserInfo[] GetAll(String gender); this method should …