I had a service class with signature as below"
@WebMethod
public FetchIQAStatusResponseVO fetchIQAStatus(FetchIQAStatusRequest fetchIQAStatusRequest) {
On run I got the same error for FetchIQAStatusResponseVO
fields. I just added a line on top of FetchIQAStatusResponseVO
:
@XmlAccessorType(XmlAccessType.FIELD) //This line added
public class FetchIQAStatusResponseVO {
and this resolved the issue.