Revision 5462
Added by berkley almost 14 years ago
CrudService.java | ||
---|---|---|
268 | 268 |
InputStream object, SystemMetadata sysmeta) throws InvalidToken, |
269 | 269 |
ServiceFailure, NotAuthorized, IdentifierNotUnique, UnsupportedType, |
270 | 270 |
InsufficientResources, InvalidSystemMetadata, NotImplemented { |
271 |
System.out.println("#####################Create!"); |
|
272 |
|
|
273 | 271 |
logMetacat.debug("Starting CrudService.create()..."); |
274 | 272 |
|
275 | 273 |
// authenticate & get user info |
... | ... | |
1579 | 1577 |
} |
1580 | 1578 |
String result = handler.handleInsertOrUpdateAction(metacatUrl, null, |
1581 | 1579 |
null, params, username, groupnames); |
1582 |
System.out.println("$$$$$$$$$$$$ result: " + result); |
|
1583 | 1580 |
if(result.indexOf("<error>") != -1) |
1584 | 1581 |
{ |
1585 | 1582 |
throw new ServiceFailure("1000", "Error inserting or updating document: " + result); |
Also available in: Unified diff
fixed mime multipart problems so that roger can try to use the d1client