Hi,

And thanks for the tip. I cheched the sword-metadata.xml and it indeed
had fields that DSpace registry was missing. I fixed this, but yet I
am getting "Code: 401: unauthorized".

On SWORD client debug window it says:

"INFO [org.apache.commons.httpclient.HttpMethodDirector] Failure
authenticating with BASIC 'SWORD'@otto.terkko.helsinki.fi:8048"

Any ideas what might be wrong here?

Thanks,
Mika


2009/3/5 Debashree Pati <[email protected]>:
> Hi Mika,
>
> The "unauthorized' message is sometimes misleading. In our case it was due
> to missing elements/attributes in the dspace dc-types.
>
> If you compare the metadata being imported with the default schema at your
> site in the file
> [dspace-source]/dspace/config/registries/sword-metadata.xml, you may find
> some fields missing.
>
> For us, the fields: dc.language.rfc3066, dc.date.updated, and
> dc.description.version were in the metadata being imported but not present
> in the sword-metadata.xml. Adding these fields had solved the problem.
>
> You may want to verify yours. Otherwise, it would be due to something else
> and someone else might have the answer for it. Good luck!
>
> -Debashree
>
>
> -----Original Message-----
> From: mikan.d.dspace listmail [mailto:[email protected]]
> Sent: Thursday, March 05, 2009 9:54 AM
> To: [email protected].
> Subject: [Dspace-tech] SWORD post error
>
> Im testing DSpace SWORD application, but when Im trying to do post I
> get "unauthorized", allthough username and password are the same as
> DSpace admin. Should I set some specific authorizations for
> collections that I want to be able to do POST or what would do the
> trick here?
>
> Thanks,
> Mika
>
> ----------------------------------------------------------------------------
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to