Ernesto,
Basically in the subscribing receiving service the service input should be fully qualified documentTypeName( when you set DocumentReference)that is published by broker.
This way you will have the data extracted in the above documentReference from the pipeline and so that you can do mapping in the further downstream.
example for fully qualified DocumentTypeName(folder.subfolder:documentName)
HTH,
RMG.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services