How can I invoke/run the custom Windchill class from a .bat file on remote machine?
How can I invoke/run the custom Windchill class(deployed in Windchill home directory) from a batch file(.bat) in another (remote) machine?
How can I invoke/run the custom Windchill class(deployed in Windchill home directory) from a batch file(.bat) in another (remote) machine?
Hi
Google can help you to find how to call http in cmd
https://medium.com/@dwyer.donovan/sending-http-requests-from-your-command-line-5ef6eecffb0a
Example of a class that can be run from HTTP
package cz.HELT;
public class Test1 implements RemoteAccess
{
public static void ProjectsTest(HTTPRequest req, HTTPResponse resp) throws WTException
{
// run your code
}
)
http address to call your class
http://server/Windchill/servlet/WindchillAuthGW/cz.HELT.Test1/ProjectsTest?IBA=123456&VALUE=0000
PetrH
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.