Hi,
sorry for the newbie questions....
I'm trying to get category name and color from appointments in my calendar...

Code:
			if (itemsResponse.getItems() != null) {
				Item[] itemListApp = itemsResponse.getItems().getItem();
				for (int i=0; i< itemListApp.length; i++) {
					CategoryRefList categ = ((Appointment)itemListApp[i]).getCategories();

					if(categ!=null)
					{
						String[] categories = categ.getCategory();
						for(String str:categories)
						{
							System.out.println("Category: "+str);

						}
					}
				}
			}
the code above print this result

3.GWDOM.GWPOSTOF.100.0.1.0.1@12

but now with how can I get color and name?

I find out also the method getCategoryListRequest
Code:
			GetCategoryListResponse categoryResponse = this.service.getCategoryListRequest(this.session, properties.getTrustedTrace());
			CategoryList catList = categoryResponse.getCategories();
			Category[] cat = catList.getCategory();
			for(Category c:cat)
			{
				System.out.println("Category-name: "+c.getName());
				System.out.println("Category-color: "+c.getColor());
				System.out.println("Category-version: "+c.getVersion());
				System.out.println("Category-calendar: "+c.getModified());
				System.out.println("Category-item: "+c.getChanges().getUpdate());
			}
but it doesn't retrieve any result even if the categories are defined..

thanks