Transferring XML files

Hi!

I need to transfer HR XML received from a client to an internal
application which also receives HR XML.
Using webMethods i could manage to accept the simple XML file using the
following steps. But i am not been able to get the xml displayed in the
browser.

xmlStringToXMLNode
xmlNodeToDocument
xmlDocumentToXMLString

But, with this issues is,

i have received a simple XML
I have finally just converted to a simple xml string and not a formatted
xml.

I would appreiciate if you could help me with this solution.

Requirement:

  • Transfer client HR XML to internal application accepting HR XML
  • Steps needed to configure the webMethods for working with HR XML.

regards,

Sandip,

I’m not sure why you want to display the XML document in a browser, but if you have a real need to print it in a “pretty” format you could use an opensource tool like JDOM. (See JDOM’s samples folder for an example of this). Both webMethods and, I assume, your target application don’t care what the XML doc looks like as long as it is properly formed.

HTH,

Mark