on 10-18-2012 7:05 AM
I have a requirement to change the namespace prefix and zip the file before sending it to target system.
My scenario is FCC to soap. In my SOAP receiver channel I have used AF_Modules/XMLAnonymizerBean to change the namespace prefix
And AF_Modules/PayloadZipBean to zip the file. Below is the module configuration in my receiver SOAP channel.
I need to change the prefix(ns1) of namespace http://abcbank/post to itg before sending xml to partner.
Also I need to zip the file before sending to partner. I have read many threads on XMLAnonymizer bean and PayloadZipBean to achieve the same.
Also I have tried with changing the order of bean I. e. 1.XMLAnonymizer 2. PayloadZipBean 3.SOAP default .But this also not work.
Also I tried to use only XMLAnonymizer bean just the change the default namespace prefix(ns1) to itg, but this also not worked.
Payload type is ‘application/xml’. I feel using Anonymizer bean alone should atleast change namespare prefix, as in channel log it says
Successfully anonymized.
Below is the payload from message content in channel monitor with prefix ns1 whereas it should be itg as per module configuration.
<?xml version="1.0" encoding="UTF-8" ?>
<cabecalho>
corpo>
</ns1:mensagemCliente>
When I run the scenario channel audit log have entry for both the beans and xml being successfully anonymized. As Shown below
Information Delivering to channel: CC_SOAP_BCM_Receiver
nformation MP: processing local module localejbs/AF_Modules/XMLAnonymizerBean
Information Anonimizer: anonymizing XML ...
Information Anonimizer: successfully anonymized
Information MP: processing local modulelocalejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
Information SOAP: request message entering the adapter with user J2EE_GUEST
Information SOAP: completed the processing
Information SOAP: sending a delivery ack ...
Information SOAP: sent a delivery ack
Information MP: processing local module localejbs/AF_Modules/PayloadZipBean
Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System
Information Message status set to
I have read that these modules works fine with receiver SOAP adapter. Also i dont see any reason modules not working in PI 7.3. I tried to change encoding/remove namespace using XMLAnonymizer bean but none worked.
Please suggest if this is an issue with using modules in PI 7.3 because i could never get any module working in 7.3.
Hi Bharat,
What is your SP level?, you need the SP001 for PI 7.3.
Check this Note 1467423 - XML Anonymizer module fails but message processing continues
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting thing is this modules working fine with file adapter.
both namespace prefix is changed and file is compressed.
Any suggestions why it is not working in SOAP receiver channel ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.