Skip to Content
0
Former Member
Oct 27, 2005 at 06:43 AM

XI Plain Adapter

109 Views

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