Connect Orbeon Xform to External Exist DB

Posted by user302254 on Stack Overflow See other posts from Stack Overflow or by user302254
Published on 2010-04-06T18:39:52Z Indexed on 2010/04/06 18:43 UTC
Read the original article Hit count: 746

Filed under:
|

I am attempting to connect a new Orbeon XForm to an existing exist db. My code should submit an xml doc to be stored in that database.

<xf:submission id="save-to-file"
            method="get"
            action="http://server:8081/exist/rest//test/test/inventory_sample.xml" 
            replace="instance" instance="data-instance" includenamespaceprefixes="ai"/>

When attempting to submit my xml file, my log reveals an authentication error:

Apr 6, 2010 2:06:08 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor
 selectAuthScheme
INFO: basic authentication scheme selected
Apr 6, 2010 2:06:08 PM org.apache.commons.httpclient.HttpMethodDirector processW
WWAuthChallenge
INFO: No credentials available for BASIC 'exist'@kruddler.mitre.org:8081

How do I authenticate this connection ?

© Stack Overflow or respective owner

Related posts about exist

Related posts about xforms