IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  IS Node to DOM object

    Posted Wed March 15, 2006 11:29 PM

    In order to use some third-party libraries (specifically Apache XML Security), I need to populate org.w3c.dom.Document objects from IS node objects.

    Has anyone written a java service that does this efficiently? I know I can convert my IS nodes to strings, convert the strings to InputStreams and create org.w3c.dom.Document objects from InputStreams, but I’m looking for a more elegant solution if one exists.

    Ideally, I would go from a com.wm.app.b2b.server.SOAPMessage object to a DOM Document in order to easily work with SOAP messages containing XML Signatures or content encrypted with XML Encryption.

    Supposedly, a future release of IS would upgrade IS Nodes to be DOM level-II compliant, which should make this a bit easier, but for now…

    Mark


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services