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

 

Reply via email to