Re: How to use output of a pipeline?
Posted by
Alexandru Ionita on
Feb 01, 2010; 11:06am
URL: https://discuss.orbeon.com/How-to-use-output-of-a-pipeline-tp1458650p1458672.html
Hello Robin,
I'm not sure that you can consume the response of a webservice from another xform instead of the calling source xform.
But, if you want to consume the response of the webservice in the same xform, watch here:
xxforms:call-xpl
<xf:trigger appearance="xxforms:link">
<xf:label class="button"><xhtml:span class="Prufen">Prüfen</xhtml:span></xf:label>
<xf:action ev:event="DOMActivate">
<xf:insert nodeset="instance('formCheckMessages')"
origin="xxforms:call-xpl(
'<<link_to_the_XPL_file>>',
'formData',
instance('userResponse'), 'checkMessages')"/>
</xf:action>
</xf:trigger>
by this, you are inserting the response of a pipeline into a defined instance.
If this is what you are looking for, don't hesitate to ask for more details.
regards,
Alexandru
On Mon, Feb 1, 2010 at 12:30, Robin Diederen
<[hidden email]> wrote:
Hello all,
I have this pipeline which produces a XML document after doing some SOAP calls; the pipeline is fired by a submission from a Xforms document.
Now I to use this XML document on another Xforms document and I’m wondering how I can access this data.
From my pageflow:
<page id="search-general-submit" path-info="/search/search-general-submit" >
<action action="search-general-perform.xpl">
<result page="search-general-result" transform="oxf:xslt">
<data xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:copy-of select="doc('input:instance')"></xsl:copy-of>
</data>
</result>
</action>
</page>
My guess would be that I should an xforms:instance element in the consuming Xforms document referring to the data generated by the pipeline. Is that correct? If so, how would I refer to this data?
Best, Robin
--
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
--
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