Trading Networks : BizdocType

Hello,

I want to use the service wm.tn.rec.bizdoctype:add to create a document type in trading networks.

I cannot manage to provide the good “object” for the type, and this service is always failing for the same reason, problem for casting the object. Is someone get an example for adding a simple bizdoctype in TN by this service ?

I had also tried to use another service : the service wm.tn.rec.bizdoctype:update to add some custom attributes in a bizdoctype, but I failed too for this. If someone get also an example, it would really help me.

Thanks.

Cat