<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web API to receive values from external system</title><link>https://community.appian.com/discussions/f/general/12944/web-api-to-receive-values-from-external-system</link><description>I need to receive the values from external system to update into Appian database. So i have used start process in web api to get those values and update accordingly. Through postman i was able to start the process with provided values from external system</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58568?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 19:25:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07614b64-2ba7-4b28-9b7a-154ba97345e0</guid><dc:creator>Mike Cichy</dc:creator><description>Fantastic you got it working.&lt;br /&gt;
Since Appian 18.1, preemptive basic auth is no longer a requirement: &lt;a href="https://docs.appian.com/suite/help/18.1/Appian_Release_Notes.html#expanded-basic-authentication-support-for-web-apis"&gt;docs.appian.com/.../Appian_Release_Notes.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58230?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 07:48:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbb33080-6051-4d7a-a9ef-6d542c027741</guid><dc:creator>gangatharan</dc:creator><description>Thanks it worked by giving preemptive authorization as enabled&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58228?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 07:47:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91c45b90-ad16-4a17-9c32-69d6d7068db2</guid><dc:creator>gangatharan</dc:creator><description>Thanks it got worked. The issue is from mule side where they need to enable preemptive authorization.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58223?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 06:44:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0817c16e-100d-474e-a7df-9f60358cb47e</guid><dc:creator>aloks0189</dc:creator><description>&lt;p&gt;&lt;a href="/members/gangatharank0001"&gt;gangatharan&lt;/a&gt;&amp;nbsp;FIrst of all we are not supposed to get the HTML Page as a response when you are making a call to an API.&amp;nbsp;&lt;br /&gt; &lt;br /&gt; This can happen in only following cases:&lt;br /&gt; &lt;br /&gt; 1. Mule system might be trying to open the endpoint URL (either internally or via some User Intercation). Let&amp;#39;s say, i have a link and upon click i need to Authenticate Appian, so instead of Authenticating via API Call it might be trying to Open this URL, if so, you will expect an HTML Response. May i know, are you passing preemptive as true.&lt;br /&gt; &lt;br /&gt; 2. Are you working with Mule 3.7.x or the previous version, because The new HTTP Requester in Mule ESB 3.6.0 does not support preemptive authentication but it does starting from version Mule 3.7.x&lt;br /&gt; &lt;br /&gt; 3. Your Endpoint might have some Typo (means some mistake in it&amp;#39;s endpoint url) so you need to cross check that as well. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; I believe point- 1 &amp;amp; 2 might be the actual reason behind the issue you are currently facing.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; Resolution:&lt;br /&gt; ---------------------&lt;br /&gt; If you are working with lower version of Mule (i.e. less than 3.7.x ) then i recommend upgrading your Mule System.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; Hope this will help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58219?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 05:48:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:776affce-8592-41f7-aee3-209c20001cc0</guid><dc:creator>gangatharan</dc:creator><description>Thanks for the detail explanation and we followed the same approach but still it gives login page as response with status code 200, by giving basic authorization also it shows only login page and not able to login from mule service.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58217?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 05:45:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6407b85-678e-42fe-b11d-242938a20c76</guid><dc:creator>gangatharan</dc:creator><description>Thanks. This is the first time mule interacting with Appian and they got html response with login page while triggering. We also given basic authorization but shows login page with status code 200&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58215?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 05:09:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c57e1dbf-c1f2-48b4-8625-c51772fcb0a9</guid><dc:creator>Shanmukha</dc:creator><description>Hi Ganga,&lt;br /&gt;
As other folks mentioned all the things. I would like to ask you. Please check the logs in the Mule when you exactly try to connect the service. Sometimes Http and Https makes some confusion when you try to access outside Web API&amp;#39;s. Having said that did you connect any other external systems like Appian from Mule. If yes then could you please share those details if possible so that we can figure out the issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58210?ContentTypeID=1</link><pubDate>Sun, 22 Jul 2018 22:51:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8b2aa3a-11b0-4a2b-ad12-ed7cf92147df</guid><dc:creator>aloks0189</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/gangatharank0001"&gt;gangatharan&lt;/a&gt; &amp;nbsp;couple of factors to consider here, in order to resolve this issue.&lt;/p&gt;
&lt;p&gt;1. You must have a service account/user in your Appian environment of type Basic User&lt;/p&gt;
&lt;p&gt;2. Navigate to WEB-API security, and provide Viewer permission to this user or his respective group (recommend) &lt;/p&gt;
&lt;p&gt;3. Provide Viewer permission to this user or his respective group (recommend) under process model security (which will be triggered by this Web - API)&lt;/p&gt;
&lt;p&gt;4. Configure this API endpoint in mule service, and enable preemptive authentication and the mode of authentication should be Http Basic Authentication (where you need to provide this Appian service account/user and his respective password)&lt;/p&gt;
&lt;p&gt;5. Provide the body content for your request, as it&amp;#39;s not a GET call.&lt;/p&gt;
&lt;p&gt;6. Test your request. &lt;/p&gt;
&lt;p&gt;If you have followed above mentioned steps in sequence, you should be able to communicate to Appian.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58207?ContentTypeID=1</link><pubDate>Sun, 22 Jul 2018 16:01:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3bb9349e-ebe1-404a-858a-a2da04ddbf8f</guid><dc:creator>prashantm963</dc:creator><description>Hey Ganga,&lt;br /&gt;
&lt;br /&gt;
To call a Appian Web- Api from outer systems needs to pass basic + preemptive authentication. If there is any way to enable preemptive authentication from mule please try with same.  And try to check logs if you can find where it is failing, In my case it was failing while host name verification while calling from java so i have written a method to override hostname   verification  (P.S.- it was only for testing not suggested in Prod env)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58202?ContentTypeID=1</link><pubDate>Sat, 21 Jul 2018 16:13:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b10f897-375b-4a4d-b5ba-dca374cb3211</guid><dc:creator>chandu</dc:creator><description>Hi Ganga,&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m not good with Mule, But may be we need to generate a certificate using and then Import it through Admin Console &amp;gt;  Integration&amp;gt; Client Certificates. Please let us know how you resolved this issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58184?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 12:41:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd9079ba-0340-4486-a930-697ed82b2fc2</guid><dc:creator>simples533</dc:creator><description>Try creating third party credential and use it to invoke your web API. Make sure to set security for third party user.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58175?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 08:44:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1cc6cd02-2430-463e-ada6-78c1850ab741</guid><dc:creator>gangatharan</dc:creator><description>&lt;p&gt;i given basic authorization in postman i.e appian user credentials and i follwed the same but in mule service its not able to login with appian environment and its cause the issue it seems&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API to receive values from external system</title><link>https://community.appian.com/thread/58173?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 08:05:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91c334f6-33d0-4980-b5ff-a7d9b7e04fda</guid><dc:creator>Shanmukha</dc:creator><description>Hi Ganga,&lt;br /&gt;
what is the authentication mechanism you have passed when you test this API in postman? Can you please check same in the mule while passing credentials?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>