[Dspace-tech] Error while using dspace 1.7.1 API

2011-06-21 Thread dhaivat dave
Hello Everyone,



 I am using dspace 1.7.1 API in my application..
 I have simple structure of application i.e. only one jsp file almost same
 as index.jsp file now when i am executing this project it gives me a
 SQL java.sql.SQLException: java.lang.NullPointerException on the code of
  context = UIUtil.obtainContext(request);
 any one having idea what are the things required to set for initialize  the
 dspace...
 for the reference i have look at index.jsp of  JSPUI module .. Now in that
 file dspace first

 please help me out!!!



 Thanks,
 Dhaivat


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] dspace-1.7.1 API

2011-06-17 Thread dhaivat dave
Hi

I am trying to connect to dspace 1.7.1 using custom application..Now i want
to use some of the features of dspace ...
Could any one have idea about dspace 1.7.1 api...?? If any one have idea
where to start with than please let me know some steps 
where to start ...



Thanks,
Dhaivat
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Upload file using REST API

2011-06-15 Thread dhaivat dave
Hi

Finally i am able to make an entry in dspace using REST API..
Now in a next step i want to upload file using dspace..
How i can do that?


Thanks,
Dhaivat
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Upload file using REST API

2011-06-15 Thread dhaivat dave
Hi

Finally i am able to make an entry in dspace using REST API..
Now in a next step i want to upload file using dspace..
How i can do that?


Thanks,
Dhaivat













Regards,
Dhaivat
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Upload file using REST API

2011-06-15 Thread dhaivat dave
Hi

Finally i am able to make an entry in dspace using REST API..
Now in a next step i want to upload file using dspace..
How i can do that?


Thanks,
Dhaivat











Regards,
Dhaivat
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Upload file using REST API

2011-06-15 Thread dhaivat dave
you can search that thing on dspace api page...

I am trying the same thing i.e. upload document to dspace using rest api...

if you get any solution do share ..


Thanks,
Dhaivat
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Need Help for Dspace Rest API

2011-06-07 Thread dhaivat dave
Hi

I have implemented the xml request through java code .. But i am still
getting BAD Request as an errorI have attached the java file...Please
have a look and kindly correct me where i am going wrong..Thanks in
advance...


Regards
Dhaivat


RestTest.java
Description: Binary data
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Need Help for Dspace Rest API

2011-06-07 Thread dhaivat dave
Hi Folks

I have implemented the xml request through java code .. But i am still
getting BAD Request as an errorI have attached the java file...Please
have a look and kindly correct me where i am going wrong..Thanks in
advance...


Regards
Dhaivat













-- 
Thanking You

Dhaivat Dave


RestTest.java
Description: Binary data
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Need Help for Dspace Rest API

2011-06-04 Thread dhaivat dave
Hi

I have implemented the xml request through java code .. But i am still
getting BAD Request as an errorI have attached the java file...Please
have a look and try to solve it...


Regards,
Dhaivat


RestTest.java
Description: Binary data
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Need Help for Dspace Rest API

2011-06-01 Thread dhaivat dave
Hi,

I am trying to get the data from dspace using REST Api...I am able to GET
Data related communities,Collection and so on..
But when i am trying to create new Collection using POST Data it gives me
syntax error on tomcat...
I am using the following page as guidance..
https://wiki.duraspace.org/display/DSPACE/REST+API#RESTAPI-rcodes

Can you have an idea about how do i post data for creating the collection or
community...?

Thanks

Dhaivat Dave
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Need Help for Dspace Rest API

2011-06-01 Thread dhaivat dave
Hi Bojan,

I am using Xml ..i have attached a java file which sends the request to REST
API and get the response ...


Dhaivat


RestTest.java
Description: Binary data
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Parameters required by to rest api for creating Dspace collection.

2011-05-30 Thread dhaivat dave
Hi,

Can any one tell me how do i create collection using rest api.?

I want to know what are the parameters required and how do i passed it using
rest api

Here this link that i am following but couldn't get the syntax for passing
parameters...

https://wiki.duraspace.org/display/DSPACE/REST+API

Thanks
Dhaivat
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-devel] XMLUI ViewItem

2011-05-28 Thread dhaivat dave
Hi,

I am using DSpace Rest Api...Now using this i want to create collection .
There is url that specifies how to create i.e.
http://localhost:8080/dspace/collections/new.form
now there are some required field need to be set..After setting that field
when i m clicking on save button it give me following error..

{
  ref0: {
entityURL: \/dspace\/collections\/new,
reference: \/dspace\/collections\/new,
status: 500,
error: Failure attempting to process reference
(\/dspace\/collections\/new) for url (\/dspace\/collections\/new): Bad
request:org.sakaiproject.entitybus.exception.EntityException: Bad
request
  }
}

Any idea about the error?


Thanks

Dhaivat
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Access DSpace Through Custom Application

2011-05-27 Thread dhaivat dave
Hello everyone,

I am new to Dspace . I have successfully installed Dspace on my computer.
Now i have created one application using which i am trying to access Dspace
functionality.. For accessing the functionality i have created the
HttpConnection through java code. In a first step i tried to login into
Dspace and it's successfully done.But when i am trying to create collection
at that time it returns me login page though i have already logged in.. If
any one have an idea regarding this thing than please let me know where i am
going wrong.


Thanks,
Dhaivat
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Access DSpace Through Custom Application

2011-05-27 Thread dhaivat dave
Hi Ladislav,

Thanks for the reply ... Actually i have not set cookies.But can you guide
me little more how i can set the cookies through HttpURLConnection


Dhaivat
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech