cancel
Showing results for 
Search instead for 
Did you mean: 

XI Plain Adapter

Former Member
0 Kudos

SAP Guru's

Im trying to configure a sender and receiver adapter to convert a text file into an xml file, the receiver will then receive it from the integration server...Below is the configuration of the sender and receiver adpater and the error log im getting...u're help will be very much appreciated..

<b>Sender Adapter:</b>

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

version=30

mode=FILE2XMBWITHROWCONVERSION

XI.TargetURL=http://cic040:8000/sap/xi/engine?type=entry

XI.User=XIADMIN

XI.Password=cic1981

XI.QualityOfService=EO

XI.SenderParty=

XI.SenderService=AdapterSenderService

XI.ReceiverParty=

XI.ReceiverService=AdapterReceiverService

XI.Interface=ExtAdapterSenderIF

XI.InterfaceNamespace=http://sap.com/xi/xidemo

file.type=TXT

file.encoding=UTF-8

file.sourceDir=C:/XIText

file.sourceFilename=myfile.txt

file.processingMode=archiveWithTimestamp

file.archiveDir=C:/XIText/archive

file.pollInterval=300

xml.fieldSeparator=;

xml.processFieldNames=notAvailable

xml.structureTitle=row

xml.documentName=resultset

xml.documentNamespace=IBMTest

<b>

Receiver Adapter:</b>

    1. File adapter java class

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

version=30

mode=XMB2FILE

##Adress for XMB endpoint

XI.httpPort=8210

XI.httpService=application/xml

##File Adapter specific parameters

file.createDir=1

file.targetDir=C:/temp

file.targetFilename=xmb_output.xml

#file.writeMode=append

#file.writeMode=overwrite

file.writeMode=addCounter

file.counterMode=immediately

#file.counterMode=afterFirst

file.counterSeparator=_

file.counterFormat=00000

file.counterStep=1

<b>

Error log from Sender Adapter:</b>

          • Wed Oct 26 22:36:11 GMT-08:00 2005 *****

22:36:11 (4012): "Guaranteed Delivery" operation for 2 file(s) pending

22:36:11 (4023): File adapter initialized successfully

22:36:11 (4007): File adapter started

22:36:11 (4051): Process 1 file(s):

22:36:11 : C:\XIText\myfile.txt

22:36:11 (4052): Start processing "TXT" file "C:\XIText\myfile.txt" size 37 in "EO mode

22:36:11 (4058): Start converting to XML format

22:36:11 (4061): Converted complete file content to XML format

22:36:11 (4062): Sending text message "1a306f41-462f-11da-864f-f3e40a0a0222" type "application/xml" to Integration Engine... (message size: 197 bytes, URL: "http://cic040:8000/sap/xi/engine?type=entry")

22:36:11 (4076): ERROR: Finished sending to Integration Engine with error "com.sap.aii.messaging.net.TransportException: Sending message '1a306f41462f11da864ff3e40a0a0222' to Integration Server failed with 'SYSTEM_NOT_CONFIGURED_AS_XMB': '', context '?' , must retry". Skip confirmation and quit this loop

22:36:11 (4077): Retry mode - wait 300 sec, 0 msec interval before retry

22:41:11 (4051): Process 1 file(s):

22:41:11 : C:\XIText\myfile.txt

22:41:11 (4052): Start processing "TXT" file "C:\XIText\myfile.txt" size 37 in "EO mode

22:41:11 (4058): Start converting to XML format

22:41:11 (4061): Converted complete file content to XML format

22:41:11 (4062): Sending text message "1a306f41-462f-11da-864f-f3e40a0a0222" type "application/xml" to Integration Engine... (message size: 197 bytes, URL: "http://cic040:8000/sap/xi/engine?type=entry")

22:41:11 (4076): ERROR: Finished sending to Integration Engine with error "com.sap.aii.messaging.net.TransportException: Sending message '1a306f41462f11da864ff3e40a0a0222' to Integration Server failed with 'SYSTEM_NOT_CONFIGURED_AS_XMB': '', context '?' , must retry". Skip confirmation and quit this loop

22:41:11 (4077): Retry mode - wait 300 sec, 0 msec interval before retry

Thanks again for u're help...

Message was edited by: Yasir Khan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Here Applicatiopn system is not ready to receive the XMB message. Do the following steps

1. Go to <b>SXMB_ADM</b>

go to <b>Integration engine Configuration</b>

In the <b>Global Config Data</b>, Set the Role of Business system as "Application System"

and set the Corresponding Integration system

as "dest://<RFC Dest of type HTTP of Integration server >"

2. Go to transaction <b>SLDAPICUST</b>

make an entry for Integration server host and port with username(XIAPPLUSER) and password

3. Do the test if it is working or not using transaction

<b>SLDCHECK</b>

If it is working fine than System will be ready to receiver the message.

Check the XI configuration guide for any confusion on How to Configure Application system.

Regards,

Vijay

Former Member
0 Kudos

Thanks a bunch Vijay....Unfortunatley something is wrong with the forums so i can't reward points... i will check back everyday until its working and thanks again....

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

If your XI Client is not 000, you have to add the line

XI.Client=<YourClient>

to the sender adapter configuration.

Regards

Stefan