<GetProductsForMachine>
<Products>
<ProductsForMachine>coffee espresso</ProductsForMachine>
<ProductsForMachine>coffe1</ProductsForMachine>
<ProductsForMachine>coffee2</ProductsForMachine>
</Products>
What must to be the implementation of Class ProductsForMachine,it's difficult because there isn't elements to get theirs value.
I try with following code but i have errors in the parsing..
@Root
public class ProductsForMachine{
@Attribute(name="ProductsForMachine", required=true)
public String ProductsForMachine;
@Element(required=false)
public int value;
}
Thanks