# SOAP request

**URL:** <https://forum.uipath.com/t/soap-request/102018>\
**Category:** Help\
**Tags:** webapi, activities\
**Created:** [March 13, 2019, 12:02pm UTC](https://forum.uipath.com/t/soap-request/102018 "2019-03-13T12:02:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Varunhudke](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/varunhudke/32/52729_2.png) [@Varunhudke](https://forum.uipath.com/u/Varunhudke)\
**Post date:** [March 13, 2019, 12:02pm UTC](https://forum.uipath.com/t/soap-request/102018/1 "2019-03-13T12:02:50Z")

</div>

Hi ,

I’m using SOAP request to get data from url but it is asking for AuthenticationInfo.But authenticationInfo has two field “userName” and “password”,How to pass both value into single field of AuthenticationInfo.Please let me know if you have any solution.

Thank you

---

<div class="post-metadata">

**Author:** ![singhonkar](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/singhonkar/32/152111_2.png) [@singhonkar](https://forum.uipath.com/u/singhonkar)\
**Post date:** [March 13, 2019, 12:14pm UTC](https://forum.uipath.com/t/soap-request/102018/2 "2019-03-13T12:14:55Z")

</div>

@Varunhudke

Can you please share which authentication type you would like to proceed further like Simple or Windows etc.

---

<div class="post-metadata">

**Author:** ![Varunhudke](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/varunhudke/32/52729_2.png) [@Varunhudke](https://forum.uipath.com/u/Varunhudke)\
**Post date:** [March 14, 2019, 6:16am UTC](https://forum.uipath.com/t/soap-request/102018/3 "2019-03-14T06:16:43Z")

</div>

![error](https://global.discourse-cdn.com/uipath/original/3X/d/1/d11e1ef38f8035d2ec49e6884f84549a009f430c.png)  
I’m normally using SOAPUI to fetch the data, here I’m putting userName and password directly as like below  
urn:userNameadmin\</urn:userName\>  
\<urn;password\>admin\</urn:password\>  
but I don’t know how to pass userName and password to AuthenticationInfo.

---

<div class="post-metadata">

**Author:** ![singhonkar](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/singhonkar/32/152111_2.png) [@singhonkar](https://forum.uipath.com/u/singhonkar)\
**Post date:** [March 14, 2019, 6:30am UTC](https://forum.uipath.com/t/soap-request/102018/4 "2019-03-14T06:30:02Z")

</div>

@Varunhudke

You can select “Simple” from Authentication drop down which enables you to provide user name and password.

---

<div class="post-metadata">

**Author:** ![Varunhudke](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/varunhudke/32/52729_2.png) [@Varunhudke](https://forum.uipath.com/u/Varunhudke)\
**Post date:** [March 14, 2019, 7:04am UTC](https://forum.uipath.com/t/soap-request/102018/5 "2019-03-14T07:04:34Z")

</div>

I tried that also but getting below error…

 ![errr1](https://global.discourse-cdn.com/uipath/original/3X/6/2/62fbec09dce661f146efd0eb9b7a851552069aee.jpeg) ![errr2](https://global.discourse-cdn.com/uipath/original/3X/c/7/c743b990ff6c7f43c5bf950c09d5d3fa3d752001.png)

---

<div class="post-metadata">

**Author:** ![singhonkar](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/singhonkar/32/152111_2.png) [@singhonkar](https://forum.uipath.com/u/singhonkar)\
**Post date:** [March 14, 2019, 7:24am UTC](https://forum.uipath.com/t/soap-request/102018/6 "2019-03-14T07:24:41Z")

</div>

@Varunhudke

Can you try once after deleting the AuthenticationInfo parameter from the list of names you declared.

As you’re passing the username, password explicitly , then this field is not required. Also, there is no type available in .net type with AuthenticationInfo.

---

<div class="post-metadata">

**Author:** ![Varunhudke](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/varunhudke/32/52729_2.png) [@Varunhudke](https://forum.uipath.com/u/Varunhudke)\
**Post date:** [March 14, 2019, 9:20am UTC](https://forum.uipath.com/t/soap-request/102018/7 "2019-03-14T09:20:56Z")

</div>

I tried that also but still it is showing same error.
