I have Orbeon installed in Tomcat and working fine. I also did the tutorial.
Xquery.xpl:
I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound.
I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running with Tamino? The Tamino forum does not have much info on Orbeon although I know its being used. ______________
______________
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Julia,
Your xml file does need to declare the processor
namespace.
There is a page to help:
To eliminate the exception, probably just need this
change:
<p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline">
...
Regards,
Hank Ratzesberger
UCSB Department of Crustal Studies
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thanks Hank! Well I got rid of all of the errors in my sample xpl file by adding that namespace. I also had to download the Tamino.jar file from here: http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib It would be great if these steps could be added to the documentation on the website. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Hank Ratzesberger [mailto:[hidden email]] Sent: Monday, March 12, 2007 3:39 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Your xml file does need to declare the processor namespace. There is a page to help: http://www.orbeon.com/ops/doc/reference-xml-namespaces To eliminate the exception, probably just need this change: <p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline"> ... Regards, Hank Ratzesberger UCSB Department of Crustal Studies ----- Original Message ----- From: Jacobs, Julia A [HDS] <mailto:[hidden email]> To: [hidden email] Sent: Monday, March 12, 2007 12:16 PM Subject: [ops-users] General help getting started with Orbeon / Tamino and p element namespace I have Orbeon installed in Tomcat and working fine. I also did the tutorial. I put the following Tamino processor configuration in the Orbeon properties file ( Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global Properties: <property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > I <http://www.orbeon.com/ops/doc/reference-properties <http://www.orbeon.com/ops/doc/reference-properties> > do not need authorization info for my Tamino server so that's all I have in there. I created a new directory: Tomcat 5.5 Home\Apache Software Foundation\Tomcat 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample which I put the following files: page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl: <p:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <xquery> for $m in input()/Procedure, $c in input()/Topic, $a in input()/Process return $m </xquery> </p:input> <p:output name="data" id="result"/> </p:processor> I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound. Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running with Tamino? The Tamino forum does not have much info on Orbeon although I know its being used. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Julia,
Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] <[hidden email]> wrote: > > Thanks Hank! > > Well I got rid of all of the errors in my sample xpl file by adding that > namespace. I also had to download the Tamino.jar file from here: > > http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ > > And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib > > It would be great if these steps could be added to the documentation on > the website. > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & Development > HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > > > ________________________________ > > From: Hank Ratzesberger [mailto:[hidden email]] > Sent: Monday, March 12, 2007 3:39 PM > To: [hidden email] > Subject: Re: [ops-users] General help getting started with Orbeon / > Tamino and p element namespace > > > > Julia, > > Your xml file does need to declare the processor namespace. > There is a page to help: > > http://www.orbeon.com/ops/doc/reference-xml-namespaces > > To eliminate the exception, probably just need this change: > > <p:processor name="oxf:tamino-query" > xmlns:p="http://www.orbeon.com/oxf/pipeline"> > ... > > > Regards, > Hank Ratzesberger > UCSB Department of Crustal Studies > > > > > ----- Original Message ----- > From: Jacobs, Julia A [HDS] <mailto:[hidden email]> > To: [hidden email] > Sent: Monday, March 12, 2007 12:16 PM > Subject: [ops-users] General help getting started with Orbeon / > Tamino and p element namespace > > > > I have Orbeon installed in Tomcat and working fine. I also did > the tutorial. > > I put the following Tamino processor configuration in the Orbeon > properties file ( Tomcat 5.5 > Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global > Properties: > > > <property as="xs:anyURI" processor-name="oxf:tamino-query" > name="url" value="http://hsicomp01/tamino/idd_db"/ > <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > > > > I <http://www.orbeon.com/ops/doc/reference-properties > <http://www.orbeon.com/ops/doc/reference-properties> > do not need > authorization info for my Tamino server so that's all I have in there. > > > I created a new directory: > > Tomcat 5.5 Home\Apache Software Foundation\Tomcat > 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample > > which I put the following files: > > page-flow.xml: > <config xmlns="http://www.orbeon.com/oxf/controller"> > <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue > url="oxf:/config/epilogue.xpl"/> </config> > > Xquery.xpl: > <p:processor name="oxf:tamino-query"> > <p:input name="config"> > <config> > <url>http://hsicomp01/tamino/idd_db</url> > <collection>idd_collection</collection> > </config> > </p:input> > <p:input name="data"> > <xquery> > for $m in input()/Procedure, $c in input()/Topic, $a in > input()/Process return $m </xquery> </p:input> <p:output name="data" > id="result"/> </p:processor> > > I just wanted to do a simple query test. When I put > http://hsicomp01:8080/ops/taminoSample/ > <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error > page with the info: > > Message Fatal error: The prefix "p" for element "p:processor" is > not bound. > Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 > > I know I'm supposed to somehow define a namespace for the p > element but I don't know where and how. > > Does anyone have any tips on getting up and running with Tamino? > The Tamino forum does not have much info on Orbeon although I know its > being used. > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & > Development HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & > Development > HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > ________________________________ > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Jacobs, Julia A [HDS]
Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] <[hidden email]> wrote: > > Thanks Hank! > > Well I got rid of all of the errors in my sample xpl file by adding > that namespace. I also had to download the Tamino.jar file from here: > > http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ > > And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib > > It would be great if these steps could be added to the documentation > on the website. > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & Development HD > Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > > > ________________________________ > > From: Hank Ratzesberger [mailto:[hidden email]] > Sent: Monday, March 12, 2007 3:39 PM > To: [hidden email] > Subject: Re: [ops-users] General help getting started with Orbeon / > Tamino and p element namespace > > > > Julia, > > Your xml file does need to declare the processor namespace. > There is a page to help: > > http://www.orbeon.com/ops/doc/reference-xml-namespaces > > To eliminate the exception, probably just need this change: > > <p:processor name="oxf:tamino-query" > xmlns:p="http://www.orbeon.com/oxf/pipeline"> > ... > > > Regards, > Hank Ratzesberger > UCSB Department of Crustal Studies > > > > > ----- Original Message ----- > From: Jacobs, Julia A [HDS] <mailto:[hidden email]> > To: [hidden email] > Sent: Monday, March 12, 2007 12:16 PM > Subject: [ops-users] General help getting started with Orbeon > / Tamino and p element namespace > > > > I have Orbeon installed in Tomcat and working fine. I also > did the tutorial. > > I put the following Tamino processor configuration in the > Orbeon properties file ( Tomcat 5.5 > Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global > Properties: > > > <property as="xs:anyURI" processor-name="oxf:tamino-query" > name="url" value="http://hsicomp01/tamino/idd_db"/ > <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > > > > I <http://www.orbeon.com/ops/doc/reference-properties > <http://www.orbeon.com/ops/doc/reference-properties> > do not need > authorization info for my Tamino server so that's all I have in there. > > > I created a new directory: > > Tomcat 5.5 Home\Apache Software Foundation\Tomcat > 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample > > which I put the following files: > > page-flow.xml: > <config xmlns="http://www.orbeon.com/oxf/controller"> > <page path-info="/taminoSample/" model="XQuery.xpl"/> > <epilogue url="oxf:/config/epilogue.xpl"/> </config> > > Xquery.xpl: > <p:processor name="oxf:tamino-query"> > <p:input name="config"> > <config> > <url>http://hsicomp01/tamino/idd_db</url> > <collection>idd_collection</collection> > </config> > </p:input> > <p:input name="data"> > <xquery> > for $m in input()/Procedure, $c in input()/Topic, $a in > input()/Process return $m </xquery> </p:input> <p:output name="data" > id="result"/> </p:processor> > > I just wanted to do a simple query test. When I put > http://hsicomp01:8080/ops/taminoSample/ > <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an > error page with the info: > > Message Fatal error: The prefix "p" for element "p:processor" > is not bound. > Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column > 38 > > I know I'm supposed to somehow define a namespace for the p > element but I don't know where and how. > > Does anyone have any tips on getting up and running with > The Tamino forum does not have much info on Orbeon although I know its > being used. > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & > Development HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & > Development > HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > ________________________________ > > > > > > -- > You receive this message as a subscriber of the > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Julia,
We use Orbeon and Tamino and the jar files from SoftwareAG we typically use are ... TaminoAPI4J.jar TaminoJCA.jar log4j.jar Steve Jacobs, Julia A [HDS] wrote: Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] [hidden email] wrote:Thanks Hank! Well I got rid of all of the errors in my sample xpl file by adding that namespace. I also had to download the Tamino.jar file from here: http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib It would be great if these steps could be added to the documentation on the website. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Hank Ratzesberger [[hidden email]] Sent: Monday, March 12, 2007 3:39 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Your xml file does need to declare the processor namespace. There is a page to help: http://www.orbeon.com/ops/doc/reference-xml-namespaces To eliminate the exception, probably just need this change: <p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline"> ... Regards, Hank Ratzesberger UCSB Department of Crustal Studies ----- Original Message ----- From: Jacobs, Julia A [HDS] [hidden email] To: [hidden email] Sent: Monday, March 12, 2007 12:16 PM Subject: [ops-users] General help getting started with Orbeon / Tamino and p element namespace I have Orbeon installed in Tomcat and working fine. I also did the tutorial. I put the following Tamino processor configuration in the Orbeon properties file ( Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global Properties: <property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > I <http://www.orbeon.com/ops/doc/reference-properties <http://www.orbeon.com/ops/doc/reference-properties> > do not need authorization info for my Tamino server so that's all I have in there. I created a new directory: Tomcat 5.5 Home\Apache Software Foundation\Tomcat 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample which I put the following files: page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl: <p:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <xquery> for $m in input()/Procedure, $c in input()/Topic, $a in input()/Process return $m </xquery> </p:input> <p:output name="data" id="result"/> </p:processor> I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound. Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running withTamino?The Tamino forum does not have much info on Orbeon although I know itsbeing used. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ -- You receive this message as a subscriber of the[hidden email] mailing list.To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws-- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws slenhart.vcf (299 bytes) Download Attachment |
In reply to this post by Jacobs, Julia A [HDS]
Which brings me to my simple non-working Tamino sample problem (based on
what Ive read in the docs so far). My goal is just to pull some data out of Tamino using xforms:output Eventually I hope to create a complicated Xforms search form and Tree menu TOC for some web help type on-line documentation. I created a folder (as I probably mentioned before): Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\apps\taminoSample I've got these files in it- Page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl" view="view.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl (really more of an X-Query): <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:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <query> //Procedure[@ID="IDD32"] </query> </p:input> <p:output name="data" id="result"/> </p:processor> </p:config> View.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" 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"> <head> <title>Tamino Sample</title> <xforms:model> <xforms:instance id="sampleData"> <xi:include href="input:data" /> </xforms:instance> </xforms:model> </head> <body> <p> <i>XQuery Result</i> </p> <p> <xforms:output ref="instance('sampleData')ino:response/xql:result/Procedure/Title"/> --------> for the xform:output element I've also tried: <xforms:output ref="instance('sampleData')/Procedure/Title"/> <xforms:output ref="instance('sampleData')//Procedure/Title"/> <xforms:output ref="instance('sampleData').//Procedure/Title"/> <xforms:output ref="instance('sampleData')//Title"/> I also tried adding mediatype="text/html" <----------- </p> </body> </html> The Procedure files in Tamino are (shortened) <Procedure ID="ID123" lots of namespace info> <some children nodes with meta data for the Content Management System I'm using> <Title>Some Title</Title> -----> another direct child node of <Procedure/> <some other nodes> </Procedure> Although I don't get any errors I don't get any data displayed. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: Jacobs, Julia A [HDS] Sent: Wednesday, March 14, 2007 9:40 AM To: [hidden email] Subject: RE: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] <[hidden email]> wrote: > > Thanks Hank! > > Well I got rid of all of the errors in my sample xpl file by adding > that namespace. I also had to download the Tamino.jar file from here: > > http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ > > And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib > > It would be great if these steps could be added to the documentation > on the website. > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & Development HD > Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > > > ________________________________ > > From: Hank Ratzesberger [mailto:[hidden email]] > Sent: Monday, March 12, 2007 3:39 PM > To: [hidden email] > Subject: Re: [ops-users] General help getting started with Orbeon / > Tamino and p element namespace > > > > Julia, > > Your xml file does need to declare the processor namespace. > There is a page to help: > > http://www.orbeon.com/ops/doc/reference-xml-namespaces > > To eliminate the exception, probably just need this change: > > <p:processor name="oxf:tamino-query" > xmlns:p="http://www.orbeon.com/oxf/pipeline"> > ... > > > Regards, > Hank Ratzesberger > UCSB Department of Crustal Studies > > > > > ----- Original Message ----- > From: Jacobs, Julia A [HDS] <mailto:[hidden email]> > To: [hidden email] > Sent: Monday, March 12, 2007 12:16 PM > Subject: [ops-users] General help getting started with Orbeon > / Tamino and p element namespace > > > > I have Orbeon installed in Tomcat and working fine. I also > did the tutorial. > > I put the following Tamino processor configuration in the > Orbeon properties file ( Tomcat 5.5 > Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global > Properties: > > > <property as="xs:anyURI" processor-name="oxf:tamino-query" > name="url" value="http://hsicomp01/tamino/idd_db"/ > <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > > > > I <http://www.orbeon.com/ops/doc/reference-properties > <http://www.orbeon.com/ops/doc/reference-properties> > do not need > authorization info for my Tamino server so that's all I have in there. > > > I created a new directory: > > Tomcat 5.5 Home\Apache Software Foundation\Tomcat > 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample > > which I put the following files: > > page-flow.xml: > <config xmlns="http://www.orbeon.com/oxf/controller"> > <page path-info="/taminoSample/" model="XQuery.xpl"/> > <epilogue url="oxf:/config/epilogue.xpl"/> </config> > > Xquery.xpl: > <p:processor name="oxf:tamino-query"> > <p:input name="config"> > <config> > <url>http://hsicomp01/tamino/idd_db</url> > <collection>idd_collection</collection> > </config> > </p:input> > <p:input name="data"> > <xquery> > for $m in input()/Procedure, $c in input()/Topic, $a in > input()/Process return $m </xquery> </p:input> <p:output name="data" > id="result"/> </p:processor> > > I just wanted to do a simple query test. When I put > http://hsicomp01:8080/ops/taminoSample/ > <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an > error page with the info: > > Message Fatal error: The prefix "p" for element "p:processor" > is not bound. > Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column > 38 > > I know I'm supposed to somehow define a namespace for the p > element but I don't know where and how. > > Does anyone have any tips on getting up and running with > The Tamino forum does not have much info on Orbeon although I know its > being used. > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & > Development HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > ______________ > Julia Jacobs > Documentation Tools Specialist - Information Design & > Development > HD Supply > 501 W Church St. > Orlando, FL 32805-2232 > 407-822-2414 > One Team, Driving Customer Success and Shareholder Value > > ________________________________ > > > > > > -- > You receive this message as a subscriber of the > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Steve Lenhart
Thanks Steve,
I'll try those and hopefully post success with the sample I just emailed! I have to give a big thanks to all of the help on getting on this list . . . ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Steve Lenhart [mailto:[hidden email]] Sent: Wednesday, March 14, 2007 9:55 AM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, We use Orbeon and Tamino and the jar files from SoftwareAG we typically use are ... TaminoAPI4J.jar TaminoJCA.jar log4j.jar Steve Jacobs, Julia A [HDS] wrote: Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] <[hidden email]> <mailto:[hidden email]> wrote: Thanks Hank! Well I got rid of all of the errors in my sample xpl file by adding that namespace. I also had to download the Tamino.jar file from here: http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib It would be great if these steps could be added to the documentation on the website. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Hank Ratzesberger [mailto:[hidden email]] Sent: Monday, March 12, 2007 3:39 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Your xml file does need to declare the processor namespace. There is a page to help: http://www.orbeon.com/ops/doc/reference-xml-namespaces To eliminate the exception, probably just need this change: <p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline" <http://www.orbeon.com/oxf/pipeline> > ... Regards, Hank Ratzesberger UCSB Department of Crustal Studies ----- Original Message ----- From: Jacobs, Julia A [HDS] <mailto:[hidden email]> <mailto:[hidden email]> To: [hidden email] Sent: Monday, March 12, 2007 12:16 PM Subject: [ops-users] General help getting started with Orbeon / Tamino and p element namespace I have Orbeon installed in Tomcat and working fine. I also did the tutorial. I put the following Tamino processor configuration in the Orbeon properties file ( Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global Properties: <property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://hsicomp01/tamino/idd_db" <http://hsicomp01/tamino/idd_db> / <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> <http://hsicomp01/tamino/idd_db> > > I <http://www.orbeon.com/ops/doc/reference-properties <http://www.orbeon.com/ops/doc/reference-properties> <http://www.orbeon.com/ops/doc/reference-properties> > do not need authorization info for my Tamino server so that's all I have in there. I created a new directory: Tomcat 5.5 Home\Apache Software Foundation\Tomcat 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample which I put the following files: page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller" <http://www.orbeon.com/oxf/controller> > <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl: <p:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <xquery> for $m in input()/Procedure, $c in input()/Topic, $a in input()/Process return $m </xquery> </p:input> <p:output name="data" id="result"/> </p:processor> I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ <http://hsicomp01:8080/ops/taminoSample/> <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound. Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running with Tamino? The Tamino forum does not have much info on Orbeon although I know its being used. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ ________________________________ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Jacobs, Julia A [HDS]
Julia,
You could try putting a debug in your XPL to make sure you are getting results from Tamino ..... <p:output name="data" id="result" debug="RESULT"/> Steve Jacobs, Julia A [HDS] wrote: Which brings me to my simple non-working Tamino sample problem (based on what Ive read in the docs so far). My goal is just to pull some data out of Tamino using xforms:output Eventually I hope to create a complicated Xforms search form and Tree menu TOC for some web help type on-line documentation. I created a folder (as I probably mentioned before): Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\apps\taminoSample I've got these files in it- Page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl" view="view.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl (really more of an X-Query): <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:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <query> //Procedure[@ID="IDD32"] </query> </p:input> <p:output name="data" id="result"/> </p:processor> </p:config> View.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" 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"> <head> <title>Tamino Sample</title> <xforms:model> <xforms:instance id="sampleData"> <xi:include href="input:data" /> </xforms:instance> </xforms:model> </head> <body> <p> <i>XQuery Result</i> </p> <p> <xforms:output ref="instance('sampleData')ino:response/xql:result/Procedure/Title"/> --------> for the xform:output element I've also tried: <xforms:output ref="instance('sampleData')/Procedure/Title"/> <xforms:output ref="instance('sampleData')//Procedure/Title"/> <xforms:output ref="instance('sampleData').//Procedure/Title"/> <xforms:output ref="instance('sampleData')//Title"/> I also tried adding mediatype="text/html" <----------- </p> </body> </html> The Procedure files in Tamino are (shortened) <Procedure ID="ID123" lots of namespace info> <some children nodes with meta data for the Content Management System I'm using> <Title>Some Title</Title> -----> another direct child node of <Procedure/> <some other nodes> </Procedure> Although I don't get any errors I don't get any data displayed. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: Jacobs, Julia A [HDS] Sent: Wednesday, March 14, 2007 9:40 AM To: [hidden email] Subject: RE: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] [hidden email] wrote:Thanks Hank! Well I got rid of all of the errors in my sample xpl file by adding that namespace. I also had to download the Tamino.jar file from here: http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib It would be great if these steps could be added to the documentation on the website. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Hank Ratzesberger [[hidden email]] Sent: Monday, March 12, 2007 3:39 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Your xml file does need to declare the processor namespace. There is a page to help: http://www.orbeon.com/ops/doc/reference-xml-namespaces To eliminate the exception, probably just need this change: <p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline"> ... Regards, Hank Ratzesberger UCSB Department of Crustal Studies ----- Original Message ----- From: Jacobs, Julia A [HDS] [hidden email] To: [hidden email] Sent: Monday, March 12, 2007 12:16 PM Subject: [ops-users] General help getting started with Orbeon / Tamino and p element namespace I have Orbeon installed in Tomcat and working fine. I also did the tutorial. I put the following Tamino processor configuration in the Orbeon properties file ( Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global Properties: <property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > I <http://www.orbeon.com/ops/doc/reference-properties <http://www.orbeon.com/ops/doc/reference-properties> > do not need authorization info for my Tamino server so that's all I have in there. I created a new directory: Tomcat 5.5 Home\Apache Software Foundation\Tomcat 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample which I put the following files: page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl: <p:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <xquery> for $m in input()/Procedure, $c in input()/Topic, $a in input()/Process return $m </xquery> </p:input> <p:output name="data" id="result"/> </p:processor> I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound. Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running withTamino?The Tamino forum does not have much info on Orbeon although I know itsbeing used. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ -- You receive this message as a subscriber of the[hidden email] mailing list.To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws-- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws slenhart.vcf (299 bytes) Download Attachment |
In reply to this post by Jacobs, Julia A [HDS]
Hello
<xforms:output ref="instance('sampleData')ino:response/xql:result/Procedure/Title"/> Missing '/' after instance(). Result is always in a <result> root element, I think. I spent the last week with orbeon and tamino, and in this case there is a result element containing the xquery result (I use xquery). Give it a try with //Title to see, wether you got anything at all. Best Zsolt On 3/14/07, Jacobs, Julia A [HDS] <[hidden email]> wrote: Which brings me to my simple non-working Tamino sample problem (based on -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Jacobs, Julia A [HDS]
Julia,
Also, it looks like your XPL is missing an output to send to your view .... you would need something like this ... <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" xmlns:p="http://www.orbeon.com/oxf/pipeline"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <query> //Procedure[@ID="IDD32"] </query> </p:input> <p:output name="data" ref="data" debug="RESULT:"/> </p:processor> </p:config> Steve Jacobs, Julia A [HDS] wrote: Which brings me to my simple non-working Tamino sample problem (based on what Ive read in the docs so far). My goal is just to pull some data out of Tamino using xforms:output Eventually I hope to create a complicated Xforms search form and Tree menu TOC for some web help type on-line documentation. I created a folder (as I probably mentioned before): Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\apps\taminoSample I've got these files in it- Page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl" view="view.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl (really more of an X-Query): <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:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <query> //Procedure[@ID="IDD32"] </query> </p:input> <p:output name="data" id="result"/> </p:processor> </p:config> View.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" 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"> <head> <title>Tamino Sample</title> <xforms:model> <xforms:instance id="sampleData"> <xi:include href="input:data" /> </xforms:instance> </xforms:model> </head> <body> <p> <i>XQuery Result</i> </p> <p> <xforms:output ref="instance('sampleData')ino:response/xql:result/Procedure/Title"/> --------> for the xform:output element I've also tried: <xforms:output ref="instance('sampleData')/Procedure/Title"/> <xforms:output ref="instance('sampleData')//Procedure/Title"/> <xforms:output ref="instance('sampleData').//Procedure/Title"/> <xforms:output ref="instance('sampleData')//Title"/> I also tried adding mediatype="text/html" <----------- </p> </body> </html> The Procedure files in Tamino are (shortened) <Procedure ID="ID123" lots of namespace info> <some children nodes with meta data for the Content Management System I'm using> <Title>Some Title</Title> -----> another direct child node of <Procedure/> <some other nodes> </Procedure> Although I don't get any errors I don't get any data displayed. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: Jacobs, Julia A [HDS] Sent: Wednesday, March 14, 2007 9:40 AM To: [hidden email] Subject: RE: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] [hidden email] wrote:Thanks Hank! Well I got rid of all of the errors in my sample xpl file by adding that namespace. I also had to download the Tamino.jar file from here: http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib It would be great if these steps could be added to the documentation on the website. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Hank Ratzesberger [[hidden email]] Sent: Monday, March 12, 2007 3:39 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Your xml file does need to declare the processor namespace. There is a page to help: http://www.orbeon.com/ops/doc/reference-xml-namespaces To eliminate the exception, probably just need this change: <p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline"> ... Regards, Hank Ratzesberger UCSB Department of Crustal Studies ----- Original Message ----- From: Jacobs, Julia A [HDS] [hidden email] To: [hidden email] Sent: Monday, March 12, 2007 12:16 PM Subject: [ops-users] General help getting started with Orbeon / Tamino and p element namespace I have Orbeon installed in Tomcat and working fine. I also did the tutorial. I put the following Tamino processor configuration in the Orbeon properties file ( Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global Properties: <property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > I <http://www.orbeon.com/ops/doc/reference-properties <http://www.orbeon.com/ops/doc/reference-properties> > do not need authorization info for my Tamino server so that's all I have in there. I created a new directory: Tomcat 5.5 Home\Apache Software Foundation\Tomcat 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample which I put the following files: page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl: <p:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <xquery> for $m in input()/Procedure, $c in input()/Topic, $a in input()/Process return $m </xquery> </p:input> <p:output name="data" id="result"/> </p:processor> I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound. Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running withTamino?The Tamino forum does not have much info on Orbeon although I know itsbeing used. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ -- You receive this message as a subscriber of the[hidden email] mailing list.To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws-- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws slenhart.vcf (299 bytes) Download Attachment |
In reply to this post by Jacobs, Julia A [HDS]
Julia,
You need a <p:param name="data" type="output"/> so the XPL has an output Then you'll need to change your p:output on the tamino-query processor to <p:output name="data" ref="data"/> so it connects to the param More information on xpl can be found at http://www.orbeon.com/ops/doc/reference-xpl-pipelines Also with the jars, you will need to remove Orbeons log4j.jar as this conflicts with the Tamino one, and to get loggin information you will need to disable LocationInfo to false in the OPSMontior definition found in /config/log4j.xml Hope this helps Ryan
Ryan Puddephatt Jacobs, Julia A [HDS] wrote: Which brings me to my simple non-working Tamino sample problem (based on what Ive read in the docs so far). My goal is just to pull some data out of Tamino using xforms:output Eventually I hope to create a complicated Xforms search form and Tree menu TOC for some web help type on-line documentation. I created a folder (as I probably mentioned before): Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\apps\taminoSample I've got these files in it- Page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl" view="view.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl (really more of an X-Query): <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:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <query> //Procedure[@ID="IDD32"] </query> </p:input> <p:output name="data" id="result"/> </p:processor> </p:config> View.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" 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"> <head> <title>Tamino Sample</title> <xforms:model> <xforms:instance id="sampleData"> <xi:include href="input:data" /> </xforms:instance> </xforms:model> </head> <body> <p> <i>XQuery Result</i> </p> <p> <xforms:output ref="instance('sampleData')ino:response/xql:result/Procedure/Title"/> --------> for the xform:output element I've also tried: <xforms:output ref="instance('sampleData')/Procedure/Title"/> <xforms:output ref="instance('sampleData')//Procedure/Title"/> <xforms:output ref="instance('sampleData').//Procedure/Title"/> <xforms:output ref="instance('sampleData')//Title"/> I also tried adding mediatype="text/html" <----------- </p> </body> </html> The Procedure files in Tamino are (shortened) <Procedure ID="ID123" lots of namespace info> <some children nodes with meta data for the Content Management System I'm using> <Title>Some Title</Title> -----> another direct child node of <Procedure/> <some other nodes> </Procedure> Although I don't get any errors I don't get any data displayed. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: Jacobs, Julia A [HDS] Sent: Wednesday, March 14, 2007 9:40 AM To: [hidden email] Subject: RE: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Oh, I guess that would make since as they are a selling a commercial product. It would probably be more helpful (without breaching any Tamino license restrictions) to just tell Tamino license owners to go here: Tamino_Installation_Directory\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK (for example mine is in C:\Program Files\Software AG\Tamino\Tamino 4.4.1.1\Patch.bak\3\SDK\TaminoAPI4J\lib) Where they can find the following .jar files: javaJDOM.jar Jdom.jar Log4j.jar TaminoAPI4J.jar TaminoJCA.jar Utx.jar xercesImpl.jar xmlParserAPIs.jar And a couple of .rar files: TaminoJCA_localTx.rar TaminoJCA_noTX.rar TaminoJCA_XA.rar Now if someone could just tell me which of these files should go in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib maybe the simple sample I created will work! I already have TaminoAPI4J.jar in there, but I downloaded it from the Orbeon CVS. If I'm not mistaken the Orbeon crew made some modifications to TaminoAPI4J.jar for some problems with the isolation-degree configuration element (?). SO I don't know if a patch would need to be included. Then again I could have misunderstood thye postings on the mailing list. If you would like, I would be more than happy to help expand the Orbeon Xforms docs with Tamino information for other newbies like myself. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, March 13, 2007 4:20 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Good point: we should mention that you need to get the Tamino jar from somewhere as their license does not authorize redistribution. It would be better in the documentation to point to a place on the Software AG web site where you can download the Tamino jar file. Do you know where people can get this jar file directly from Software AG? Alex On 3/13/07, Jacobs, Julia A [HDS] [hidden email] wrote:Thanks Hank! Well I got rid of all of the errors in my sample xpl file by adding that namespace. I also had to download the Tamino.jar file from here: http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/lib/ And put it in my Tomcat 5.5 Home\webapps\ops\WEB-INF\lib It would be great if these steps could be added to the documentation on the website. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ From: Hank Ratzesberger [[hidden email]] Sent: Monday, March 12, 2007 3:39 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, Your xml file does need to declare the processor namespace. There is a page to help: http://www.orbeon.com/ops/doc/reference-xml-namespaces To eliminate the exception, probably just need this change: <p:processor name="oxf:tamino-query" xmlns:p="http://www.orbeon.com/oxf/pipeline"> ... Regards, Hank Ratzesberger UCSB Department of Crustal Studies ----- Original Message ----- From: Jacobs, Julia A [HDS] [hidden email] To: [hidden email] Sent: Monday, March 12, 2007 12:16 PM Subject: [ops-users] General help getting started with Orbeon / Tamino and p element namespace I have Orbeon installed in Tomcat and working fine. I also did the tutorial. I put the following Tamino processor configuration in the Orbeon properties file ( Tomcat 5.5 Home\webapps\ops\WEB-INF\resources\config\proprties.xml ) under Global Properties: <property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db"/ <http://hsicomp01/tamino/idd_db> > > I <http://www.orbeon.com/ops/doc/reference-properties <http://www.orbeon.com/ops/doc/reference-properties> > do not need authorization info for my Tamino server so that's all I have in there. I created a new directory: Tomcat 5.5 Home\Apache Software Foundation\Tomcat 5.5\webapps\ops\WEB-INF\resources\apps\taminoSample which I put the following files: page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/taminoSample/" model="XQuery.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Xquery.xpl: <p:processor name="oxf:tamino-query"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <xquery> for $m in input()/Procedure, $c in input()/Topic, $a in input()/Process return $m </xquery> </p:input> <p:output name="data" id="result"/> </p:processor> I just wanted to do a simple query test. When I put http://hsicomp01:8080/ops/taminoSample/ <http://hsicomp01:8080/ops/taminoSample/> in the browser I get an error page with the info: Message Fatal error: The prefix "p" for element "p:processor" is not bound. Resource URL oxf:/apps/taminoSample/XQuery.xpl Line 1 Column 38 I know I'm supposed to somehow define a namespace for the p element but I don't know where and how. Does anyone have any tips on getting up and running withTamino?The Tamino forum does not have much info on Orbeon although I know itsbeing used. ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value ________________________________ -- You receive this message as a subscriber of the[hidden email] mailing list.To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws-- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Jacobs, Julia A [HDS]
Julia,
You may add <widget:xforms-instance-inspector xmlns:widget="http://orbeon.org/oxf/xml/widget"/> before closing the body tag in your xhtml. This give you a cool way to see the data in the sampleData instance. With an instance like that : <instance id="sample"> <root> <Procedure> <Title>MyTitle</Title> </Procedure> </root> </instance> You have to write <xforms:output ref="instance('sample')/Procedure/Title"/> to display the Title content.(note the <root> element) HTH, Marc -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Well I am getting a Tamino access failure with an initial stack trace:
com.softwareag.tamino.db.api.invocation.http.THTTPInvocation getInputStream N/A com.softwareag.tamino.db.api.invocation.http.THTTPInvocation doGetInvoke N/A com.softwareag.tamino.db.api.invocation.http.THTTPInvocation doInvoke N/A com.softwareag.tamino.db.api.invocation.TAbstractInvocation doTemplateInvoke N/A com.softwareag.tamino.db.api.invocation.TAbstractInvocation invoke N/A com.softwareag.tamino.db.api.invocation.TAbstractInvocation checkServerAvailabilityAndVersion N/A com.softwareag.tamino.db.api.connection.TConnectionImpl <init> N/A com.softwareag.tamino.db.api.connection.TConnectionFactory newConnection N/A <--- here the lines are green ----> org.orbeon.oxf.processor.tamino.TaminoProcessor getConnection TaminoProcessor.java 93 org.orbeon.oxf.processor.tamino.TaminoQueryProcessor$1 readImpl TaminoQueryProcessor.java 62 <--- more button -----> Also: com.softwareag.tamino.db.api.invocation.TInvocationRetryHandlerException Message Retry after invoke failed. NestedException:HTTP communication failure. ResponseCode: 502, messageText: Bad Gateway NestedException:Tamino access failure. And: com.softwareag.tamino.db.api.invocation.TCommunicationException Message Server not available for http://hsicomp01/tamino/idd_db because of a deeper exception. NestedException:Retry after invoke failed. NestedException:HTTP communication failure. ResponseCode: 502, messageText: Bad Gateway NestedException:Tamino access failure And: com.softwareag.tamino.db.api.connection.TServerNotAvailableException Message Server not available. NestedException:Server not available for http://hsicomp01/tamino/idd_db because of a deeper exception. NestedException:Retry after invoke failed. NestedException:HTTP communication failure. ResponseCode: 502, messageText: Bad Gateway NestedException:Tamino access failure. I added the new .jar files, changed the log4j.xml file and now have the files: 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" xmlns:p="http://www.orbeon.com/oxf/pipeline"> <p:input name="config"> <config> <url>http://hsicomp01/tamino/idd_db</url> <collection>idd_collection</collection> </config> </p:input> <p:input name="data"> <query> //Procedure[@ID="IDD32"] </query> </p:input> <p:output name="data" id="result" ref="data" debug="RESULT"/> </p:processor> </p:config> And view.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" 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"> <head> <title>Tamino Sample</title> <xforms:model> <xforms:instance id="sampleData"> <xi:include href="input:data" /> <---- also tried <root><xi:include href="input:data" /></root> --------> </xforms:instance> </xforms:model> </head> <body> <p> <i>XQuery Result</i> </p> <p> <xforms:output ref="instance('sampleData')//Title"/> </p> <widget:xforms-instance-inspector xmlns:widget="http://orbeon.org/oxf/xml/widget"/> </body> </html> I do not have any Tamino Xtensions installed. Do I need to install the Tamino XSLT or Java extension? Thanks again, ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: marc [mailto:[hidden email]] Sent: Wednesday, March 14, 2007 11:10 AM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace Julia, You may add <widget:xforms-instance-inspector xmlns:widget="http://orbeon.org/oxf/xml/widget"/> before closing the body tag in your xhtml. This give you a cool way to see the data in the sampleData instance. With an instance like that : <instance id="sample"> <root> <Procedure> <Title>MyTitle</Title> </Procedure> </root> </instance> You have to write <xforms:output ref="instance('sample')/Procedure/Title"/> to display the Title content.(note the <root> element) HTH, Marc -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Jacobs, Julia A [HDS]
On 3/14/07, Jacobs, Julia A [HDS] <[hidden email]> wrote:
> If you would like, I would be more than happy to help expand the Orbeon > Xforms docs with Tamino information for other newbies like myself. Hi Julia, As far as I can remember we have not made any change to the Tamino JAR files. You should be able to use Tamino with the verbatim Tamino jar files distributed with Tamino. And thank you for the offer of contributing to the documentation. That would be highly useful. If you have anything you would like us to add or change in the Tamino section of the "XML Databases" pages, just post it here and we will update the documentation accordingly. I agree that it would be worth to at least mention what jar files need to be added and where you can get them. http://www.orbeon.com/ops/doc/processors-xmldb Alex -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Just to give an update on my progress, thanks to everyone's help, it
looks like I'm ALMOST there with Tamino and Orbeon. I also need to add that the following files, if they do not already exist in Tomcat, need to be moved from the Tamino_Home\SDK\TaminoAPI4J\lib to Tomcat_Home\server\lib: xercesImpl.jar xmlParserAPIs.jar I did not have these installed Tomcat so I kept getting errors. Also I copied the log4j.jar from Tamino over to Orbeon, but neglected to DELETE Orbeon's log4j-1.3alpha0.jar afterwards. This resulted in Logging errors (imagine that). I am just running into the problem of my web server not having enough hard disk space. This is crashing Tamino. Not a good idea to have a 3GB Tamino database on an 8GB HD running Windows NT! I'll let you know what happens when I get a bigger hard drive. Then I'll get to work on improving that documentation. I think at this rate I can come up with a decent troubleshooting section :) ______________ Julia Jacobs Documentation Tools Specialist - Information Design & Development HD Supply 501 W Church St. Orlando, FL 32805-2232 407-822-2414 One Team, Driving Customer Success and Shareholder Value -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Friday, March 16, 2007 2:15 PM To: [hidden email] Subject: Re: [ops-users] General help getting started with Orbeon / Tamino and p element namespace On 3/14/07, Jacobs, Julia A [HDS] <[hidden email]> wrote: > If you would like, I would be more than happy to help expand the > Orbeon Xforms docs with Tamino information for other newbies like myself. Hi Julia, As far as I can remember we have not made any change to the Tamino JAR files. You should be able to use Tamino with the verbatim Tamino jar files distributed with Tamino. And thank you for the offer of contributing to the documentation. That would be highly useful. If you have anything you would like us to add or change in the Tamino section of the "XML Databases" pages, just post it here and we will update the documentation accordingly. I agree that it would be worth to at least mention what jar files need to be added and where you can get them. http://www.orbeon.com/ops/doc/processors-xmldb Alex -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |