IDoc Support for SAP Java
Applications
The Java Application Server is equipped with an IDoc class library and an IDoc XML processor.
These two functionalities support the migration of IDoc-based integration scenarios from the SAP Business Connector to the SAP Exchange Infrastructure.
The Java IDoc class library provides the basic functionality for working with IDocs. These include:
● Procuring and managing the metadata for IDoc types
● Navigation through an IDoc.
● Constructing an IDoc
● Sending IDocs via the tRFC port in the ALE interface.
● Receiving IDocs via the tRFC port in the ALE interface.
The IDoc XML processor also allows direct conversion of IDoc XML into the binary IDoc format and vice versa.

The IDoc XML processor is not a universally applicable XML processor.
You can find further information about the IDoc class library and the IDoc XML processor in the SAP NetWeaver Developer Studio, under Help → Help Contents → SAP NetWeaver Developer Studio Documentation → Java Development Manual → Reference → API Documentation.