on 03-16-2010 7:51 PM
I have followed the Blog here, from Stefan (excellent, by the way!)
/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
i have the following xml.....
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:Message xmlns:ns0="http://www.host.com/aoc">
<ns0:header>
<ns0:trackingId>00237DA659FD1DDF8CA4B49A1800AC7E</ns0:trackingId>
<ns0:msgClass>PUBLISH</ns0:msgClass>
<ns0:msgName>MX001</ns0:msgName>
<ns0:owner>SAPECD</ns0:owner>
<ns0:version>1</ns0:version>
<ns0:timestamp>2010-03-16T17:59:21Z</ns0:timestamp>
</ns0:header>
i am trying to strip out the ns0: from the xml as per the requirement from the target system developers
i added the following config in the JMS Adapter:
number 1
XMLAnonymizerBean
Local Enterprise Bean
0
0
anonymizer.acceptNamespaces
http://www.host.com/aoc "
0
anonymizer.quote
'
and i get the following error:
2010-03-16 19:43:13 Error Adapter Framework caught exception: Object not found in lookup of XMLAnonymizerBean.
2010-03-16 19:43:13 Error Delivering the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of XMLAnonymizerBean..
any thoughts on what i have done wrong???
If someone is having the same issue.
For me it was due to copy and past from SAP docu:
Here the module name is mentioned with a space in between like below:
AF_Modules/ XMLAnonymizerBean
If you switch to below it is working:
AF_Modules/XMLAnonymizerBean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.