From: Ying J. <Yin...@ri...> - 2012-06-26 16:46:36
|
Hi Hayden, I work with Kathi on the multipart deposits. I tried to deposit metadata and content separately using curl command on DSpace 1.8.2. The items are deposited but Incomplete (no handle assigned yet). As you said, there is no response after content deposit. Would you mind to send me your source code with a response generated? Also, what do you do to completeIncompleteDeposit? Thanks, Ying On Jun 21, 2012, at 11:17 PM, Hayden Young wrote: > Yes I noticed the sword version was missing although it didn't seem > to impact on our ability to submit to the repository. Don't know > about the encoding issue; I'll check our service document when I get > a chance to see if it is missing for me also. > > There was another issue we ran into where the deposit was relying on > a response which was never generated; checking the SWORD > documentation confirmed that such a response was desired but not > mandatory so I hacked around it. I can't remember the specifics of > the issue but when I get a chance I'll push my changes to the main > source code repo and update you. > > Cheers > > > Hayden > > On 22/06/12 10:34, Kathi Fletcher wrote: >> >> Hi Hayden, >> >> Thanks for the pointer. We will try that. >> >> I also submitted a bug about the service document not having the >> encoding listed and not being UTF-8, which is the default. The >> SWORD version was also missing. I must review the spec to see if >> that is required or not. >> >> These comments apply to the demo server. I don't know if it applies >> to all instances of DSpace. Did you run in to that? We are able to >> work around those, but in a very hackish way. >> >> Kathi >> >> On Thu, Jun 21, 2012 at 6:00 PM, Hayden Young >> <hay...@wi...> wrote: >> We had to deposit metadata and content separately for our PHP sword >> deposit app to work with DSpace. >> >> depositAtomEntry to deposit the metadata, >> addExtraFileToMediaResource to deposit the assets, >> completeIncompleteDeposit to complete the deposit and have it show >> up in workflow. >> >> I can send you our source code if you require it. >> >> Cheers >> >> Hayden >> >> >> On 22/06/12 06:30, Kathi Fletcher wrote: >>> >>> So that means that we should instead do the deposit of metadata >>> and content separately? -- Kathi >>> >>> On Thu, Jun 21, 2012 at 4:45 PM, Richard Jones <ri...@co... >>> > wrote: >>> Hi Kathy, >>> >>> Multipart doesn't currently work in DSpace, unfortunately. There >>> was >>> an issue with the Abdera server that the implementation is based on >>> that we haven't been able to resolve. >>> >>> Cheers, >>> >>> Richard >>> >>> On 21 June 2012 22:27, Kathi Fletcher <Kat...@gm...> >>> wrote: >>> > Hello, >>> > >>> > We are attempting to test our SWORDV2 client against >>> demo.dspace.org which >>> > is running DSpace 1.8.3. >>> > >>> > When using our client, or a curl command line with multipart, we >>> get "The >>> > server encountered an internal error () that prevented it from >>> fulfilling >>> > this request.</u></p><p><b>exception</b> >>> > <pre>javax.servlet.ServletException: >>> > org.apache.commons.fileupload.FileUploadException: Header >>> section has more >>> > than 10240 bytes (maybe it is not properly terminated" >>> > >>> > but the same file and boundary do work with Connexions, so I >>> just wanted to >>> > confirm that others are successfully using multipart deposits >>> with the demo >>> > dspace server before we try to dig in further. >>> > >>> > Kathi >>> > >>> > -- >>> > Katherine Fletcher, kat...@gm... >>> > Twitter: kefletcher Blog: kefletcher.blogspot.com >>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > Live Security Virtual Conference >>> > Exclusive live event will cover all the ways today's security and >>> > threat landscape has changed and how IT managers can respond. >>> Discussions >>> > will include endpoint security, mobile security and the latest >>> in malware >>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> > _______________________________________________ >>> > sword-app-tech mailing list >>> > swo...@li... >>> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech >>> > >>> >>> >>> >>> -- >>> >>> Richard Jones, >>> >>> Founder, Cottage Labs >>> t: @richard_d_jones, @cottagelabs >>> w: http://cottagelabs.com >>> >>> >>> >>> -- >>> Katherine Fletcher, kat...@gm... >>> Twitter: kefletcher >>> Blog: kefletcher.blogspot.com >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. >>> Discussions >>> will include endpoint security, mobile security and the latest in >>> malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> >>> >>> _______________________________________________ >>> sword-app-tech mailing list >>> swo...@li... >>> https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> >> -- >> Hayden Young >> Managing Director >> Wijiti Pty Ltd >> p. +61 (0) 8 6398 5010 >> e. hay...@wi... >> w. www.wijiti.com >> vcard. www.wijiti.com/vcard/haydenyoung.vcf >> >> NOTICE >> This e-mail and any attachments are intended for the addressee(s) >> only and may be confidential. They may contain legally privileged >> or copyright material. You should not read, copy, use or disclose >> them without authorization. If you are not the intended recipient >> please contact the sender as soon as possible by return e-mail and >> then please delete both messages. This notice should not be removed. >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions >> will include endpoint security, mobile security and the latest in >> malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> >> >> >> >> -- >> Katherine Fletcher, kat...@gm... >> Twitter: kefletcher Blog: >> kefletcher.blogspot.com >> >> >> > > -- > Hayden Young > Managing Director > Wijiti Pty Ltd > p. +61 (0) 8 6398 5010 > e. hay...@wi... > w. www.wijiti.com > vcard. www.wijiti.com/vcard/haydenyoung.vcf > > NOTICE > This e-mail and any attachments are intended for the addressee(s) > only and may be confidential. They may contain legally privileged or > copyright material. You should not read, copy, use or disclose them > without authorization. If you are not the intended recipient please > contact the sender as soon as possible by return e-mail and then > please delete both messages. This notice should not be removed. > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech |