Hi, i tryed posting username/password to connect to Domino 8.5 via HTTP, to put the returned session id at the next post to a secure domino web service.
My code follows:
//Apache Axis2
HttpClient httpclient = new HttpClient();
PostMethod httppost = new PostMethod();
httppost.addParameter(“Username”, userName);
httppost.addParameter(“Password”, password);
httppost.setPath(“http://somehost/Desarrollo/DNSC/GestionDocumental.nsf/WS_BuzonInterno?openWebService”);
httpclient.executeMethod(httppost);
Header h1= httppost.getResponseHeader(“Set-Cookie”);
h1 results null!!!
Looking java variables at debug time, Domino didn’t returned the header ‘Set-Cookie’ with the value DomAuthSessId=…
Any ideas???
thanks
Diego