Skip to Content
0
Feb 23, 2010 at 02:23 PM

delete namespace and prefix with Seeburger X.400 receiver

334 Views

Dear experts,

I have a problem deleting a namespace and prefixes "ns0" from an XML output. When testing I was using an FTP receiver adapter with the AnonymizerBean which worked perfectly. I referred to: /people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean

Now I have a Seeburger X.400 receiver adapter and the AnonymizerBean does not work anymore.

The output message looks like this:

<?xml version="1.0" encoding="UTF-8" ?> 
<ns0:ORDERRESPONSE xmlns:ns0="http://www.opentrans.org/XMLSchema/1.0" version="1.0">
<ns0:ORDERRESPONSE_HEADER>
<ns0:ORDERRESPONSE_INFO>
<ns0:ORDER_ID>xxxxx</ns0:ORDER_ID> 
....

So I need to get rid of the namespace and the prefixes "ns0". Does anyone know how to configure the module of the X.400 receiver adapter to do this?

Thank you very much for your help!

Best regards,

Peter