You need to sign in to do that
Don't have an account?
Shiva
How to read HTTP header?
I have webservices running on our server and I am sending the http header for security purpose from SFDC.
This code is in my SFDC controller.
Service.ServiceSOAP wsdl = new Service.ServiceSOAP();
//Security
wsdl.inputHttpHeaders_x = new Map<String, String>();
//Setting a basic authentication header
wsdl.inputHttpHeaders_x.put('Authorization', 'Act QWxhZGRpbjpvcGVuIHNlc2FtZQ==');
Please can someone give some sample code(Java) to read this http header at the other end. We are using JAVA.
Thanks
Shiva