ab.addEntry (name1, addr1);
Address resp = ab.getAddressFromName (name1);
// if we are NOT maintaining session, resp must be == null.
// If we ARE, resp must be != null.
resp = ab.getAddressFromName (name1);
// Test NPE
try {
ab.addEntry(null, null);
throw new Exception("Expected exception when calling addEntry with null params");
} catch (org.apache.axis.AxisFault e) {
if ("java.lang.IllegalArgumentException".equals(e.getFaultString())) {
// Good! Expected this!
} else {
throw e; // This is not right!
}
}
return resp;