Dear Alberto
the set up of solution is normally different. You pass on an IDOC from SAP EHS so SAP XI/PI and SAP XI /PI is used to transfrom that to XML.
XML is only a "language". More importamnt is: which XML schemata should / must be used. Wihtou this informaiton you are not able to solve the topic as in most cases you need to "map"/"trasnform" etc. the data.
With SAP Product and REACH COmpliance Suite a XML interface is prepared to exchange data using IUCLID format.
May be change you thread and fo on in EHS FORUM
C.B.