public NonMandatoryParamsOperationResponseObject nonMandatoryParamsOperation(RequestContext ctx, String headerParam,
String queryParam, NonMandatoryParamsRequest message, TimeConstraints timeConstraints) throws SimpleException {
ctx.setRequestLogExtension(new BaselineLogExtension(message, null, null));
NonMandatoryParamsOperationResponseObject returnObject = new NonMandatoryParamsOperationResponseObject();
/*
*
* Path paramters must always be passed regardless of mandatory flag in IDL so assume passed
*/
if (headerParam != null) {
returnObject.setHeaderParameter(headerParam);
}
else {
returnObject.setHeaderParameter(null);
}
if (queryParam != null) {
returnObject.setQueryParameter(queryParam);
}
if ((message != null) && (message.getBodyParameter1() != null)) {
returnObject.setBodyParameter1(message.getBodyParameter1());
}
if ((message != null) && (message.getBodyParameter2() != null)) {
returnObject.setBodyParameter2(message.getBodyParameter2());
}
return returnObject;
}