Now I got the problem,
the JSP code works fine but when I tried it with php its gives me
HTTP ERROR 400
Problem accessing /service/preauth/. Reason:
authentication failed for test@test.com
Powered by Jetty://
after some efforts I get to know that the problem is occurred because of timestamp.
When I am using JSP timestamp value with PHP than PreAuth works fine.
Please suggest some suitable way.....