A custom-developed Jasper Report fails to push from Jasper Soft Studio to the JasperReport Server. The operation terminates with a SOAP message processing error.
Unable to push the Custom generated Jasper Report from Jasper Soft Studio to JasperReport Server.
While pushing the report we are getting the below error.
When attempting to push a report, the following error is generated in the console or logs:
ERROR:
AxisFaultfaultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultString: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages
Stack Trace Details:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messagesat org.apache.axis.encoding.DeserializationContext.startDTD(DeserializationContext.java:1161)at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.doctypeDecl(Unknown Source)
Additional customer reports indicate that improperly formatted TEWS requests can also trigger related SAXParseException errors, such as "Content is not allowed in trailing section".
This issue typically occurs due to a version mismatch between the JasperSoft Studio client and the JasperReport Server, or when the XML encoding format in the SOAP message is incompatible with the server's requirements.
<?xml-stylesheet ...?>) that are prohibited in SOAP envelopes.Error: Processing instructions are not allowed within SOAP messages