{
if (buf.length() > 0)
buf.append(", ");
XSElementDeclaration element = (XSElementDeclaration)term;
XSTypeDefinition type = element.getTypeDefinition();
String tempContainingElement = containingElement + ToolsUtils.firstLetterUpperCase(element.getName());
QName xmlType = null;
if (type.getAnonymous() == false)
xmlType = new QName(type.getNamespace(), type.getName());
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
boolean array = particle.getMaxOccursUnbounded() || particle.getMaxOccurs() > 1;
boolean primitive = !(element.getNillable() || (particle.getMinOccurs() == 0 && particle.getMaxOccurs() == 1));
generateParameter(buf, tempContainingElement, xmlType, xsmodel, type, array, primitive, false);
String paramName;
if (type.getAnonymous())
{
paramName = containingElement;
}
else
{