I’ve seen a lot of people asking how to do this but few answers. I’m trying to authenticate to a web service on a distant site/server in the browser. The closest thing I’ve found to being able to do this is listed below, but the js won’t compile (I’m assuming it is some kind of apache issue). Is this possible?
(http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/redp4102.html?Open).
In Lotus Notes and Domino 7, a Web service has the same security capabilities as an agent. In Example3-19, we use HTTP basic authentication to secure our Web service. Apache SOAP lets us send the user name and password with the SOAP request by adding an instance of the class SOAPHTTPConnection to the Call object.
Example 3-19 Basic authentication with Apache SOAP
Call call = new Call();
SOAPHTTPConnection hc = new SOAPHTTPConnection();
hc.setUserName(userName);
hc.setPassword(password);
call.setSOAPTransport(hc);"