Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Error in RFC channel -failed to read funtionname from XML document: missing namespace declaration(1)

$
0
0

Hello All,

I have a scenario JDBC->PI->RFC

where i am uploading BOM data to SAP.

I am getting error in receiver RC channel

 

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.adapter.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(1)

 

 

 

 

RFC    ZMM_BOM_UPLOAD  is a customized RFC which my abap guy has created for me.

 

Payload in SAP looks as below:


<?xml version="1.0" encoding="UTF-8" ?>

 

-<ns1:ZMM_BOM_UPLOAD xmlns:ns1="urn:sap-com:document:sap:rfc:functions">

 

<BOM_UPLOAD>

 

<item>

 

<MATERIAL>1103006</MATERIAL>

 

<PLANT>1107</PLANT>

 

<BASE_QUANTITY>100</BASE_QUANTITY>

 

<COMPONENT>1103615</COMPONENT>

 

<QUANTITY>1</QUANTITY>

 

<LOT_FROM>0</LOT_FROM>

 

<LOT_TO>9999</LOT_TO>

 

<VALID_FROM>13.12.2012</VALID_FROM>

 

</item>

 

</BOM_UPLOAD>

 

<RETURN/>

 

</ns1:ZMM_BOM_UPLOAD>

 

 

 

Please suggest how to remove this error


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>