cancel
Showing results for 
Search instead for 
Did you mean: 

How to add dtd tag into cXML xsd

Former Member
0 Kudos

HI All,

I have a requirement in which I have to use cXML and as all of you know that we cannot directly import the cXML.dtd into SAP so I have converted the dtd into xsd.

User is sending the data in this format.

<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no'?>

<!-- Oracle eXtensible Markup Language Gateway Server -->

<!DOCTYPE cXML SYSTEM "cXML.dtd">

<cXML version="1.2.007" payloadID="2010-11-09-12-07-21.60004397:0:4724.249819289270901871044542787156965720568@" timestamp="2010-11-09T12:07:21+01:00" xml:lang="en">

As you can see they are sending <!DOCTYPE cXML SYSTEM "cXML.dtd"> in the xml and because of this PI is unable to process the message and generate the following error.

<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_mm_cXML_Order_to_IDOC_ORDERS02_SGS_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Failed to load resource from the context classloader of the current thread! Loading from classloade~</SAP:Stack>

Can any body please tell me how to resolve this issue.

Thanks,

Iqbal

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Please check this link