cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP to RFC Interface Determination problem

sbhutani1
Contributor
0 Kudos

Hi experts,

I am doing HTTP <-> RFC scenario mentioned in blog

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

almost everthing is done; but while configuring the interface determination, i am not able to see the inbound interface.

your valuable help would be appreciated

Regards

Sumit Bhutani

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Sumit,

1. Are you using a Business Service as the inbound service? If yes you need to manually add the RFC as the inbound message interface ( Receiver ) in the Business Service.

2. If you are using a Busiess System, in the Inbound Interface, click Delete Criteria and then select the RFC in the list that is available.

Regards

Bhavesh

sbhutani1
Contributor
0 Kudos

Hi Bhavesh,

Thanks for your quick response; this problem has been resolved, but while testing my scenario using RWB i am getting 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>XIServer</SAP:Category>

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

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Unable to read payload from the message object</SAP:Stack>

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

</SAP:Error>

Please suggest on this

Thanks

Sumit

Former Member
0 Kudos

Hay,

please go over all components namespace and verify that they match, had similer issue a while back.

Uri.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

When you are testing from he HTTP client are all the details correct?

Are you abkle to see the incoming payload in MONI?

Regards

Bhavesh

sbhutani1
Contributor
0 Kudos

I am using RWB for testing my scenario, I can see my message in SXMB_MONI with the above mentioned error.

Please suggest

bhavesh_kantilal
Active Contributor
0 Kudos

Why dont you use the HTTP Client itself?

Copy the code in this link and use this tool,

/message/266750#266750 [original link is broken]

Regards

Bhavesh

sbhutani1
Contributor
0 Kudos

i have tried that but getting the error

Result:

http-Status: 404 Not Found

that's why i am testing using RWB

sbhutani1
Contributor
0 Kudos

Hi Bhavesh,

I have copied the code mentioned in pdf file, do i need to edit anything in the source code?

Test Result

this is the URL generated

http://xiserver:50100/sap/xi/adapter_plain?namespace=urn%3Ahttp2rfc&interface=MI_Company_OB&service=...

Result

Result:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

But i have wondered, there is no option for user name and password and no pop-up for this.

Please help.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

The port you have given 50100 is the J2EE port.

This should not be the port to be used. You need to use the HTTP Port.

Go to T code SMICM --> Menu Go To --> parameters --> Display and here you will find the HTTP port's value. Use this port in the HTTP Client, give the correct details for Server host and now it will prompt for the password.

Regards

Bhavesh

Former Member
0 Kudos

Hey

this is one of the most common mistakes with HTTP sender

the port is wrong in ur URL:)

50100 is J2ee Port,u need to use HTTP port which u can find in SMICM->goto->services

thanx

ahmad

bhavesh_kantilal
Active Contributor
0 Kudos

Ahmad

We both give the same answer at the same time

Regards

Bhavesh

Former Member
0 Kudos

hey Bhavesh

yeah i just got up and waz gettin ready for work and saw this question and the first thing that came to my mind waz,Bhavesh hasn't answered this question and got all the points so let me grab some points before he answers )

have a nice evening

Ahmad

bhavesh_kantilal
Active Contributor
0 Kudos

lol..

Have a nice day.

Regards

Bhavesh

Answers (0)