Example - Using JDE Standard Input Format for an Orchestration
This example uses the JDE Standard input format. The orchestration must be configured to accept this input format.
OrchestrationRequest req = new OrchestrationRequest(AIS_SERVER ,USER_NAME, PASSWORD,DEVICE_NAME);
req.setOrchestration("GetAddressBook_Simple");
req.getInputs().add(new OrchestrationInputValue("AddressBookNumber", "7500"));
req.getInputs().add(new OrchestrationInputValue("SearchType", "E"));
try{
String output = req.executeOrchestrationRequest();
//consume output, you can deserialize it to a class generated by the AIS Class Generator
}
catch(Exception e)
{
//handle exceptions
}