cancel
Showing results for 
Search instead for 
Did you mean: 

How to ignore DOTYPE tage in incomming XML messages

0 Kudos
114

Hi,

I'm receiveing XML message into PI.

The message is failing in the Integration engine with this error

Failed to load resource from the context classloader of the current thread!

Loading from classloader was caused by: java.io.FileNotFoundException:

.....\j2ee\cluster\server0\XXX.dtd (The system cannot find the file specified)

The XML file recieved offcourse contains the DTD reference

<!DOCTYPE SdDataSlice SYSTEM "XXX.dtd">

Is there any functionality/possibilyt to make PI ignore this tag istead of trying to locate the DTD

Br Frank

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi Frank,

Same issue was already solved in this thread, have a look if the solution is also applicable for you:

Regards,

Greg

0 Kudos

nice... XSL did the job.

Answers (2)

Answers (2)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Br Frank,

                   This problem was resolved with java mapping code I wrote in this thread http://scn.sap.com/thread/3184205

Please try it.  Hope this helps.

Regards

Anupam

nageshwar_reddy
Contributor
0 Kudos

@

SAP Note 812966 - <!DOCTYPE Declaration (DTD) in the XI mapping (https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=812966 - SMP login required) is relevant here. Althugh this is old note, i think this should help. Please note that the link provided by @