taxIds.setNamespaces(new Namespace[] {xsiNamespace, soapNamespace});
MappingAttribute xsiType = new MappingAttribute("type", xsiNamespace); //$NON-NLS-1$
xsiType.setValue(namespace.getPrefix()+":ArrayOfTaxIDType"); //$NON-NLS-1$
xsiType.setOptional(true);
taxIds.addAttribute(xsiType);
MappingAttribute arrayType = new MappingAttribute("arrayType", soapNamespace); //$NON-NLS-1$
arrayType.setValue( namespace.getPrefix()+":TaxIDType[]"); //$NON-NLS-1$
arrayType.setOptional(true);
taxIds.addAttribute(arrayType);