cancel
Showing results for 
Search instead for 
Did you mean: 

Adding and Removing DTD reference in adapter module

Former Member
0 Kudos

I am trying to strip dtd reference (doctype) from an xml documents on its way into XI and add the dtd reference to an xml message on its way out of XI.

I would like to do this with module development. We are using SOAP adapter with no soap envelope for these interfaces.

I dont know java at all.

Does anyone have the actual java code to do this?

Your help will be greatly appreciate and ofcourse rewarded with points.

Regards

Haseeb

View Entire Topic
Former Member
0 Kudos

Hello,

Check the below note. This has the java code to delete the DTD.

SAP note for this 812966.

Let me know if you cannot download the code from the note

Regards,

Former Member
0 Kudos

SriHari,

Thanks for your reply.

The SAP note addresses the issue with resolving DTD reference during mapping.

In our case, we want to strip the DTD reference. This will avoid XI to go out and load the dtd from an external site. We beleive this is a performance issue for the volume of messages we will be dealing with.

In my case, I need java code that I can implement in the adapter module delete the DTD reference.

Regards

Haseeb

Former Member
0 Kudos

Hello Haseeb,

Whats wrong in using the same java code from the note in your adapter module with necessary changes.

Regards,