Arthur,
I don't understand what the issue is. If you get a 403, then the server
is rejecting the update. HttpException indicates such a problem. It is
often useful to distinguish authentication and HTTP issues from, say,
parse errors.
Andy
On 30/08/13 15:16, Arthur Vaïsse-Lesteven wrote:
Hi,
It seem that an error occurs when a proxy/server send a 403 HTTP status code in
response to a SPARQL query.
Stack trace begins by :
org.apache.jena.atlas.web.HttpException: 403 - Forbidden
at org.apache.jena.riot.web.HttpOp.exec(HttpOp.java:961)
at org.apache.jena.riot.web.HttpOp.execHttpPostForm(HttpOp.java:711)
at
com.hp.hpl.jena.sparql.modify.UpdateProcessRemoteForm.execute(UpdateProcessRemoteForm.java:88)
...
The code call done before this error is :
[...]
UpdateRequest update = UpdateFactory.create(query);
UpdateProcessRemoteForm updateExecution =
(UpdateProcessRemoteForm) UpdateExecutionFactory.createRemoteForm(update,
update_endpoint_ip);
updateExecution.setAuthentication(user_id,
user_pwd.toCharArray());
updateExecution.execute();
[...]
A possible fix may be the throw of a new ARQ exception in case of HTTPError
reception.
VAÏSSE-LESTEVEN Arthur.