Hi,
I use short-lived process as WebServices in my forms.
When I use them in the workspace on a distant computer, a prompt appears for authentification.
There is the code I use to invoke my WebServices. I try with and without the line : service.authenticator = oAuthenticator;
----------------------------------------------------
var secure = true;
var oAuthenticator =
{
Username: "administrator",
Password: "password"
};
------------------------------------------------------
var service = SOAP.connect(cWSURLliste);
if (secure){
service.authenticator = oAuthenticator;
xfa.host.messageBox("authentification");
}
if(typeof service != "object")
xfa.host.messageBox("Couldn't get WSDL object");
if(service.invoke == "undefined")
xfa.host.messageBox("Couldn't get webservicex.invoke Call");
var param =
{
nom_client:nom,
};
Thanks