cancel
Showing results for 
Search instead for 
Did you mean: 

Received HTTP response code 404 : Not Found

Former Member
0 Kudos

I am attempting to pass a file through XI into an IDoc to ECC. I have tested the mapping, and that works fine. I have also tested the configuration in the integration builder and it seems to be fine. However, when the file is picked up by XI from the directory, processed by XI, and then sent to ECC, an error occurs in the runtime workbench:

Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found.

The error leads me to believe that the system cannot be found, or there is a privelage issue with the service user attempting to log onto ECC. However I believe I have set up the RFC connection correctly, and the service user should be fine.

Does anyone know what may be causing this? I am using the IDoc adapter for the reciever communication channel. I have set the RFC destination (and tested it in SM59, works fine) and the port (I assume this is the port in WE21?). Not sure where to look...

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

HI,

Check the XI pipeline url in the SLD->Business System-><Your Integration Sercer>

It should be -

http://server:port/sap/xi/engine?type=entry

In this case the port should be http port(8xxx).

Also this blog may help u-/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Regards,

Moorthy

Former Member
0 Kudos

My pipline URL in the system landscape directory has the port set to 51000. I tried changing it to 8010 temporarily, and the IDoc got passed successully throught the runtime workbench but never showed up in the ECC system. And also, some of the runtime workbench components broke, so I changed the port back to 51000 and the issues cleared up. However, I am still having the 404 issue now.

moorthy
Active Contributor
0 Kudos

Hi,

Cool..

What components are got errored in the RWB when you did port changes into Http port. It should be http port for the pipeline .. What is the error and where are you getting this error when it is http port ? Probably the error may be because of http service is not active. You can check transaction SICF and check the http service active or not.

DId you do check the blog I have mentioned in my earlier post ? If not try to check all the steps mentioned in the blog.

Also to troubleshoot errors in the RWB- refer SAP note-768456

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

The blog you mentioned earlier had some good information, but as I started to implement some of the solutions, other things started breaking...

I think the reason the IDocs went through succesfully when I changed the ports temporarily is because it stopped using the Adapter Engine. But since I am converting to an IDoc I believe I need to the Adapter Engine to be processing the requests, correct?

The service is active in SICF.

Message was edited by:

Harrison Holland

Former Member
0 Kudos

Being that the error says:

Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found.

I am trying to understand what this means. Can anyone explain to me why the message is getting sent to this address? I assume that the AFW is coming into play because I am using the IDoc adapter, hence the adapter framework. Is this true? Should the AFW be showing up, or do you think there is another issue?

Mainly I want to know if this is more of a basis issue, or a configuration problem with the interface in XI?

Former Member
0 Kudos

As Krishna mentioned, yourport number should be 8xxx and not 5xxxx. Are you having the correct port?

Regards,

Jai Shankar.

Former Member
0 Kudos

Well, what concerns me is that when I changed the port from 51000 to 8xxx the audit logs, message content, and message data pages in the runtime workbench stopped showing up. Which lead me to believe that because I changed the port I had broken part of the runtime workbench, so I changed it back. What do you make of this?

Former Member
0 Kudos

Your port settings is incorrect, it has to be maintained in Exchange profile.. Better ask your BASIS guys to look into this...

Just say them the port configuration is not proper..

Regards,

Jai Shankar.

Former Member
0 Kudos

Thanks for the help so far. I'll keep following this path, and see if I can get the issue resolved. I will come back and award points when I finish up. Thanks for all the continued help.

Former Member
0 Kudos

Harrison,

This thread addresses your problem and also was solved Have a look into this or ask your BASIS team to have a look at this thread...

Regards,

Jai Shankar.

Answers (2)

Answers (2)

Former Member
0 Kudos

Okay, in fact it was the port issue. Needed to change the pipeline URL to be the port for ICM HTTP (8010)

Then I had to setup single sign-on, as that was why the peices of SLD broke when the ports changed. But now it's working, thanks for all the help everyone

Former Member
0 Kudos

I think its an authorization error....

Amaresh