Thanks. This solved part of the case in my other test instance (DSpace 1.5.1). But still when I try to do the deposit I get "Not authorized".
On my other test instance (DSpace 1.5.2) SWORD Client refuses to read the service document. I can see it on browser window, and it looks fine to me. http://otto.terkko.helsinki.fi:8048/sword/servicedocument INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] basic authentication scheme selected org.purl.sword.client.SWORDClientException: Not an app:service element at org.purl.sword.client.Client.getServiceDocument(Client.java:298) at org.purl.sword.client.GuiClient$AddServiceAction$1.doInBackground(GuiClient.java:497) at org.purl.sword.client.GuiClient$AddServiceAction$1.doInBackground(GuiClient.java:548) at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.jdesktop.swingworker.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I tried LNI instructions from Wiki. To keep it simple I tried the following: http://otto.terkko.helsinki.fi:8048/lni/dav/dso_2455%24133799 But it results to an error, which makes me wonder is something missing from the installation? Error: Cannot find a disseminate plugin for package=default RequestURI=/lni/dav/dso_2455%24133799 Thanks, Mika 2009/5/19 Richard Jones <rich...@symplectic.co.uk>: > Hi Mika, > >> Im reposting this SWORD issue, since I havent found any solutions for it. >> I cant seen to make SWORD work with DSpace 1.5.2. With the previous >> version I was able to browse collection via SWORD Client, allthough >> submission didnt work. Now Im getting this error: HTTP Status 400 - >> Unable to recognise URL as a valid service document: >> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument >> type Status report >> > > Ah, I think I've got it ... > > Do you have the parameter > > sword.servicedocument.url > > set in your configuration? If not, the implementation assumes that the > service document url will be > > {dspace.url}/sword/servicedocument > > If you're not deploying it in this "standard" location, then you have to > tell the configuration what url to respond to. > >> I would also be interested in trying LNI, but havent found a good >> resource on how to use it. Any suggestions? >> > > There is some documentation on the wiki, although you will also find that a > bit of trial and error is required. > > Cheers, > > Richard > >>> Hi, >>> >>> >>>>> >>>>> Can you try requesting from: >>>>> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ >>>>> >>>>> >>>> >>>> I tried this, but Im getting exactly the same errors. Any ideas? >>>> >>>> >>> >>> Have you got anything in your logs? Check the dspace log and the tomcat >>> logs, to see if there's anything strange going on. >>> >>> Cheers, >>> >>> Richard >>> >>> >>>> >>>> 2009/4/15 Richard Jones <rich...@symplectic.co.uk>: >>>> >>>> >>>>> >>>>> Hi Mika, >>>>> >>>>> Can you try requesting from: >>>>> >>>>> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ >>>>> >>>>> >>>>> instead? Looking at the web.xml, it's set to recognise incoming >>>>> requests >>>>> to >>>>> >>>>> /servicedocument/* >>>>> >>>>> so it may require the trailing slash. >>>>> >>>>> Cheers, >>>>> >>>>> Richard >>>>> >>>>> >>>>> >>>>>> >>>>>> Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client >>>>>> says the following: >>>>>> -- >>>>>> status: Requesting the document from >>>>>> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument >>>>>> status: Got the document >>>>>> status: The status is: Code: 400, Message: 'Bad Request' >>>>>> -- >>>>>> Trying SWORD with browser, gives me an error message after I enter my >>>>>> userid & pass: >>>>>> >>>>>> -- >>>>>> HTTP Status 400 - Unable to recognise URL as a valid service document: >>>>>> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument >>>>>> type Status report >>>>>> message Unable to recognise URL as a valid service document: >>>>>> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument >>>>>> description The request sent by the client was syntactically incorrect >>>>>> (Unable to recognise URL as a valid service document: >>>>>> http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). >>>>>> -- >>>>>> >>>>>> Im using SWORD Client by University of Wales. Can someone suggest a >>>>>> working client or a proper way to try out SWORD? >>>>>> >>>>>> >>>>>> Thanks, >>>>>> Mika >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> This SF.net email is sponsored by: >>>>>> High Quality Requirements in a Collaborative Environment. >>>>>> Download a free trial of Rational Requirements Composer Now! >>>>>> http://p.sf.net/sfu/www-ibm-com >>>>>> _______________________________________________ >>>>>> DSpace-tech mailing list >>>>>> DSpace-tech@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Richard Jones >>>>> Head Repository Systems Architect, Symplectic Limited >>>>> e: rich...@symplectic.co.uk >>>>> t: 0845 026 4755 >>>>> t: +44 (0)207 7334036 >>>>> w: http://www.symplectic.co.uk/ >>>>> >>>>> >>>>> >>>>> >>> >>> -- >>> Richard Jones >>> Head Repository Systems Architect, Symplectic Limited >>> e: rich...@symplectic.co.uk >>> t: 0845 026 4755 >>> t: +44 (0)207 7334036 >>> w: http://www.symplectic.co.uk/ >>> >>> >>> > > > -- > Richard Jones > Head Repository Systems Architect, Symplectic Limited > e: rich...@symplectic.co.uk > t: 0845 026 4755 > t: +44 (0)207 7334036 > w: http://www.symplectic.co.uk/ > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech