Hi all,
I was wondering if anyone could give me some pointers on using the Java
client API. I'm using the class net.handle.apps.simple.HDLCreate as my
guide to implement my own handle creating code (class attached).
The GUI works fine, but both when I use HDLCreate or my HandleBroker class
the server returns "Invalid ADMIN":
sending HDL-UDP request (version=2.1; oc=1; rc=0; snId=0 caCrt noAuth
0.NA/10041 [HS_SITE, HS_SERV, ] [ ]) to 132.151.1.179:2641
sending HDL-TCP request (version=2.1; oc=100; rc=0; snId=0 caCrt noAuth
adm 10041/foo-1) to 131.111.121.77:2641
received HDL-TCP response: version=2.1; oc=100; rc=402; snId=34 caCrt
noAuth
sending HDL-TCP request (version=2.1; oc=200; rc=0; snId=34 caCrt noAuth
/ HS_PUBKEY 300:O.NA/10041) to 131.111.121.77:2641
received HDL-TCP response: Error(400): INVALID ADMIN
1328 [main] ERROR uk.ac.cam.spectra.spectrasub.HandleBroker - Got Error:
Error(400): INVALID ADMIN
I've poked logging output into the GUI and the requests, HandleValue and
AuthenticationInfo object all look the same to me.
Any clues what could be tripping me up?
Thanks,
jim
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info