Need a few pointers with XPL Pipeline please

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

Need a few pointers with XPL Pipeline please

mactwixs
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Need a few pointers with XPL Pipeline please

Alessandro  Vernet
Administrator
I would suggest you look at the code of existing examples, for instance the "XForms translate" example calls an XPL from XForms:

https://github.com/orbeon/orbeon-forms/tree/master/src/resources/apps/xforms-translate

This will give you an idea of how you make such a request from XForms, hook the XPL through the page flow to run when a certain HTTP request comes in, and run processors in the XPL. Then I'd recommend you go through the XPL doc:

http://wiki.orbeon.com/forms/doc/developer-guide/xml-pipeline-language-xpl

After this, I hope you'll be in a better place to start coding that pipeline, and of course, when doing so, you'll let us know if you have any question; at that point, your question are likely to be more specific, and we should be able to provide more useful answers.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: Need a few pointers with XPL Pipeline please

mactwixs
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: Need a few pointers with XPL Pipeline please

Alessandro  Vernet
Administrator
Hi Ian,

The embedded eXist is usually accessed without authentication (and I think that documents created this way by eXist are owned by guest, group guest). If you're using a 4.0 milestone build, by default the embedded eXist is secured with a filter:


And your oxf:execute-processor doesn't run, because there is nothing reading its output. The output should either be connected to the input of another processor, or to the output of the pipeline, which itself must be read.

Alex


On Thu, Nov 1, 2012 at 9:09 AM, MCGRAW Ian <[hidden email]> wrote:
Hi Alex

Thank you for your reply. I have managed to make some progress since posting and I have some questions based on the attached reference code.

In my 'analyse-preprocess' XPL I am trying to execute the external grep.exe with parameters resulting from an xmldb-query. I have debug turned on but can not find any visual reference in the log that tells me if any part of this XPL is working. In the log there are no errors and I can see entry/exit from the ProcessorService. I have also tried adding debug attributes to the input/output elements but these do not show up.

The install is as per the orginal WAR file so I am assuming (having looked at the eXist http://localhost:8080/orbeon/exist/rest/db/orbeon/...) is configured default as guest/guest?

Thanks, Ian.

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: 31 October 2012 19:14
To: [hidden email]
Subject: [ops-users] Re: Need a few pointers with XPL Pipeline please

I would suggest you look at the code of existing examples, for instance the "XForms translate" example calls an XPL from XForms:

https://github.com/orbeon/orbeon-forms/tree/master/src/resources/apps/xforms-translate

This will give you an idea of how you make such a request from XForms, hook the XPL through the page flow to run when a certain HTTP request comes in, and run processors in the XPL. Then I'd recommend you go through the XPL
doc:

http://wiki.orbeon.com/forms/doc/developer-guide/xml-pipeline-language-xpl

After this, I hope you'll be in a better place to start coding that pipeline, and of course, when doing so, you'll let us know if you have any question; at that point, your question are likely to be more specific, and we should be able to provide more useful answers.

Alex



--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Need-a-few-pointers-with-XPL-Pipeline-please-tp4655923p4655945.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
OW2 mailing lists service home page: http://www.ow2.org/wws




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



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: RE: Re: Need a few pointers with XPL Pipeline please

mactwixs
CONTENTS DELETED
The author has deleted this message.