cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to SOAP

Former Member
0 Kudos

Hi

I have created the scenario...My request is ...

<ns0:_-DITIONS_SAVE xmlns:ns0="urn:sap-com:document:sap:rfc:functions">

<DATA>

<DATA>

</ns0:_DITIONS_SAVE>

i need to change it to

<rfc:_-DITIONS_SAVE xmlns:ns0="urn:sap-com:document:sap:rfc:functions">

<DATA>

<DATA>

</rfc:_DITIONS_SAVE>

Please reply

Edited by: vishal gadkari on Sep 24, 2009 11:41 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

answered.

Former Member
0 Kudos

Hi Vishal,

I didnot quite clearly understood the question. If you want to change ns0 to rfc then all the ns0 becomes rfc. So if you use your anonymizer bean then your output will be like this:

<rfc:_-DITIONS_SAVE xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<DATA>

<DATA>

</rfc:_DITIONS_SAVE>

I didnot encounter with * anytime. Can you please throw some more light on this?

Regards,

---Satish

Former Member
0 Kudos

Hi Satish,

that is typo error

<rfc:_-DITIONS_SAVE xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<DATA>

<DATA>

</rfc:_DITIONS_SAVE>

i have used anonnimyzr bean but mapping failed...i have mentioned error above in the thread

Former Member
0 Kudos

Hi Vishal,

Then anonymizerbean should work for you vishal. It seems there is some issue with the response. So please check this module where you are inserting.

Regards,

---Satish

Former Member
0 Kudos

Hi Satish,

com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The prefix "rfc" for element "rf.c........" is not bound

I am getting this error

former_member187339
Active Contributor
0 Kudos

Hi Vishal,

chek this blog from Stefan on XML Anonymizer Bean

/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean

use

annomizer.acceptNamespaces urn:sap-com:document:sap:rfc:functions rfc

anonymizer.quote '

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

Runtime exception occurred during application mapping com/sap/xi/tf/_MM_CRM_Pric_Resp_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:The prefix &quot;rfc&quot; for element &quot;rfc:_-SIE_-IC_ECI_CONDITIONS_SAVE.Response&quot; is not bound

Got this error...any sugesstions.

former_member187339
Active Contributor
0 Kudos

Hi Vishal,

You are getting this error in Message Mapping?

Hope you have used the XMLAnnomizer Bean in the target channel

Regards

Suraj

Former Member
0 Kudos

No I am not getting this error in message mapping....I am seeing this error in SXI_Monitor..

added the bean target comm channel

Edited by: vishal gadkari on Sep 24, 2009 3:04 PM

Former Member
0 Kudos

Hi Vishal,

you can use XML Anonymizer Bean provided as standard module within Adapter Framework to solve this problem. Pls refer to the SAP Note 880173 - XI 3.0 Adapter Framework XML Anonymizer Module --> Example 2: accepting only the rfc namespaces for JCO call.

BR

Rudolf

Former Member
0 Kudos

Hi All,

Any suggestions.... what could be the reason ?

Thanks,

Vishal