cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver XI adapter error

Former Member
0 Kudos

Hi All,

I have configured the Receiver XI Adapter which i will use to send the

data to the J2SE adapter.

The XI adapter configuration is :-->

Transport Protocol-- HTTPS

Message Protocol- Xi3.0

Adapter Engine- Intergration Server

Addressing type-- URL Address

Target Host- host Name

Service number- Port i.e 8202

Path -- /file/if216at3

The J2SE Adapter receiver configuration:-->

    1. File adapter java class

classname=com.sap.aii.messaging.adapter.ModuleXMB2File

version=30

mode=XMB2FILE

##Adress for XMB endpoint

XI.httpPort=8212

XI.httpService=/file/if216at3

##File Adapter specific parameters

file.createDir=1

file.targetDir=C:/XI/Inbox

file.targetFilename=IF216AT3*.txt

file.writeMode=new

#file.writeMode=overwrite

file.writeMode=addTimeStamp

file.counterMode=immediately

#file.counterMode=afterFirst

file.counterSeparator=_

file.counterFormat=00000

file.counterStep=1

I am getting the 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 />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 404 with the description Not Found Error when sending by HTTP (error code: 404, error text: Not Found)</SAP:Stack>

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

</SAP:Error>

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Kulwinder,

I think the ports are incorrect:

In XI, make sure the port of CC refers to the HTTPS porty of the J2SE adapter. And the XI.httpPort in J2SE adapter should be XI's https port.

and make sure you are not using any of the standard users.. use the user with LOCKED rather than ADMINISTRATOR

Regards

Suraj

Message was edited by:

S.R.Suraj

Former Member
0 Kudos

Which user i have to use ?

former_member187339
Active Contributor
0 Kudos

Hi,

Adapter User Role as LOCKED

HTTP Server User Role as Authentication.

Regards

Suraj

Former Member
0 Kudos

But the file is not getting generated.

former_member187339
Active Contributor
0 Kudos

Hi,

I have checke dthe previous posts and found that in the filename you ar using *. Try removing the same.

Regards

Suraj

Former Member
0 Kudos

Thx mate. I tested the scenario successfully. Well done.

Answers (6)

Answers (6)

Former Member
0 Kudos

Some more checks

file.targetFilename=IF216AT3*.txt -> can we use wild charcter to define a file name ?

fi

le.writeMode=new ->>????? i dun think we have this parameter *new

(#file.writeMode=overwrite / file.writeMode=addTimeStamp / ) ---> use one

(#file.counterMode=afterFirst, file.counterSeparator=_ ,file.counterFormat=00000

file.counterStep=1)

You are using write mode = overwrite then why is File.counterMode set here >?

File.countMode should only be set if you have file.writeMode=addCounter

for further reference go through these

http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm

<b>Cheers,

*RAJ*

*REWARD POINTS IF FOUND USEFULL*</b>

Former Member
0 Kudos

Another thing the current instance of XI 3.0 is a new one or it was a upgrade from XI 2.0 TO 3.0 >?

Former Member
0 Kudos

Please check for all the values which i have given in the J2SE adapter. The erroe i m facing now is

HTTP response contains status code 503 with the description no listener registered for service /file/file_if216at3_rcv Error when sending by HTTP (error code: 503, error text: no listener registered for service /file/if216at3)

How XI adapter determine that to which J2SE adapter it has to send data ??

There should be some matching fields in both the adapters.

Please guide me.

Former Member
0 Kudos

HI

For Http 503 Error Check this

803145 - note

Thanks

Former Member
0 Kudos

Hi,

How XI adapter determine that to which J2SE adapter it has to send data ??

Depending on the message protocol you are using. EX: If you are using XI 3.0 then it will connect to xi 3.0 j2se adapter engine

Cheers

*RAJ*

Former Member
0 Kudos

For j2se adapter , you need to be using the XI 2.0 Message protocol

regards

krishna

Former Member
0 Kudos

Hi,

Check if you have used Authentication for Non-SAP System in receiver XI Communication channel and given the correct user credentials.

Regards,

Sudharshan N A

Former Member
0 Kudos

Hi

Try this

check rfc dest (SM59):

INTEGRATION_DIRECTORY_HMI

if the path and port are correct.

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Thanks