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:
Fri, 21 Jun 2013 09:41:07 GMT
and this are the same informations in C# and unity:
Authorization: VWS ab5201de5230e0de38e7857306ed8531561ec188:eFBkcMBFxEdzU7BzsoIvw217/os=
Date: Fri, 21 Jun 2013 09:51:17 GMT
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...
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!