|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Rest Service to Upload imageHi,
I am new to eXist and Rest API. I installed eXist as a standalone application. It is running at http://localhost:8080/exist. I want to implement a service to upload the images to a specified to location. How do I implement the Rest API and integrate it with eXist so that the services can be invoked at http://localhost:8080/exist/upload. I am using Java. Please provide me some example. -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
|
|
Re: Rest Service to Upload imageYou could just use HTTP PUT if you wish to place resources into the database.
You would PUT to at least this base url - http://localhost:8080/exist/rest/db/ Cheers Adam. 2009/11/8 Phani Sajja <sajja.phani@...>: > Hi, > I am new to eXist and Rest API. I installed eXist as a standalone > application. It is running at http://localhost:8080/exist. I want to > implement a service to upload the images to a specified to location. How do > I implement the Rest API and integrate it with eXist so that the services > can be invoked at http://localhost:8080/exist/upload. I am using Java. > Please provide me some example. > > -- > Phani. S > M.Tech(Software Engineering) > Motilal Nehru National Institute of Technology > (+91) 9010093398 > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Exist-open mailing list > Exist-open@... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- Adam Retter eXist Developer { United Kingdom } adam@... irc://irc.freenode.net/existdb ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
|
|
Re: Rest Service to Upload imageThanks Adam for your reply.
From my Xforms I am submitting the file to the URL which you specify like this <xforms:submission id="image-submission" method="put" replace="none" resource="http://localhost:8080/exist/rest/db/" serialization="multipart/form-data"/> I use both post and put. But not working. Do you have any idea. On Sun, Nov 8, 2009 at 2:17 PM, Phani Sajja <sajja.phani@...> wrote: Hi, -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
|
|
Re: Rest Service to Upload imageOn Sun, 2009-11-08 at 19:04 +0530, Phani Sajja wrote:
> Thanks Adam for your reply. > > From my Xforms I am submitting the file to the URL which > you specify like this > > <xforms:submission id="image-submission" method="put" > replace="none" resource="http://localhost:8080/exist/rest/db/" > serialization="multipart/form-data"/> I'm not sure, can you try "action" instead of "resource"? -- Cheers, Dmitriy Shabanov ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
| Free embeddable forum powered by Nabble | Forum Help |