Skip to Content
avatar image
Former Member

Adding and Removing DTD reference in adapter module

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 18, 2007 at 04:53 PM

    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,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Haseeb,

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

      Regards,

  • Sep 18, 2007 at 03:01 PM

    HI,

    Why you cannot use XSD Schemas? , they are more easy with editors like xmlspy.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      We are working with an external party that uses DTD. We dont have control over that.

      Regards

      Haseeb