# \[Solved\] Consume my own web service in ASP .NET

**URL:** <https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [October 10, 2019, 7:30pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689 "2019-10-10T19:30:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![itcare.desarrollosiw](https://avatars.discourse-cdn.com/v4/letter/i/8e7dd6/32.png) [@itcare.desarrollosiw](https://community.thunkable.com/u/itcare.desarrollosiw)\
**Post date:** [October 10, 2019, 7:30pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/1 "2019-10-10T19:30:07Z")

</div>

I made a Web Service in C# ASP .NET to feed my thunkable app, I call in my network in this way  
[http://192.168.0.250/Service1.svc](http://192.168.0.250/Service1.svc)  
or  
[http://192.168.0.250/Service1.svc?wsdl](http://192.168.0.250/Service1.svc?wsdl)  
or  
[http://192.168.0.250/Service1.svc?singleWsdl](http://192.168.0.250/Service1.svc?singleWsdl)

in that WS I have a Method to validate the user login:

_string appValUsr(string usu\_id, string usu\_clave)_

The method receive two parameter:

- **usu\_id** the login name
- **usu\_clave** the password

And I return a string value for OK or WRONG credentials

How can I call this web service using the Web Api component ?

Thanks in advance,  
Alejandro Castrejón

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 11, 2019, 8:52am UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/2 "2019-10-11T08:52:54Z")

</div>

Do I understand correctly that the data exchange protocol you use GET? When the request from the browser, you receive a reply from the server? If you get, then use this query to the Web API.

---

<div class="post-metadata">

**Author:** ![itcare.desarrollosiw](https://avatars.discourse-cdn.com/v4/letter/i/8e7dd6/32.png) [@itcare.desarrollosiw](https://community.thunkable.com/u/itcare.desarrollosiw)\
**Post date:** [October 11, 2019, 12:21pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/3 "2019-10-11T12:21:47Z")

</div>

Its a SOAP protocol

It’s posible consume with Web Api component?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/9/f91e69fec7016e5cfaa16a3a9e3c5466473fbf3e.png)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 11, 2019, 6:56pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/4 "2019-10-11T18:56:12Z")

</div>

I have not worked with SOAP, so ask this question. I enter into the browser URL [http://192.168.0.250/Service1.svc?wsdl](http://192.168.0.250/Service1.svc?wsdl) and see a blank page. To access the data we need some password or authorization of the service? If I saw the data from your image in my browser, then I would say that it is possible to receive the data and manually obtain from them the necessary information, but I see a blank page and I can not say anything.

---

<div class="post-metadata">

**Author:** ![itcare.desarrollosiw](https://avatars.discourse-cdn.com/v4/letter/i/8e7dd6/32.png) [@itcare.desarrollosiw](https://community.thunkable.com/u/itcare.desarrollosiw)\
**Post date:** [October 12, 2019, 6:03pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/5 "2019-10-12T18:03:33Z")

</div>

Show you a blank page because 192.168.0.250 it’s a internal IP of my network for development.

I thought that maybe the SOAP protocol will never works with the Web Api component and make a new simple Web Api project in ASP and works well.

If someone need information how to make it, I will be happy to explain and share my code.

Thanks for your time,  
Alejandro Castrejon

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 13, 2019, 10:27am UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/6 "2019-10-13T10:27:00Z")

</div>

Clear.

So, you have a server reveals the answer. Get the answer in the Web API and then manually get the right information from the tags. If the server to return data in JSON format, then get them was s much easier.

[https://docs.thunkable.com/web-api](https://docs.thunkable.com/web-api)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [October 21, 2019, 1:34am UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/7 "2019-10-21T01:34:58Z")

</div>

Hi @itcare.desarrollosiw, thanks for the update.

> [@itcare.desarrollosiw](#):
>
> If someone need information how to make it, I will be happy to explain and share my code.

This would be a really great tutorial to have in the #Creator Lounge if you’re interested/have the time?

Alternatively, if you have a blog you could do a write up there and post the link in the community?

---

<div class="post-metadata">

**Author:** ![itcare.desarrollosiw](https://avatars.discourse-cdn.com/v4/letter/i/8e7dd6/32.png) [@itcare.desarrollosiw](https://community.thunkable.com/u/itcare.desarrollosiw)\
**Post date:** [October 21, 2019, 2:40pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/8 "2019-10-21T14:40:54Z")

</div>

I have the same idea,

What do you think if a make a blog entry and also copy in the #creator-lounge?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [October 21, 2019, 4:27pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/9 "2019-10-21T16:27:09Z")

</div>

Sounds perfect - let me know if there’s anything I can do to help.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:08pm UTC](https://community.thunkable.com/t/solved-consume-my-own-web-service-in-asp-net/266689/10 "2024-11-08T12:08:36Z")

</div>


