How I got Tamino and Orbeon to work together

I was having some problems creating decent interactive forms with the Tamino Forms Handler and I didn’t want to install any Tamino XTensions (i.e. XSLT or Java). I also have little to no Java programming experience.

I found a solution using the open source Orbeon Forms - http://www.orbeon.com/

Its an AJAX engine that lets browsers render XForms. Although its documented to work well with Tamino, I had some problems setting it up. I’ve included step by step instructions on how I got them to work together. I hope its relevent to this forum and that it will prove helpful to other Tamino users.

  1. Followed directions to install Orbeon for Tomcat:
    http://www.orbeon.com/ops/doc/intro-install#d27e53

  2. Followed directions to add tamino processor to
    Tomcat_Home\webapps\ops\WEB-INF\resources\config\properties.xml:
    http://www.orbeon.com/ops/doc/processors-xmldb#tamino

Added
in the section to connect to Tamino without authorization

  1. Moved:

xercesImpl.jar
xmlParserAPIs.jar

From Tamino_Home\SDK\TaminoAPI4J\lib
to Tomcat_Home\server\lib:

  1. Moved:

Log4j.jar
TaminoAPI4J.jar
TaminoJCA.jar

From Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\SDK\TaminoAPI4J\lib To Tomcat_Home\webapps\ops\WEB-INF\lib

  1. Deleted log4j-1.3alpha0.jar in Tomcat_Home\webapps\ops\WEB-INF\lib

  2. Created a folder:
    Tomcat_Home\webapps\ops\WEB-INF\resources\apps\taminoSample

  3. Created a simple Tamnino sample which would support the following
    doctype:

<Procedure namespaceInfo . . . . >

Some Title . . . . .

Created three files and put them in
Tomcat_Home\webapps\ops\WEB-INF\resources\apps\taminoSample:

page-flow.xml -

XQuery.xpl -

<p:config xmlns:p=“http://www.orbeon.com/oxf/pipeline
xmlns:oxf=“http://www.orbeon.com/oxf/processors
xmlns:ino=“http://namespaces.softwareag.com/tamino/response2
xmlns:xql=“http://metalab.unc.edu/xql/
xmlns:xi=“http://www.w3.org/2001/XInclude
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
<p:param type=“output” name=“data”/>
<p:processor name=“oxf:tamino-query”>
<p:input name=“config”>

http://localhost/tamino/mydb
mycollection

</p:input>
<p:input name=“data”>

for $q in input()/Procedure[//@ID=“IDD32”] let $r := $q/Title return $r </p:input> <p:output name=“data” ref=“data” debug=“result”/> </p:processor> </p:config>

view.xhtml -

Tamino Sample

XQuery Result

Typed http://localhost:8080/ops/taminoSample/ in browser.