Update to follow changes to Orbeon Forms experimental features...

This commit is contained in:
Eric van der Vlist 2012-04-21 22:51:58 +02:00
parent c4c4108025
commit be2f974a4c
5 changed files with 23 additions and 27 deletions

View File

@ -96,12 +96,13 @@ for $a in /queue/action where $a/@uuid = $(uuid) return
<!-- Create a new Heritrix job-->
<p:processor name="oxf:xforms-submission">
<p:input name="submission" transform="oxf:xslt" href="oxf:/config.xml">
<xforms:submission xsl:version="2.0" method="urlencoded-post" replace="none" action="{/config/heritrix/rest-api}" xxforms:authentication-scheme="digest">
<xforms:header combine="replace">
<xforms:name>Accept</xforms:name>
<xforms:value>application/xml</xforms:value>
</xforms:header>
</xforms:submission>
<xforms:submission xsl:version="2.0" method="urlencoded-post" action="{/config/heritrix/rest-api}" xxforms:username="{/config/heritrix/username}"
xxforms:password="{/config/heritrix/password}" xxforms:preemptive_authentication="no">
<xforms:header combine="replace">
<xforms:name>Accept</xforms:name>
<xforms:value>application/xml</xforms:value>
</xforms:header>
</xforms:submission>
</p:input>
<p:input name="request" transform="oxf:xslt" href="#data">
<instance xsl:version="2.0">

View File

@ -7,7 +7,9 @@
<user-agent>Mozilla/5.0 (compatible; owark/0.3; http://owark.org/)</user-agent>
<heritrix>
<rest-api>https://admin:envierse@localhost:8443/engine</rest-api>
<rest-api>https://localhost:8443/engine</rest-api>
<username>admin</username>
<password>envierse</password>
</heritrix>
</config>

View File

@ -3,7 +3,7 @@
Database access
-->
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exist="http://exist.sourceforge.net/NS/exist" xmlns:saxon="http://saxon.sf.net/">

View File

@ -20,13 +20,13 @@
<param name="ConversionPattern" value="%d{ISO8601} %-5p %c %x - %m%n"/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="INFO" />
<param name="LevelMin" value="INFO"/>
</filter>
</appender>
<!-- XForms engine activity -->
<category name="org.orbeon.oxf.xforms.processor.XFormsServer">
<priority value="debug"/>
</category>
<!-- XForms engine activity -->
<category name="org.orbeon.oxf.xforms.processor.XFormsServer">
<priority value="debug"/>
</category>
<!-- This is the root logger -->
<root>

View File

@ -11,24 +11,17 @@
The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
-->
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:oxf="http://www.orbeon.com/oxf/processors">
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oxf="http://www.orbeon.com/oxf/processors">
<property as="xs:anyURI" name="oxf.log4j-config" value="oxf:/default-log4j.xml"/>
<property as="xs:integer" name="oxf.cache.size" value="200"/>
<property as="xs:anyURI" name="oxf.log4j-config" value="oxf:/default-log4j.xml"/>
<property as="xs:integer" name="oxf.cache.size" value="200"/>
<property as="xs:anyURI"
name="oxf.http.ssl.keystore.uri"
value="file:/var/local/heritrix-3.1.0/heritrix.keystore"/>
<property as="xs:string"
name="oxf.http.ssl.keystore.password"
value="heritrix"/>
<property as="xs:string"
name="oxf.http.ssl.hostname-verifier"
value="allow-all"/>
<property as="xs:anyURI" name="oxf.http.ssl.keystore.uri" value="file:/var/local/heritrix-3.1.0/heritrix.keystore"/>
<property as="xs:string" name="oxf.http.ssl.keystore.password" value="heritrix"/>
<property as="xs:string" name="oxf.http.ssl.hostname-verifier" value="allow-all"/>
<!--<property as="xs:NMTOKENS" name="oxf.xforms.logging.debug"
<!--<property as="xs:NMTOKENS" name="oxf.xforms.logging.debug"
value="document model submission control event action analysis server server-body html resolver utils
submission-details submission-body"/>-->
</properties>