Messages
Topic:
How to use AuthToken to authenticate a SOAP api call (using java client library)
i am also getting everything as null. It will be great if hi5 guys can give an update on whether the error is on our side or they api is not working as of now.
will it be working before the launch
Mar 26, 2008
10:13 AM
this line:
HashMap headers = new HashMap();
had a 'angle braket'String, String'angle braket' but this got stripped out by this forum or something...
Mar 21, 2008
5:53 AM
Here is snipped that 'works'
AuthApiImpl auth = new AuthApiImpl();
AuthToken token = auth.auth_plain("YOUR APP API KEY",
"UR EMAIL FOR HI5 login", "YOUR PASS");
ProfileApiImpl a = new ProfileApiImpl();
HashMap
Mar 21, 2008
5:51 AM
You can add it as a cookie named Hi5AuthToken (this works for rest/soap equally)
More info can be found here:
http://docs.codehaus.org/display/ENUNCIATE/Using+the+generated+client-side+services
Mar 20, 2008
11:56 AM
I am using the java 1.5 client library provided by Hi5 but not sure as to how do i use an AuthToken while using , say, ProfileApi to get some information about a profile ?
Mar 20, 2008
4:05 AM