Authorization forbidden when using Orbeon eXist DB REST API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Authorization forbidden when using Orbeon eXist DB REST API

santiag0
Hi all.

I'm new to Orbeon 4.1 so maybe this is a noobie question :)
I'm trying to query the Orbeon eXist DB from an external application. When I query for a form instance I keep getting a "not authorized" error. 

For example:

GET request:
http://localhost:8080/orbeon/exist/rest/db/orbeon/fr/test-app/test-form/data/9b9b4f73af642fe042ec4cf7b4f03c64fa15fbd4/data.xml
 
Response:
HTTP Error 403 (Forbidden): The server refused to fulfill the request.

I already modified the properties-local.xml file so that:

<property
  as="xs:string"
  processor-name="oxf:page-flow"
  name="page-public-methods"
  value="GET HEAD POST PUT DELETE"/>

<property
  as="xs:string"
  processor-name="oxf:page-flow"
  name="service-public-methods"
  value="GET HEAD POST PUT DELETE"/>

Any ideas what I might be missing?

Cheers,
Santiago.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Authorization forbidden when using Orbeon eXist DB REST API

Alessandro  Vernet
Administrator
This is a duplicate of:

http://stackoverflow.com/questions/16884944/authorization-forbidden-when-using-orbeon-exist-db-rest-api

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet