Hello
I have a code with nuxeo's automation client, the code was
working perfect when my url was
"http://localhost:8080/nuxeo/site/automation". I was able to
start a session, create paths into nuxeo and upload files,
etc. Now that I changed my url to
"https://localhost:8443/nuxeo/site/automation" I cannot
start a session, I get the exception. Given the differences
between http and https, It is possible to use
HttpAutomationClient to establish a connection with a https
url?
This is the code that starts my session
public boolean startSession(String url, String user, String
password)
{
boolean startedSession = false;
try{
//Connect to the server
System.out.println("Connecting to the local host");
client = new HttpAutomationClient(url);
if(client == null)
{
System.out.println("Client is equal NULL");
}
//Start a session
System.out.println("starting session");
session = client.getSession(user, password);
if(session == null)
{
System.out.println("Session is equal to NULL");
}
startedSession = true;
}
catch (Exception e)
{
System.out.println("It was not possible to start the
session");
closeConnection();
return startedSession;
}
return startedSession;
}
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/