How can I make a java program, which contains a method main(String[] args)
and must synchronize to execute it in windchill
(8). This will allow me to retrieve data windchill such as life cycles for example?
Asked
Active
Viewed 1,910 times
0

Ahmed Ashour
- 5,179
- 10
- 35
- 56

Ritch Ritch
- 1
- 2
-
1Just try write a code with main method and execute from wc shell..Will work – Vignesh Vino Sep 12 '16 at 07:31
1 Answers
0
You have 2 ways to do this. Using a pure java application, calling Windchill services with RMI call. This is really the hard way, as you have to manage the classes dependencies, and many other issues. The easiest way is to use an HTTP Client and call Infoengine tasks, either by using pure HTTP calls, or WebServices.
Any Infoengine task can be called with an URL like this one : http://server/Windchill/servlet/IE/tasks/MyTask.xml

olikaf
- 591
- 3
- 11