The following example shows how to create an instance using Order Force Job object.
/*
Instantiate the Order Force Job object
*/
Request_order_force_job_type orderForceRequest = new
Request_order_force_job_type();
orderForceRequest.setUser_token("");
orderForceRequest.setForce_it("yes");
orderForceRequest.setControl_m("mnh1");
orderForceRequest.setJob_id("000xs");
orderForceRequest.setJob_name("MYJOB");
orderForceRequest.setFolder_name("MYFOLDER");
orderForceRequest.setFolder_library("MYLIBRARY");
orderForceRequest.setOrderdate("ODAT");
Variable_assignment_type[] of_variable = new Variable_assignment_type[2];
of_variable[0] = new Variable_assignment_type();
of_variable[1] = new Variable_assignment_type();
of_variable[0].setName("MYVAR1");
of_variable[0].setValue("MYVALUE1");
of_variable[1].setName("MYVAR2");
of_variable[1].setValue("MYVALUE2");
orderForceRequest.setVariable_assignments(of_variable);
Parent Topic |