Skip to main content
1-Visitor
April 25, 2017
Question

Unable to Invoke Service : No service handler defined for service on thing [Test]

  • April 25, 2017
  • 2 replies
  • 6613 views

I have created one extension and i m trying to test the service and getting below error.

Please suggest possible ways for it.

[context: com.thingworx.webservices.context.HttpExecutionContext@44302b5c][message: Unable to Invoke Service SendMessageWithImage on Test : No service handler defined for service SendMessageWithImage on thing [Test]]

Unable to create service handler for SendMessageWithImage in MailThingPackage:ThingPackage : Unable to bind service [SendMessageWithImage] to method on class [com.test.tnt.ext.mail.MailThing]

2 replies

5-Regular Member
April 25, 2017

Vaibhav, have you verified if your Mail Thing is working as expected i.e. are you able to send/receive emails with that? Have you tried testing the SendMessageWithImage?

1-Visitor
April 25, 2017

Sushant, I am facing this error at the time of testing SendMessageWithImage.

5-Regular Member
April 25, 2017

Could you share screenshot how you are testing it and the values you are putting in to test the service?

5-Regular Member
April 25, 2017

Vaibhav Sharma​,

Is this extension a custom extension or are you using the mail extension downloaded from the ThingWorx marketplace?

1-Visitor
April 25, 2017

Ankit Gupta

It is a custom extension.

5-Regular Member
April 25, 2017

Vaibhav Sharma​,

Please share the definition/code for SendMessageWithImage service.