DispositionReport disp = proxy.add_publisherAssertions(token.
getAuthInfoString(), pubAssert);
assertFalse(disp.success());
Vector results = disp.getResultVector();
Result result = (Result)results.elementAt(0);
ErrInfo errInfo = result.getErrInfo();
assertEquals(errInfo.getErrCode(),DispositionReport.E_invalidKeyPassed);
//assertEquals(disp.getErrCode(),disp.E_invalidKeyPassed);
}
catch (TransportException ex) {
fail(ex.toString());
}
catch (UDDIException ex) {
DispositionReport disp = ex.getDispositionReport();
assertFalse(disp.success());
Vector results = disp.getResultVector();
Result result = (Result)results.elementAt(0);
ErrInfo errInfo = result.getErrInfo();
assertEquals(errInfo.getErrCode(),DispositionReport.E_invalidKeyPassed);
//assertEquals(disp.getErrCode(),disp.E_invalidKeyPassed);
}
}