Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member181955
Contributor
0 Kudos

Introduction:
In our Project we need to integrate UNIX system and windows system. We need to pick the files
From UNIX and place the files in windows system vice versa.

So we installed J2SE adapter engine in both UNIX and windows systems. Hope it could be useful for beginners

 

Steps: 

Local Adapter Engine:

1. Install Local J2SE adapter engine in UNIX box 

2. Install Local J2SE adapter engine in windows box 

Integration Repository: 

1. Perform Interface Objects (Data type, Message type, Message interface) 

2. Perform Mapping objects if required. 

Integration Directory: 

1. Create configuration scenario

2. Create two business services

3. Create receiver communication channel adapter type xi, pointing Central adapter engine

"

4. Receiver agreement

5. Interface determination

6. Receiver determination

Configuring Adapters in respective Local j2se adapter engines:

 Sender local j2se file adapter Properties:

mode=FILE2XMBWITHROWCONVERSION

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

#XI.proxyHost=s71cam
#XI.proxyPort=8000

XI.User=PRASADN
XI.Password= 

XI.Client=030
XI.Language=EN

XI.SenderService=BusService_Unix

XI.Interface=MI_MaterialMaster_toPPS_OB
XI.InterfaceNamespace=urn:wrgrace-com:MaterialMaster:toPPS

XI.ReceiverService=BusService_Windows

XI.QualityOfService=EO

file.type=TXT

file.sourceDir=/interface/MQSERIES/DATA/P0_DOWNLOAD

file.sourceFilename=P0*.*

file.pollInterval=60

#file.retryInterval=60

file.processingMode=archive

file.archiveDir=/interface/MQSERIES/DATA/ok/P0_XD

file.processingOrder=byName

file.messageAttributes=FileName

xml.processFieldNames=fromConfiguration

xml.documentName=MT_MaterialMaster_toPPS

xml.documentNamespace=urn:wrgrace-com:MaterialMaster:toPPS

xml.structureTitle=Records

xml.fieldContentFormatting=nothing

xml.fieldNames=Text

xml.fieldSeparator='nl'

xml.endSeparator='nl'

Receiver local j2se file adapter Properties:

## File adapter java class
classname=com.sap.aii.messaging.adapter.ModuleXMB2File
version=30

mode=XMB2FILEWITHCONVERSION

##Adress for XMB endpoint
XI.httpPort=8213
XI.httpService=http://159.97.242.4:8225/file/test

##File Adapter specific parameters
file.createDir=0
file.targetDir=/interface/MQSERIES/DATA/P0_DOWNLOAD
file.targetFilename=P0

file.writeMode=create

file.writeMode=addTimeStamp

file.messageAttributes=FileName
xml.addHeaderLine=0
xml.fieldSeparator='nl'
xml.endSeparator='nl'