cancel
Showing results for 
Search instead for 
Did you mean: 

probleme ntlm

manu80
Champ in-the-making
Champ in-the-making
bonjour,

je voudrais excuter un webscript a partir de java en faisant

String path = alfresco + "createExprBesoin?cod=" + EB.getIdentifiantEB() + "&ver="+ EB.getVersionEB() + "&ticket=" + request.getSession().getAttribute("ticket");
URL url = new URL(path);
url.openStream();
DataInputStream dis = new DataInputStream(url.openStream());‍‍‍‍‍

tout cela marchait très bien avt l'utilisation de ntlm mais maintenant le datainputstream me renvoie le formulaire de connexion.

Est ce que quelqu'un aurait une explication pour ce soucis.

merci
2 REPLIES 2

michaelh
Champ on-the-rise
Champ on-the-rise
bonjour,

Est-ce que tu peux fournir le chemin utilisé pour appeler le script ?

Ca a son importance, comme expliqué ICI

    "/alfresco/service" ou "/alfresco/s" => Authentification HTTP basique
    "/alfresco/wcservice" ou "/alfresco/wcs" => Authentification client web.

manu80
Champ in-the-making
Champ in-the-making
le chemin d'acces c'est :

"http://serveur:host/alfresco/wcs/dossier/" + webscript a accéder (exempe createdoc)

en fait c'est le inputstream qui ne veut pas etre lu…

merci
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.