Skip to main content
Oct 17, 2017 6:33 AM UTC
Question

how to use client.invokeservice() from TWX extension??

Hello,

I try to invoke Thing service from TWX java extension code.

TWX_Extension_Err.png

Inside of the code, i got an error like above image.

"The type com.thingworx.common.interfaces.IDataShapeDefinitionProvider cannot be resolved. It is indirectly referenced from required .class files"

Do you know the reason of this error??

Please help.

1 reply

Oct 17, 2017 7:51 PM UTC

Hello, Yong June Kim.

I found the below article which seems to imply you may need to use the Edge SDK (for example, the Java SDK) instead of the Extension SDK to insure you don't get this error. Also confirm you have all the required .jar files in the build path to make sure the dependencies are satisfied.

https://www.ptc.com/en/support/article?n=CS253189

Thanks,

-- Craig A.