Hello,

I've got the exact same problem. I'm using the nuxeo-http-client and at first I 
tought that nothing happend. But after some debugging I see that it throws a 
302 HTTP code and then drops the entire operation. 

I've tried using plain java.net API but that gave me even more problems. What 
are my options? I have a deadline and this is holding us back ..


This is my code:

NuxeoServer nxServer = new NuxeoServer(http://172.3.4.12/nuxeo";);
                    nxServer.setAuthType(NuxeoServer.AUTH_TYPE_BASIC);
                    nxServer.setBasicAuthentication("ldapuseraccount", 
"ldappassword");
                        
                    Representation res = 
nxServer.doRestletGetCall("default/*/browse", null);
                                        
                     BufferedReader in = new BufferedReader(new 
InputStreamReader(res.getStream()));
                        String str;
                        while ((str = in.readLine()) != null) {
                                System.out.println("--> "+str);
                        }

Any help would be greatly appreciated,
Jan van den Berg
--
Posted by "vandenberg" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2354#6352>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to