That’s good, I’m not so bad in programming Java, but I’m very new to webMethods, so it is hard to combine it (for me).
catalog is a record reference list, but i changed it to record (tip from another forum) and now it works, without the [0] of course. There is now a small problem with the mapping, because the new record test would not show the subrecords it contains, so i have to substitute the values. Is there a possibility to change that and how does it work with lists, because i don’t know how long they are?
Thanks for your help and I’m glad to see, that someone with your experience can learn new things. But i have to learn a lot more 
Edit:
I created a service where i generate a recordlist with the products, but i’m not sure, if it got the right data from the DSP. I tested the service with loading the right data in it, but later i need to send the data from the DSP to the service.
The service name is createProductList and it creates the following structure:
Products(record list)
- Product (record)
– Name (String)
– ProdID (String)
– Price (String)
The DSP i use is in another folder then the service createProductList (folder “catalog”), so i tried the following to invoke the service and use the data:
%invoke catalog:createProductList%
%loop Products%
%value Product/Name%
%value Product/ProdID%
%value Product/Price%
%endloop%
%endinvoke%
But nothing i shown so i think this is wrong or the input data is missing. The service with the output template (the DSP) has an output which is equivalent to the input of createProductList. (a record called catalog)
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services