Java SDK Tutorial Creating a property and/or writing values to it
I have recently been doing some things in the Java SDK tutorial and I have gotten to a point where I can connect to the thingWorx hosted trial server, create a remoteThing, and bind it to a Thing that has been created in ThingWorx with the same name. What I am trying to do now is either..
A) add a property via Java code and then add values to it, this way I can update these every n seconds.
or
B) Simply add values to a property created in ThingWorx already.
For some reason when I use this code....
// Writing a property
///////////////////////////////////////////////////////////////
LocationPrimitive location = new LocationPrimitive(42.36, -71.06, 10.0);
// This will set the CurrentLocation property of the Thing to the GPS
// coordinates of Boston, MA.
client.writeProperty(ThingworxEntityTypes.Things, thingName, "CurrentLocation",
location, 5000);
I get this error...
com.thingworx.common.exceptions.GenericHTTPException: Entity TunnelExample does not exist or is not yet associated with a Thing
I am not sure how I am getting this error because if I remove the code above, everything connects fine in Java and ThingWorx. I made sure the code was executing after connecting so I am unsure why it says. Any help would be greatly appreciated as it will probably solve a number of other issues I will run into when doing this for services, events, etc...

