writer.write("\t/* first serialize attributes if any*/\n");
for (int i = 0; i < attributeParamCount; i++)
{
if (attribs[i].isArray() || !(attribs[i].isSimpleType()))
{
throw new WrapperFault("Error : an attribute is not basic type");
}
else
{
writer.write(
"\tif (0 != param->" + attribs[i].getParamName() + ")\n");