GetProductSellingPagesCall psp = new GetProductSellingPagesCall(apiContext);
psp.setDetailLevel(new DetailLevelCodeType[] {DetailLevelCodeType.RETURN_ALL});
ProductType[] products = new ProductType[asArrayWithProdIds.length];
int[] csidArray = new int[asArrayWithProdIds.length];
for(int i = 0; i < asArrayWithProdIds.length; i++) {
ProductType prod = new ProductType();
prod.setProductID(asArrayWithProdIds[i].getProductID());
CharacteristicsSetType cs = new CharacteristicsSetType();
cs.setAttributeSetID(new Integer(asArrayWithProdIds[i].getAttributeSetID()));
prod.setCharacteristicsSet(cs);
products[i] = prod;
csidArray[i] = asArrayWithProdIds[i].getAttributeSetID();
}
psp.setProducts(products);
psp.setUseCase(ProductUseCaseCodeType.ADD_ITEM);