cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Windchill DAO methods and Exceptions should be documented

Newbie

Windchill DAO methods and Exceptions should be documented

Ever since I started working with the DAO service it is one big struggle.

The whole DAO webservice seems so badly documented, that even professionals in PTC support don´t get it to work. For example recently received following answer to a question of mine:
"I didn´t get my DAO to work so far, because I still got the "INSTANCE"-problem and therefor couldn´t test the solution I am proposing".

My situation with the DAO service is as follows:

I am basically just a Windchill-consumer with no access to the server itsself.

Whenever I call the methods contained in the DAO-class I get pretty server-specific Exception descriptions like "

wt.util.WTException: java.lang.ClassCastException: wt.content.ApplicationData cannot be cast to wt.vc.wip.Workable". The Exception itsself (no matter what Exception) is always of type Exception, though. So there is no way to catch the Exceptions specifically, investigate the cause and solve the problem.

This is pretty much unsatisfying.

Another thing is, that parameters given to many of the methods must be a sepcific String, to trigger some specific action, but the proper Strings are not documented, either.

Anyone struggling with any similar problems using DAO?

Kind regards

Daniel

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________ Check out the Windchill Tips Board! We're talking about Whirlpool's use of digital twin, augmented reality, and data-driven design!

The NAVIGATE WORKING GROUP is here! Come innovate with PTC!

Sign up for a Working Group