<?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>To test a webApi using Soap UI</title><link>https://community.appian.com/discussions/f/integrations/10915/to-test-a-webapi-using-soap-ui</link><description>Hi everyone, 
 I created few POST webApi and It was working fine while testing internally. But when I was trying to test the webAPi using SoapUI , It is giving the below error , 
 HTTP/1.1 401 Unauthorized Date: Mon, 21 Aug 2017 06:23:02 GMT Server: Apache</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/51086?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 10:34:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82b20e64-a2ea-46f4-a2b4-44ce2b7d449d</guid><dc:creator>aloks0189</dc:creator><description>&lt;p&gt;Hi Someshwar,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you want to invoke Appian Web-API using any third party tool such as (SoapUI) or using Appian?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. While invoking it through Appian Integration Object, you don&amp;#39;t need to think about preemptive configuration, you just need to choose authentication as Basic followed by username and password/third party credential detail&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;If you are on a lower environment, and want to use httpQuery() or httpWrite() functions to invoke Appian Web-API, in such case for authentication, you need to make the use of&amp;nbsp;a!httpAuthenticationBasic() as mention below:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!httpAuthenticationBasic(
  username: a!scsField(), 
  password: a!scsField(), 
  preemptive: true()
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;here you can find preemptive option available.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. If you want to use any 3rd Party&amp;nbsp;tools such as SOAPUI, you can follow below mention steps to achieve this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/18/SOAPUI.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/SOAPUI.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here first you need to click on Auth(...) option &amp;gt;&amp;gt; Choose the Authentication Type as Basic and hence you can find the preemptive option just below username and password as shown in attached image.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope it will help you in every single aspects of invocation of Appian Web-API&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/51084?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 09:56:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fc69fc1-7027-4131-9924-37582005794d</guid><dc:creator>someshwarp</dc:creator><description>Hi Guruprakash,&lt;br /&gt;
&lt;br /&gt;
I have the same problem.&lt;br /&gt;
Please help me, where to find &amp;quot;Pre-emptive auth&amp;quot; radio button.&lt;br /&gt;
I have checked in suite/admin, I did not find it..&lt;br /&gt;
Kindly help me&lt;br /&gt;
&lt;br /&gt;
Thanks and Regards,&lt;br /&gt;
Someshwar&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/47772?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 09:21:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0db93faf-cba9-4489-8d49-903a5524c750</guid><dc:creator>Krishna Chaitanya</dc:creator><description>Happy to help&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/47770?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 09:16:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1dfbf5bf-c22f-4fda-b7ff-8fbc4903cb21</guid><dc:creator>guruprakashk</dc:creator><description>Thanks you so much Kchaitanyam. I got it resolved , the issue is I gave the authentication details both pre-emptively and in the header. Once I removed the header authorization , I got it pulled. Thank you again&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/47756?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 06:59:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc2272ba-c2be-4a63-b0ea-330ae7fd1d90</guid><dc:creator>Krishna Chaitanya</dc:creator><description>&lt;p&gt;have you check Pre-emptive auth radio button as Authentication per emptively in basic authentication details&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/47755?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 06:55:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20f1075a-1cec-4af0-8171-7df62119f211</guid><dc:creator>guruprakashk</dc:creator><description>Hi kchaitanyam ,&lt;br /&gt;
&lt;br /&gt;
Thanks for your response. But I tried providing the credentials as in the snapshot and also by passing the credentials through header field such as authorization: Basic encodedUsername:encodedPassword . Still I am facing the issue..&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To test a webApi using Soap UI</title><link>https://community.appian.com/thread/47754?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 06:48:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3389189b-27fb-4604-9a74-0f0d4fceea52</guid><dc:creator>Krishna Chaitanya</dc:creator><description>&lt;p&gt;hi guruprakashk&lt;br /&gt;make sure you provide basic authentication details (any one of user credentials ) in SoapUI&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/18/auth.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/auth.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>