Java ImportClient and HTTP Authentication

2014-10-24 Thread Fabian Cretton
Hi, In a Marmotta module I am developping, I did use ImportClient to upload data, and it did work fine. However, when changing Marmotta's security from "simple" to "restricted", the ImportClient was failing with a 401. I did try to pass a user/pwd to the ClientConfiguration(), but the error

Rép. : Re: Importing Data - API change ?

2014-10-24 Thread Fabian Cretton
Sergio, now that I start to be more familiar with Marmotta, and that I am developping new modules, I will try to be of some help if possible, providing code or doc update let me know if I can be of any help Fabian >>> Sergio Fernández 24.10.2014 11:04 >>> I'll do it later. Thanks for the repor

Re: Importing Data - API change ?

2014-10-24 Thread Sergio Fernández
I'll do it later. Thanks for the report. On 24/10/14 09:28, Fabian Cretton wrote: I think I found the answer, the context must now be specified in the ClientConfiguration. Maybe only the doc needs an update then :-) Thanks Fabian "Fabian Cretton" 24.10.2014 09:02 >>> Hi, I am trying to imp

Rép. : Importing Data - API change ?

2014-10-24 Thread Fabian Cretton
I think I found the answer, the context must now be specified in the ClientConfiguration. Maybe only the doc needs an update then :-) Thanks Fabian >>> "Fabian Cretton" 24.10.2014 09:02 >>> Hi, I am trying to import data as explained here: http://wiki.apache.org/marmotta/ImportData writing

Importing Data - API change ?

2014-10-24 Thread Fabian Cretton
Hi, I am trying to import data as explained here: http://wiki.apache.org/marmotta/ImportData writing java code as : ImportClient importClient = new ImportClient(configuration); InputStream is = new FileInputStream(new File(path)); RDFFormat format = Rio.getParserFormatForFileName(path); importC