cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to RFC testing

Former Member
0 Kudos

Hi,

I am testing webservice the RFC scenario using SOAPUI 2.0.2 tool and I get the below message in SOAPUI.What could be the problem?

Thanks

Points will be awarded

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>DeliveryException</code>

<text>com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_MAPPINGPROGRAM_FOUND:

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:451)

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:795)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Accepted Solutions (0)

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Hi,

Did you added the Request and Responsed Message Mappings in Interface Mapping? Also did u added them in Interface Determination.

Go to SXI_MONITOR and check there, it will give u clear idea.

raj.

Former Member
0 Kudos

I see 3 error msg in sxmb_moni

*1st msg shows sender to receiver*

*response msg*

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_****************************.Exception</SAP:ApplicationFaultMessage>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

*response Call adapter payload*

<rfc:Z_*****************************.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>The function module is not active or contains no code.</Text></rfc:Z_*******************************.Exception>

*2nd msg(receiver to sender)*

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_*****************************.Exception</SAP:ApplicationFaultMessage>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

*response Call adapter payload*

<rfc:Z_***********************.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>The function module is not active or contains no code.</Text></rfc:Z_***********************.Exception>

*2nd msg(receiver to sender)*

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>

<SAP:P1>http://*****************os_**************toZ_********************</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Unable to determine name of mapping program</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

justin_santhanam
Active Contributor
0 Kudos

Hi,

The error says that Function Module is not active. Can u Execute the Function Module in R/3 and ensure whether objects are active.

raj.

Former Member
0 Kudos

Function Module looks fine and is active

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi

go to SXI_CAHCHE >goto>adapter engine cache and delete the line of cache.

later go to XI Runtime Cache--> Start Full Cache Refresh and

XI Runtime Cache--> Start Full Desta Cache Refresh

Wait for a few minutes the cache refresh completed and later reprocess your scenario. by this way the error NO_MAPPING PROGRAM FOUND is solved.

if not, check in Interface determination y you have the proper Message Mapping.

Reward Point if useful

Thanks

Rodrigo

Former Member
0 Kudos

Thanks Rodrigo the mapping error and RFC error got resolved by sxi_cache

Now I get a this error

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">RESOURCE_NOT_FOUND</SAP:Code>

<SAP:P1>com/sap/xi/tf/_****************Req_to_Z_*****_V~</SAP:P1>

<SAP:P2>http://********************************~</SAP:P2>

<SAP:P3>b374a530-c9d7-11dc-c8b9-c6ce0a200ca4</SAP:P3>

<SAP:P4>-1</SAP:P4>

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Unable to find resource com/sap/xi/tf/_***************************Req_to_Z_******_V~ (http://**********************~, b374a530-c9d7-11dc-c8b9-c6ce0a200ca4, -1)</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi

go to Message mapping and make any change, for example, add a description to it or some else and active it again.

Thanks

Rodrigo