cancel
Showing results for 
Search instead for 
Did you mean: 

Object not found in lookup of XMLAnonymizerBean..

Former Member
0 Kudos

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???

View Entire Topic
maik_bosch
Contributor
0 Kudos

If someone is having the same issue.

For me it was due to copy and past from SAP docu:

https://help.sap.com/doc/saphelp_nw73ehp1/7.31.19/en-US/45/d169186a29570ae10000000a114a6b/content.ht...

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