cancel
Showing results for 
Search instead for 
Did you mean: 

RFC -- SOAP Error

Former Member
0 Kudos

Hello Everybody!

I am implementing a scenario wherein:

1) Data is passed from R/3 to xi and then to a web server.

2) From webserver the updated data is sent back to xi.

3) A particular field is boolean checked in XI, if true the data is sent back to webserver.

4) and then again the updated data is sent back to r/3 via xi.

R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3

R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3

I am getting a error message when i run the Synchronous) RFC function Module using a report.

<b>The error message is:</b>

Runtime Errors CALL_FUNCTION_REMOTE_ERROR

Date and Time 29.09.2006 13:07:10

<b>ShrtText</b>

"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExcepti

<b>What happened?</b>

Error in ABAP application program.

The current ABAP program "Z_ALTINN_TEST" had to be terminated because one

the

statements could not be executed.

This is probably due to an error in the ABAP program.

The error occurred in an RFC call to another system.

The target system has also written a short dump.

Consult this short dump for more precise information about

the cause of the error.

<b>What can you do?</b>

Print out the error message (using the "Print" function)

and make a note of the actions and input that caused the

error.

To resolve the problem, contact your SAP system administrator.

You can use transaction ST22 (ABAP Dump Analysis) to view and administer

termination messages, especially those beyond their normal deletion

date.

is especially useful if you want to keep a particular message.

<b>Error analysis</b>

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "RFC_EXTERNAL_ABORT"

on the called page.

<b>How to correct the error</b>

Please refer to the notes described in the

short dump.

<b>Internal notes</b>

The termination occurred in the function "RfcExtendedRece

Basis System, specifically in line 416 of the module

"//bas/640_REL/src/krn/rfc/abrfcrcv.c#3".

The internal operation just processed is "FUNC".

The internal session was started at 20060929130708.

Status of connection:

-


" "

RFC status: " "

RFC error text: " "

CPI-C error text: "call to messaging system failed:

com.sap.aii.af.ra.ms.api.DeliveryException:

XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api"

<b>and the error message in the SXMB_MONI is :</b>

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

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"

xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid

content type for SOAP: TEXT/HTML</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

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

</SAP:Error>

Can someone help me with this.

Regards,

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Asish,

If you first answer / assign points to your other topics when people are helping you ( see e.g. 'jar file' from 2day ago ), we will continue to help you.

Please respect the forum guidelines,

Dirk

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ashish,

To know what to do to close the posts as pointed out by Dirk,please go through this link.....

/people/mark.finnern/blog/2004/08/10/spread-the-love

<b><i>Runtime Errors CALL_FUNCTION_REMOTE_ERROR</i></b>

Check if the RFC is remote enabled..

Please go through this link to know more about the same...

http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm

Also just see if you have used BAPI_TRANSACTION_COMMIT.

And finally, Try checking the userid auth. for RFC destination,if it has remotes access.

To check the same, you just have to do a remote logon from SM59 transaction.

<b>

<i>"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExcepti</i></b>

Try checking the userid auth for RFC destination wether it has remotes access.

Just if you are able to do a remote logon in SM59.

This error usually occurs when the RFC is not remote enabled so plz check that...

Also go thru this link..

http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm

Also go through this thread..

And for mapping check the incoming payload in sxmb_moni and see whether it conforms to Design>Msgmapping>Test(source XML).

Regards,

Abhy