Skip to Content
Former Member
Dec 30, 2015 at 10:34 AM

Issue in adding namespace at adapter level


Hello All,

We working on a File to IDOC scenario where PI needs to pick XML file from file folder. Source structure was created using XSD given by Legacy team.

While testing the interface, it is failing at adapter level due to a namespace that is being part of header in the file.

XML tags present in customer given input file is as follows:

<?xml version="1.0" encoding="UTF8" standalone="yes"?>

<WorkAuthorization xmlns="">

Message type xml tags are as below:

<?xml version="1.0" encoding="UTF-8"?>

<ns1:WorkAuthorization xmlns:ns1="urn:col.ce:Sales:PP">

Hence we tried using in module of the channel:

Parameter name : anonymizer.acceptNamespaces

Parameter value : urn:col.ce:Sales:PP" ns1

But the converted xml is

<?xml version="1.0" encoding="UTF-8"?>


which is not taking the namespace ( urn:col.ce:Sales:PP) that is required by message type

Can some one help on this