Hi Mika, > 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". >
Anything helpful in the logs? I presume that the user you are depositing as (and optionally on behalf of) are both authorised to deposit into the target collection? > 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) > This problem is caused by using the old sword client on the new sword server implementation, which won't work due to changes in the standard. You should try the latest version of the client instead (which you may have to compile from svn from the sword sourceforge page - I'm not sure of the release status of the client) > 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 > It took me a very long time to get the LNI to work, and I'm afraid it was sufficiently long ago that I don't remember anything specific. Larry Stone, who wrote the LNI, might be able to help you more. Cheers, Richard >> 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 <[email protected]>: >>>>> >>>>> >>>>> >>>>>> 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 >>>>>>> [email protected] >>>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> Richard Jones >>>>>> Head Repository Systems Architect, Symplectic Limited >>>>>> e: [email protected] >>>>>> t: 0845 026 4755 >>>>>> t: +44 (0)207 7334036 >>>>>> w: http://www.symplectic.co.uk/ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>> -- >>>> Richard Jones >>>> Head Repository Systems Architect, Symplectic Limited >>>> e: [email protected] >>>> t: 0845 026 4755 >>>> t: +44 (0)207 7334036 >>>> w: http://www.symplectic.co.uk/ >>>> >>>> >>>> >>>> >> -- >> Richard Jones >> Head Repository Systems Architect, Symplectic Limited >> e: [email protected] >> t: 0845 026 4755 >> t: +44 (0)207 7334036 >> w: http://www.symplectic.co.uk/ >> >> >> > > -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

