Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
I have a simple service in Thingworx for THING_17, the thing implements ContentLoader thing shape
"
return me.LoadText({
url: 'http://localhost:8089/',
header: '{ "Accept": "text/html" }',
timeout: 12000
});
"
and there is a local HTTP service listening at port 8089, PostMan can do a request and receive a response well, but i got an error when using LoadText service
"Unable to Invoke Service Execute on THING_17 : null
Any help would be very appreciated.
My Bests,
Hung Tran
Solved! Go to Solution.
Hi Craig A.,
Thank you for asking. I am using classic Composer. Fortunately, when i change URL to 127.0.0.1, it is working well.
My Bests,
Hung Tran
Hello, Hung Tran.
Are you using the classic Composer or the New Composer here?
I ask because I have seen reports of this type of error when using the New Composer.
Thanks,
-- Craig A.
Hi Craig A.,
Thank you for asking. I am using classic Composer. Fortunately, when i change URL to 127.0.0.1, it is working well.
My Bests,
Hung Tran
Hi, Hung Tran.
Glad to hear that fixed it. When you get a chance, please mark your post as the accepted solution for the benefit of others who may see the same problem and can enjoy the fix.
Thanks!
-- Craig A.