WsdlSettings.XML_GENERATION_ALWAYS_INCLUDE_OPTIONAL_ELEMENTS);
if (!createOptional) {
createOptional = UISupport.confirm("Create optional elements in schema?", "Create Request");
}
String req = operation.createResponse(createOptional);
if (req == null) {
UISupport.showErrorMessage("Response creation failed");
return;
}