---------- Forwarded message ----------
From: Chris Wallace <
kit.w...@googlemail.com>
Date: Wed, May 5, 2010 at 10:31 AM
Subject: Re: Deleting the contents of a datastore
To: Keith Alexander <
k.j.w.a...@gmail.com>
Thanks Keith, just what I was looking for.
I'm getting a 500 when sending what seems like a valid job to
http://api.talis.com/stores/cwallace-dev3/jobs
<result>
<rdf:RDF xmlns:bf="
http://schemas.talis.com/2006/bigfoot/
configuration#" xmlns:rdfs="
http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<bf:JobRequest>
<rdfs:label>Reset the data in my store</rdfs:label>
<bf:jobType rdf:resource="
http://schemas.talis.com/2006/
bigfoot/configuration#ResetDataJob"/>
<bf:startTime>2010-05-05T11:05:43Z</bf:startTime>
</bf:JobRequest>
</rdf:RDF>
<httpclient:response xmlns:httpclient="
http://exist-db.org/xquery/
httpclient">
<httpclient:statusCode>500</httpclient:statusCode>
<httpclient:body type="text" encoding="URLEncoded"/>
</httpclient:response>
</result>
As an aside it seems that startTime is not just an xsd:dateTime:
Using XPath current-dateTime() + xs:dayTimeDuration("PT5M") to set
the time, I get
<result>
<rdf:RDF xmlns:bf="
http://schemas.talis.com/2006/bigfoot/
configuration#" xmlns:rdfs="
http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<bf:JobRequest>
<rdfs:label>Reset the data in my store</rdfs:label>
<bf:jobType rdf:resource="
http://schemas.talis.com/2006/
bigfoot/configuration#ResetDataJob"/>
<bf:startTime>2010-05-05T10:29:30.751+01:00</bf:startTime>
</bf:JobRequest>
</rdf:RDF>
<httpclient:response xmlns:httpclient="
http://exist-db.org/xquery/
httpclient">
<httpclient:statusCode>400</httpclient:statusCode>
<httpclient:headers>
<httpclient:header name="content-type" value="text/plain"/
>
<httpclient:header name="server" value="Bigfoot/
35.1396.60748"/>
<httpclient:header name="Cache-Control" value="proxy-
revalidate"/>
<httpclient:header name="Transfer-Encoding"
value="chunked"/>
<httpclient:header name="Proxy-Connection" value="Keep-
Alive"/>
<httpclient:header name="Connection" value="Keep-Alive"/>
<httpclient:header name="Date" value="Wed, 05 May 2010
09:24:30 GMT"/>
</httpclient:headers>
<httpclient:body>Invalid Job Creation Request - Invalid Start
Time</httpclient:body>
</httpclient:response>
</result>
Any ideas?
--
----
n-squared : Talis Platform Developers
Mailing List :
http://groups.google.com/group/n2-dev
Wiki :
http://n2.talis.com