Trading Networks : BizdocType


I want to use the service 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 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.