Hi all,
I can sent the file of my local PC to the XI 3.0 by using the local adapter engine of XI 2.0. But I can't do it by using the File Adapter Communication Channel in XI 3.0.
In my XI 2.0 local adapter engine, I startup the RUN_ADAPTER.BAT in my local adapter engine folder. And create the file_inbound adapter: File_2_M47 as:
-
<b>## file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
mode=FILE2XMB
Integration Engine address and document settings (example, see docu)
XMB.TargetURL=http://10.37.217.65:8000/sap/xi/engine?type=entry
XMB.User=xiuser
XMB.Password=xipass
XMB.SenderBusinessSystem=FILE_SYSTEM
XMB.SenderInterfaceNamespace=http://trevorecc5.com/xi/file
XMB.SenderInterfaceName=ZMI_SO_IDOC
XMB.ContentKind=B
#XMB.ContentKind=T
XMB.ContentType=application/xml
#XMB.ContentType=text/xml
#XMB.ContentType=text/plain
XMB.QualityOfService=EO
##File Adapter specific parameters (example, see docu)
file.sourceDir=C:/filetoidoc
file.sourceFilename=.
file.processingMode=setAttribute
#file.processingMode=delete
#file.processingMode=archive
#file.archiveDir=c:/temp_archive
file.pollInterval=20
##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
#xml.fieldFixedLengths=15,25
xml.processFieldNames=notAvailable
xml.fieldSeparator=;</b>
-
Note: The IP address (10.37.217.65 ) is my XI 3.0 server.
I can send the file of my folder - C:/filetoidoc.
I have configured the Comunication Channel in XI 3.0.
And the related parameters like as:
-
<b>Comunication Channel: CC_FILE_IDOC
Service : FILE_SYSTEM
Adapter type : File
: Sender
Transport Protocol : File System(NFS)
Message Protocol : File
Adapter Engine : Integration Server
Source Directory : C:/filetoidoc
File Name : .
Quality Service : Exactly Once
Poll Interval : 20
Processing Mode : Set to Read-Only
Empty-File Handling : Do Not Create Message
Process Sequence : By Name
File Type : Binary
Status : Active
The sender comunication channel CC_FILE_IDOC has been assigned to the sender aggreement /File_System/ZMI_SO_IDOC/ of namespaces: http://trevorecc5.com/xi/file>
-
But it can't work!
I don't know how to configure the file adapter Comunication Channel for my sending in XI 3.0.
Any help is appreciated.
Regards,
Trevor
Message was edited by:
Trevor Zhang