# SUDS Webservice call works in Vision project and from Script console - not from Gateway event

**URL:** <https://forum.inductiveautomation.com/t/suds-webservice-call-works-in-vision-project-and-from-script-console-not-from-gateway-event/96713>\
**Category:** Ignition\
**Tags:** vision, perspective\
**Created:** [October 2, 2024, 1:49pm UTC](https://forum.inductiveautomation.com/t/suds-webservice-call-works-in-vision-project-and-from-script-console-not-from-gateway-event/96713 "2024-10-02T13:49:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Spachinger](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@Thomas\_Spachinger](https://forum.inductiveautomation.com/u/Thomas_Spachinger)\
**Post date:** [October 2, 2024, 1:49pm UTC](https://forum.inductiveautomation.com/t/suds-webservice-call-works-in-vision-project-and-from-script-console-not-from-gateway-event/96713/1 "2024-10-02T13:49:44Z")

</div>

Hello,

i have the feeling, that Suds is kind of a banned word - but i need to figure out something.

i have a scripts project, where also our gateway events are running. i wrote a script with a suds webservice call that works fine in the scripting console. When calling the webservice from a gateway event (either timer or scheduled) i run into an issue deep in the webservice call.

i tried to execute the script in a perspective designer view on an button onClick event - also failed. When executing in a Vision Window within the designer - i works just fine. Has this to do something with the scope or where (except of using suds) could i get stuck?

Thanks!

---

<div class="post-metadata">

**Author:** ![Thomas\_Spachinger](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@Thomas\_Spachinger](https://forum.inductiveautomation.com/u/Thomas_Spachinger)\
**Post date:** [October 2, 2024, 1:51pm UTC](https://forum.inductiveautomation.com/t/suds-webservice-call-works-in-vision-project-and-from-script-console-not-from-gateway-event/96713/2 "2024-10-02T13:51:13Z")

</div>

Version is 8.1.35

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [October 2, 2024, 1:54pm UTC](https://forum.inductiveautomation.com/t/suds-webservice-call-works-in-vision-project-and-from-script-console-not-from-gateway-event/96713/3 "2024-10-02T13:54:35Z")

</div>

The specific error would likely yield more insight; my guess would be that there are network issues between the gateway and the service that don't exist between your workstation (where Designer is running) and the service.
