After 2 hours installing tousand of libraries for java, android and eclipse, i got the java example to work, and everything workes fine. I got a correct answer from the server.
So the question is: "Why does my code dont work anymore?"
These are the informations send in java:
GET
d41d8cd98f00b204e9800998ecf8427e
Fri, 21 Jun 2013 09:41:07 GMT
/targets/5f6849ecc6334e9eae45d5c9872e2f31
{"target_record":{"target_id":"5f6849ecc6334e9eae45d5c9872e2f31","active_flag":true,"name":"tarmac","width":200.0,"tracking_rating":4,"reco_rating":"","total_recos":0},"status":"success","result_code":"Success","transaction_id":"c7d51c7cb8c8400185985b05b61ff1fb"}
and this are the same informations in C# and unity:
GET
/targets/5f6849ecc6334e9eae45d5c9872e2f31
Authorization: VWS ab5201de5230e0de38e7857306ed8531561ec188:eFBkcMBFxEdzU7BzsoIvw217/os=
Date: Fri, 21 Jun 2013 09:51:17 GMT
Content-Type:
To repeat that: I dont changed anything relevant to the authorization algorithm. The SignatureBuilder and the GetTarget-Routine is still the same as before,but I got some weird behaviour if i remove some parts of my code:
If i remove the Authorization header and the date header nothing happens, still get "Fail" return code. If i remove the ContentType header, the authorization header AND the date header i got a "AuthenticationFailure" return code instead of a "Fail" return code.
Does any of this informations help to solve this problem? It starts to driving me nuts...
Thanks!
-Björn
P.S.: I changed the actual values like targetId and signature-string to random values for security resons, but you can be sure, that everthing looks like this, but i changed some numbers!
I am still facing this issue.