# Native service call using JS Service

**URL:** <https://forum.webosose.org/t/native-service-call-using-js-service/1097>\
**Category:** App Development\
**Created:** [May 28, 2020, 7:41am UTC](https://forum.webosose.org/t/native-service-call-using-js-service/1097 "2020-05-28T07:41:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/sso/32/333_2.png) [@SSo](https://forum.webosose.org/u/SSo)\
**Post date:** [May 28, 2020, 7:41am UTC](https://forum.webosose.org/t/native-service-call-using-js-service/1097/1 "2020-05-28T07:41:33Z")

</div>

I created a native service that controls gpio, but can't I call this native service using javscript service?  
I tried following the link below, but the native service call could not be made. Do I have to make a native service with built-in?

> **[Calling JS Services](https://www.webosose.org/docs/guides/development/js-services/calling-js-services/)**
>
> In this page, you can learn how to call JS services from web apps or another JS services in webOS Open Source Edition (OSE).
> Calling JS Services from Web Apps Depending on the platform version, a different API or library is used in order to call JS...

---

<div class="post-metadata">

**Author:** ![SSo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/sso/32/333_2.png) [@SSo](https://forum.webosose.org/u/SSo)\
**Post date:** [May 29, 2020, 12:30pm UTC](https://forum.webosose.org/t/native-service-call-using-js-service/1097/2 "2020-05-29T12:30:49Z")

</div>

I solved this problem!

Corrected by inserting the group of services that i want to call into the

**requiredPermissions** that i refer to when i call another service.

I referenced below link!

[click!](https://www.webosose.org/docs/tutorials/js-services/developing-external-js-services/#step-4-package-the-js-service)

---

<div class="post-metadata">

**Author:** ![NERGI](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/nergi/32/364_2.png) [@NERGI](https://forum.webosose.org/u/NERGI)\
**Post date:** [June 1, 2020, 4:51am UTC](https://forum.webosose.org/t/native-service-call-using-js-service/1097/3 "2020-06-01T04:51:33Z")

</div>

See also [ls-monitor Usage Guide](https://www.webosose.org/docs/iot/tools/ls-monitor-iot/#examples). (-i option)

`ls-monitor -i` will show the `requiredPermissions` values for each method.

For a more discoverable website, I will try to decide where the content should be placed.

Thanks

---

<div class="post-metadata">

**Author:** ![Robert\_Elite](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/robert_elite/32/598_2.png) [@Robert\_Elite](https://forum.webosose.org/u/Robert_Elite)\
**Post date:** [December 9, 2021, 9:14am UTC](https://forum.webosose.org/t/native-service-call-using-js-service/1097/4 "2021-12-09T09:14:51Z")

</div>

good reply and interesting information.
