<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1490 Unable to create envelope error when invoking a process model as a web service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1490 Unable to create envelope error when invoking a process model as a web service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl</link><pubDate>Mon, 23 Jul 2018 12:54:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 7/23/2018 12:54:04 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When publishing a process model as a web service, the model fails to start and the following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates that&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the process model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed. An XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data. The web server truncates this amount of data for security reasons, which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, integration, web services, application design&lt;/div&gt;
</description></item><item><title>KB-1490 Unable to create envelope error when invoking a process model as a web service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/26</link><pubDate>Thu, 08 Feb 2018 03:45:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 26 posted to Appian Knowledge Base by Parmida Borhani on 2/8/2018 3:45:42 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When publishing a process model as a web service, the model fails to start and the following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates that&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the process model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed. An XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data. The web server truncates this amount of data for security reasons, which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a process model as a web service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/25</link><pubDate>Wed, 07 Feb 2018 00:59:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 25 posted to Appian Knowledge Base by Parmida Borhani on 2/7/2018 12:59:24 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When publishing a process model as a web service, the model fails to start and the following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates that&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the process model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed. An XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data. The web server truncates this amount of data for security reasons, which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/24</link><pubDate>Tue, 06 Feb 2018 17:10:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 24 posted to Appian Knowledge Base by Eric Gerardi on 2/6/2018 5:10:35 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When publishing a process model as a web service, the model fails to start and the following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates that&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the process model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed. An XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data. The web server truncates this amount of data for security reasons, which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/23</link><pubDate>Tue, 06 Feb 2018 17:04:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 23 posted to Appian Knowledge Base by Eric Gerardi on 2/6/2018 5:04:24 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When invoking a process model as a web service, the model fails to start and the following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates that&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the process model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed. An XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data. The web server truncates this amount of data for security reasons, which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/22</link><pubDate>Mon, 05 Feb 2018 17:49:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 22 posted to Appian Knowledge Base by Parmida Borhani on 2/5/2018 5:49:20 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates that&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the process model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed. An XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data. The web server truncates this amount of data for security reasons, which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/21</link><pubDate>Mon, 05 Feb 2018 17:32:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 21 posted to Appian Knowledge Base by Eric Gerardi on 2/5/2018 5:32:25 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are examples of possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method&amp;nbsp;which suggests the request sent is malformed; an XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data.&amp;nbsp; The web server truncates this amount of data for security reasons which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to&amp;nbsp;&lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/20</link><pubDate>Mon, 05 Feb 2018 17:24:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 20 posted to Appian Knowledge Base by Eric Gerardi on 2/5/2018 5:24:45 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are examples of possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method&amp;nbsp;which suggests the request sent is malformed; an XML Validator can confirm if it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data.&amp;nbsp; The web server truncates this amount of data for security reasons which&amp;nbsp;results in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to&amp;nbsp;&lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/19</link><pubDate>Mon, 05 Feb 2018 17:05:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 19 posted to Appian Knowledge Base by Eric Gerardi on 2/5/2018 5:05:18 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are examples of possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the behavior, consider the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;there is an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If the web server is truncating the request due to a large amount of data being sent, try sending a smaller request from the service.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope that Appian is receiving, add&amp;nbsp;the following logger to&amp;nbsp;&lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/18</link><pubDate>Mon, 05 Feb 2018 16:15:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 18 posted to Appian Knowledge Base by Eric Gerardi on 2/5/2018 4:15:26 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are examples of possible causes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The error message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The error message occurs due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If an issue with a malformed SOAP Envelope, use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with sending a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;To troubleshoot this further and analyze the SOAP envelope Appian is receiving, add&amp;nbsp;the following logger to&amp;nbsp;&lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/17</link><pubDate>Thu, 01 Feb 2018 17:31:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 17 posted to Appian Knowledge Base by Eric Gerardi on 2/1/2018 5:31:05 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are examples of what could cause this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;This&amp;nbsp;message occurs due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving by adding the following logger to &lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with sending a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/16</link><pubDate>Thu, 01 Feb 2018 17:29:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 16 posted to Appian Knowledge Base by Eric Gerardi on 2/1/2018 5:29:08 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are examples of what could cause this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving by adding the following logger to &lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with sending a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/15</link><pubDate>Thu, 01 Feb 2018 17:26:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 15 posted to Appian Knowledge Base by Eric Gerardi on 2/1/2018 5:26:07 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving by adding the following logger to &lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with sending a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/1</link><pubDate>Wed, 31 Jan 2018 22:40:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 10:40:31 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following message is seen in the application server log:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates that the application server&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: Month YYYY&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/14</link><pubDate>Wed, 31 Jan 2018 18:21:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 14 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:21:14 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the &lt;code&gt;getEnvelope()&lt;/code&gt; method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving by adding the following logger to &lt;code&gt;ear/suite.ear/resources/appian_log4j.properties&lt;/code&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/13</link><pubDate>Wed, 31 Jan 2018 18:19:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 13 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:19:25 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the getEnvelope() method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving by adding the following logger to ear/suite.ear/resources/appian_log4j.properties:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/12</link><pubDate>Wed, 31 Jan 2018 18:15:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:15:24 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;YYYY-MM-DD HH:MM:SS,mmm [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the getEnvelope() method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving, add the following logger to ear/suite.ear/resources/appian_log4j.properties:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/11</link><pubDate>Wed, 31 Jan 2018 18:09:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 11 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:09:28 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;XXXX-XX-XX XX:XX:XX,XXX [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the getEnvelope() method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving, add the following logger to ear/suite.ear/resources/appian_log4j.properties:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/10</link><pubDate>Wed, 31 Jan 2018 18:09:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:09:01 PM&lt;br /&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;XXXX-XX-XX XX:XX:XX,XXX [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the getEnvelope() method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;Troubleshoot this further and analyze the SOAP envelope Appian is receiving, add the following logger to ear/suite.ear/resources/appian_log4j.properties:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;log4j.logger.com.appiancorp.process.webservices=DEBUG
&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;If sending a large amount of data, try with a smaller request.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/9</link><pubDate>Wed, 31 Jan 2018 18:06:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:06:52 PM&lt;br /&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;XXXX-XX-XX XX:XX:XX,XXX [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the getEnvelope() method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;roubleshoot this further and analyze the SOAP envelope Appian is receiving, simply add this to ear/suite.ear/resources/appian_log4j.properties:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;Caused by: org.xml.sax.SAXParseException; Premature end of file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Unable to create envelope error when invoking a Process Model as a Web Service (WSDL)</title><link>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl/revision/8</link><pubDate>Wed, 31 Jan 2018 18:02:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ecb8f5d-79e1-4c39-8e91-821cf5dee80d</guid><dc:creator>Eric Gerardi</dc:creator><comments>https://community.appian.com/support/w/kb/815/kb-1490-unable-to-create-envelope-error-when-invoking-a-process-model-as-a-web-service-wsdl#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Eric Gerardi on 1/31/2018 6:02:36 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error&amp;nbsp;is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;XXXX-XX-XX XX:XX:XX,XXX [ajp-/X.X.X.X:XXXX-XX] ERROR com.appiancorp.process.webservices.pmserver.PMServletDelegate - &lt;br /&gt;An unknown error occurred while consuming the PM WS for the service: 
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1366)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.doPost(PMServletDelegate.java:107)
	at com.appiancorp.process.webservices.pmserver.PMServletDelegate.handleRequest(PMServletDelegate.java:70)
	at com.appiancorp.process.webservices.pmserver.PMServlet.doGet(PMServlet.java:13)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform&lt;br /&gt;           (EfficientStreamingTransformer.java:414)
	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:118)
	... 89 more
Caused by: org.xml.sax.SAXParseException; Premature end of file.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
	at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	... 91 more
&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This message indicates&amp;nbsp;&lt;span style="font-weight:400;"&gt;this is not an issue with the model published as a web service; it is an issue with a malformed SOAP Envelope that the invoker/client is sending to the model in order to invoke it as a Web Service. This is&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;failing in the getEnvelope() method, which suggests the request sent is malformed; an XML Validator can confirm it is a valid SOAP envelope. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This could also be&amp;nbsp;due to the service sending a large amount of data and the web server is truncating it for security reasons resulting in an invalid XML.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;To alleviate the behavior, perform one of the following:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use an XML Validator to confirm&amp;nbsp;the&amp;nbsp;client is sending a valid SOAP envelope.&lt;/li&gt;
&lt;li&gt;d&lt;/li&gt;
&lt;li&gt;d&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: February&amp;nbsp;2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, web services&lt;/div&gt;
</description></item></channel></rss>