xxx of yyy characters
Join Group

Hi5 Platform Development

Google Translation: Off

When Google Translation is on, topics and messages in this group will be machine-translated to your language by Google.

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


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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

Posted by John 

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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

Posted by John 

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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

Posted by Paul Lindner

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  

Title
body
 

Purchase additional coins

You need an additional: hi5 Coins hi5 Coins

Get Coins No Thanks