@WebParam(name = "validate_values", targetNamespace = "urn:uddi-org:vs_v3", partName = "body") ValidateValues body)
throws DispositionReportFaultMessage, RemoteException {
messagesReceived++;
if (VALID) {
DispositionReport dispositionReport = new DispositionReport();
dispositionReport.getResult().add(new Result());
return dispositionReport;
}
DispositionReport dispositionReport = new DispositionReport();
Result r = new Result();
r.setKeyType(KeyType.T_MODEL_KEY);
r.setErrno(20200);
r.setErrInfo(new ErrInfo());
r.getErrInfo().setErrCode("E_invalidValue");
r.getErrInfo().setValue("E_invalidValue");
dispositionReport.getResult().add(r);
throw new DispositionReportFaultMessage("error", dispositionReport);
}