cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_RESP_STATUS_CODE_NOT_OK 404 Not Found

Former Member
0 Kudos

Since moving from SP9 to SP12, all of our communication channels using a receiver file adapter get an HTTP error. One specific scenario is we read a file from UNIX (this works) and then remap and write a file back to the same directory (this gets the HTTP error).

receiver adapter config is as follows:

Adapter type = File

Receiver

Transport Protocol = File System (NFS)

Message Protocol = File Content Conversion

Adapter Engine = Integration Server

Target Directory = /sap_int/XI_railmax

File Name Scheme = new_sapack.txt

A sender agreement has been created (and worked prior to the upgrade to SP12)

-


Main Trace log:

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

- <!-- Call Adapter

-->

- <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">

<SAP:MessageClass>ApplicationMessage</SAP:MessageClass>

<SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>

<SAP:MessageId>A8363CC0-0FF2-11DA-BB1B-0003BA9CEFBD</SAP:MessageId>

<SAP:TimeSent>2005-08-18T14:16:23Z</SAP:TimeSent>

- <SAP:Sender>

<SAP:Service>NXY_BS_KLEINSBX</SAP:Service>

<SAP:Interface namespace="http://nexeninc.com/kleinschmidt/sap/BSSDRT076C_BOL_Ack">MI_BOL_RemapFromFile</SAP:Interface>

</SAP:Sender>

- <SAP:Receiver>

<SAP:Party agency="" scheme="" />

<SAP:Service>NXY_BS_KLEINSBX</SAP:Service>

<SAP:Interface namespace="http://nexeninc.com/kleinschmidt/sap/BSSDRT076C_BOL_Ack">MI_BOL_RemapToFile</SAP:Interface>

</SAP:Receiver>

<SAP:Interface namespace="http://nexeninc.com/kleinschmidt/sap/BSSDRT076C_BOL_Ack">MI_BOL_RemapToFile</SAP:Interface>

</SAP:Main>

-


Error:

<?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="">

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

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>404</SAP:P1>

<SAP:P2>Not Found</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;404 &nbsp Not Found</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/6.40&nbsp;</b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;The request can&#39;t be processed.</b></font></p> <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b>&nbsp;Details:</b></td><td valign="top"><PRE>Requested resource &#40; MessagingSystem/servlet/MessagingServlet &#41; not found.</PRE></font></td></tr></table></font></p> </body> </html></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 404 with the description Not Found XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>

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

</SAP:Error>

NOTE - this is only an issue when writing a FILE. IDOC's inbound and outbound still work, the JDBC adapter still works, reading a file still works....just a problem with a 'receiver' File Adapter....any ideas?

thanks /Dave

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi David,

there are a few of my answers to your problem in this thread:

maybe it will help you too

Regards,

michal

Answers (3)

Answers (3)

Former Member
0 Kudos

OSS got back to us and sent us a new version of the file:

837720aii_af_ms_app.sda

once we deployed this file, all was well. no answer from sap as to how this happened, as the install and redeployments were all 'green lights'

Former Member
0 Kudos

Thankyou all for the quick responses:

Sudhir - the parameters for the file conversion worked prior to our moving to SP12, but i tried chnaging the protocol to just 'file' anyways - same error

Saravana-had a look at the OSS note - seems unrelated

Michal - checked with our basis person, he has already redeployed the adapter framework and SDA files...i checked the service for the HTTP RFC dest, and it is in the format 5<instance>00, but when i change it to 80<instance> and run a 'test connection', it comes up with the 404 error. Looked in the ICM and according to the display of the HTTP server the port is 52800 just as it is in the service of the rfc dest. So, i guess i am still stuck, and getting some Basis time here is proving difficult (i do not have access to the J2EE tools) -

😞

MichalKrawczyk
Active Contributor
0 Kudos

Hi David,

just to make sure:

- login to your SLD

- choose business system of your XI

- check pipeline URL parameter

check if you're using HTTP port over there

(and not the 5..... j2ee port) ok?

you probably got this right but

just to make things clear

Regards,

michal

Former Member
0 Kudos

hi again Michal

checked the url and it does have http://venus:8028/sap/xi/engine?type=entry, which i assume is correct...

thanks, david

MichalKrawczyk
Active Contributor
0 Kudos

yes just wanted to make sure:)

Regards,

michal

Former Member
0 Kudos

David,

chk SAP Note: 803145.

cheers

Saravana