From: BECCAVIN C. <c.b...@ac...> - 2010-07-16 12:56:14
|
Just try to store a xml document to "/db/jobs/logs" with a HTTP PU method. My xq to test : xquery version "1.0"; declare namespace httpclient="http://exist-db.org/xquery/httpclient"; declare variable $ws:='http://localhost:8080/exist/rest/db/jobs/logs/test'; let $results:=httpclient:put( xs:anyURI($ws), <text>Ceci est un test</text>,xs:boolean('false'),()) return $results Cyril -----Message d'origine----- De : Dmitriy Shabanov [mailto:sha...@gm...] Envoyé : vendredi 16 juillet 2010 14:37 À : BECCAVIN Cyril Cc : exi...@li... Objet : RE: [Exist-open] Strange bug - I can't store an XMLdocumentin/db/jobs/logs via http put request Can you give me step by step instructions? -- Cheers, Dmitriy Shabanov On Fri, 2010-07-16 at 14:28 +0200, BECCAVIN Cyril wrote: > I have this bug on 1.4.1 et 1.5 dev (I checked out today) > > Cyril > > > -----Message d'origine----- > De : Dmitriy Shabanov [mailto:sha...@gm...] > Envoyé : vendredi 16 juillet 2010 14:25 > À : BECCAVIN Cyril > Cc : exi...@li... > Objet : Re: [Exist-open] Strange bug - I can't store an XML documentin/db/jobs/logs via http put request > > What version do you use? > |