Hi,
I am trying to submit a pdf-binary to my external local service from a docker container running tomcat and Orbeon Forms application. However when clicking on the submit button I get the following error in the logs.
ERROR XFormsServer - xforms-submit-error - class org.orbeon.saxon.value.StringValue cannot be cast to class org.orbeon.saxon.om.NodeInfo (org.orbeon.saxon.value.StringValue and org.orbeon.saxon.om.NodeInfo are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @b4711e2)
|An Error has Occurred |
|----------------------------------------------------------------------------------------------------------------------|
|[No error message provided.] |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.action.XFormsAPI$SubmitException |
My submit process has the following configuration.
<property as="xs:string" name="oxf.fr.detail.process.submit.*.*">
require-valid
then send(
uri = "uri is here",
method = 'POST',
content = 'pdf'
)
</property>
Tomcat image version is tomcat:10-jdk17 and using Orbeon Forms PE 2023.1.
Thanks for your help.
Adam