Hi Richard,
Thats the question. I meant I cant use the availbale clients (SWORD
Client web, Desktop client) as the process of depositing has to be
integrated in my web interface, so I dont know how to addapt The SWORD
Client web (for example) to integrate it in my Java Project.
What method does the deposit ? Im looking the org.purl.sword.client.Client
class and its method postFile() but Im not sure, Am I in the right way?
Thanks a lot. Im a little bit lost.
Arucas Chacón de Frutos
Apoyo a Sistemas Informáticos
Unidad de Recursos de Información Científica para la Investigación - Unit of
Information Resources for Research
Consejo Superior de Investigaciones Científicas - Spanish National Research
Council
C/Joaquín Costa 22; Desp. 314
28002 MADRID
ESPAÑA-SPAIN
Telf. 34-91-5681671; Ext. Interna 991671
Fax: 91 568 16 81
e-mail: <mailto:arucas.cha...@bib.csic.es> arucas.cha...@bib.csic.es
<http://bibliotecas.csic.es> http://bibliotecas.csic.es
De: Richard Jones [mailto:rich...@cottagelabs.com]
Enviado el: jueves, 19 de enero de 2012 11:00
Para: Arucas Chacón
CC: Stuart Lewis; sword-app-tech@lists.sourceforge.net
Asunto: Re: [sword-app-tech] Sowrd deposit without a client
Hi Arucas,
If you want to deposit without using a client, where are you doing the
deposit /from/?
Cheers,
Richard
On Thu, Jan 19, 2012 at 8:23 AM, Arucas Chacón <arucas.cha...@bib.csic.es>
wrote:
Thanks Stuart, but I need sth in Java.
Our Project consists of depositing in our repository though SWORD. The idea
is doing a kind of integrated Client, but EasyDeposit is in php, is there
sth in Java?? Maybe sth like org.purl.sword.client.SWORDClient of Sword Web
Client, Am i right?
Thanks
Arucas Chacón de Frutos
Apoyo a Sistemas Informáticos
Unidad de Recursos de Información Científica para la Investigación - Unit of
Information Resources for Research
Consejo Superior de Investigaciones Científicas - Spanish National Research
Council
C/Joaquín Costa 22; Desp. 314
28002 MADRID
ESPAÑA-SPAIN
Telf. 34-91-5681671; Ext. Interna 991671
Fax: 91 568 16 81
e-mail: arucas.cha...@bib.csic.es
http://bibliotecas.csic.es
-----Mensaje original-----
De: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
Enviado el: miércoles, 18 de enero de 2012 19:12
Para: Arucas Chacón
CC: <sword-app-tech@lists.sourceforge.net>
Asunto: Re: [sword-app-tech] Sowrd deposit without a client
Hi Arucas,
Would a command line tool such as curl do what you want?
curl -i --data-binary "@dspace-sword/example/example.zip" -H
"Content-Disposition: filename=myDSpaceMETSItem.zip"
-H "Content-Type: application/zip" -H "X-Packaging:
http://purl.org/net/sword-types/METSDSpaceSIP"
-H "X-No-Op: false" -H "X-Verbose: true"
http://dspace:dspace@localhost:8080/sword/deposit/123456789/2
Thanks,
Stuart Lewis
Digital Development Manager
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 <tel:%2B64%20%280%299%20373%207599%20x81928> x81928
On 19/01/2012, at 12:45 AM, Arucas Chacón wrote:
> Hi everybody,
>
> In our Project We need to deposit files without using a client, but we
are
> not sure which are the methods and clases to do it..
> Should I program sth like DummyServer and its doDeposit() method? We've
> already tried it by using code of Sword Web Client but I can't found out
the
> way to do it Works..
> Our enviornment is the following:
> DSpace 1.6.2
> SWORD 1.3
>
> Any suggestions?
>
> Thanks in advance
>
> Arucas Chacón de Frutos
> Apoyo a Sistemas Informáticos
> Unidad de Recursos de Información Científica para la Investigación - Unit
of
> Information Resources for Research
> Consejo Superior de Investigaciones Científicas - Spanish National
Research
> Council
> ESPAÑA-SPAIN
> e-mail: arucas.cha...@bib.csic.es
>
>
>
>
>
>
----------------------------------------------------------------------------
--
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> sword-app-tech mailing list
> sword-app-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sword-app-tech
----------------------------------------------------------------------------
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech