Hi All,

When I am doing wsdl2java it is creating two response objects like

public class MyServiceResponse {
// All properties with getter and setter
}

and

public class MyServiceResponse2 {
protected MyServiceResponse myServiceResponse;
//getter and setter methods
}

Why it is creating like that? Can anyone tell me the reason? Also what I have to do to avoid happening this?