if (paramName != null && paramValue != null && !"".equals(paramName.trim())) {
temp.addParameter(paramName.trim(), paramValue.trim());
}
}
OMElement templateEndpointEl = new TemplateEndpointSerializer().serializeEndpoint(temp);
if (templateEndpointEl != null) {
return templateEndpointEl.toString();
}