http://www.orbeon.com/ois/doc/processors-converters#xml-converter
Then, with XSLT, build your "call" input document and embed the resulting string.
-Erik
Avinder Bahra wrote:
Hi,
I am using the Delegation Processor to call a stateless session EJB method. What I wan’t to do is pass an Xforms instance as a string parameter to the EJB method. However the documentation example (listed below) only shows how to pass in literal values. Is there a way to accomplish passing in an Xforms instance?
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<p:param name="data" type="output"/>
<p:processor name="oxf:delegation">
<p:input name="interface">
<config>
<service id="save-xform" type="stateless-ejb" uri="ejb/MyBeanHome"/>
</config>
</p:input>
<p:input name="call">
<delegation:execute service="save-xform" operation="saveXForm">
<theform xsi:type="xs:string">I WOULD LIKE TO SAVE XFORMS INSTANCE</theform>
</delegation:execute>
</p:input>
<p:output name="data" ref="data"/>
</p:processor>
</p:config>
Any help appreciated.
Regards
Avinder
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user
