Skip to Content

How to remove XML namespace in SOAP request


I would like to change one of our existing interfaces to use a SOAP communication channel rather than File. The file currently contains FIDCCP02 Idocs.

I have created a new communication channel using SOAP 7.1 and generated a Java client. When I send a request to the endpoint from Java, PI returns a SOAP fault.


The error in the monitor is 'No standard agreement found for ..'. I think this is because the file contains XML with a root element with no namespace, but the root element in the SOAP message does have a namespace.

Example requests

File message :

<FIDCCP02 xmlns:ns2="" xmlns:S="">

SOAP message :

<ns2:FIDCCP02 xmlns:ns2="" xmlns:S="">


When I send a test request from RWB with no namespace it is successful.

Attempt to remove namespace

I have tried adding AF_Modules/XMLAnonymizerBean with no parameters as the first module on the SOAP communication channel, but this does not appear to make any difference. I have refreshed the cache.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 03, 2014 at 12:55 PM

    Hi Steve,

    Have you checked this blog: Handling namespaces in PI using XMLAnonymizerBean - Important factors

    You can try with a XSL mappimg, check this thread


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.