Reports incorrect Spring Web Services annotations.
Example:
// 1. @PayloadRoot on non-endpoint classes
public class HolidayEndpoint {
@PayloadRoot(namespace = NAMESPACE_URI, localPart = "HolidayRequest") // @PayloadRoot is supported on @Endpoint classes
public void handleHolidayRequest(@RequestPayload Element holidayRequest) throws Exception {
...
}
// 2. @XPathParam on @PayLoad methods
@Endpoint
public class AirlineEndpoint {
@Namespace(prefix = "m", uri = MESSAGES_NAMESPACE) @ResponsePayload
public GetFlightsResponse getFlights(@XPathParam("//m:sc") String serviceClassString) {..} //@XPathParam is supported on @PayLoad methods
}
}