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

We are happy to announce the new Windchill Customization board! Learn more.

Windchill DAO methods and Exceptions should be documented

dthursfield
1-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

0 REPLIES 0
Top Tags