on 06-23-2008 7:59 AM
Hello Guru's,
I have a following scenario:
I needed to send a file with sFTP and with XI this is not possible (XI only supports FTPs) so I have installed a J2SE adapter engine on the receiver side and the adapter is the XI XML adapter. Now I still need to do the following:
Configure the J2SE adapter engine so that I can place a file in a certain directory on the server. Now I am not sure what to do with certain configuration parameters. I have read the help.sap.com but can someone help me out with an example?
Best regards,
Guido
Edited by: G. Koopmann on Jun 23, 2008 10:19 AM
Hi,
Open your J2SE engine and configure the Receiver file adapter like :
File adapter java class
classname=com.sap.aii.messaging.adapter.ModuleXMB2File
version=30
mode=XMB2FILE
##Adress for XMB endpoint
XI.httpPort=8210
XI.httpService=/file/if007bsh --- > This path shoulbe mentioned in XI adapter in XI. case sensitive
##File Adapter specific parameters
file.createDir=1
file.targetDir=d:/xi/dev/if007bsh/inbox --> dir where u want to create the file
file.targetFilename=IF007BSHa.dat --> File name
file.writeMode=append
file.writeMode=overwrite
file.writeMode=addTimeStamp
file.counterMode=immediately
file.counterMode=afterFirst
file.counterSeparator=
file.counterFormat=00000
file.counterStep=1
XI adapter in Directory -->
Use host name, port and mention path as /file/if007bsh
use logon data for Non SAP system and use adapter engine id and password.
Kulwinder
reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Some formatting was wrong in earlier reply.
##File adapter java class
classname=com.sap.aii.messaging.adapter.ModuleXMB2File
version=30
mode=XMB2FILE
##Adress for XMB endpoint
XI.httpPort=8210
XI.httpService=/file/if007bsh --- > This path shoulbe mentioned in XI adapter in XI. case sensitive
##File Adapter specific parameters
file.createDir=1
file.targetDir=d:/xi/dev/if007bsh/inbox --> dir where u want to create the file
file.targetFilename=IF007BSHa.dat --> File name
#file.writeMode=append
#file.writeMode=overwrite
file.writeMode=addTimeStamp
file.counterMode=immediately
#file.counterMode=afterFirst
#file.counterSeparator=
#file.counterFormat=00000
#file.counterStep=1
XI adapter in Directory -->
Use host name, port and mention path as /file/if007bsh
use logon data for Non SAP system and use adapter engine id and password.
Kulwinder
reward if helpful
> Which parameters need to fill in for this:
>
> XI.httpPort=8210
> XI.httpService=/file/if007bsh
You can use any free port on the local system and any path.
The URL where you send the messages from XI is combined like this:
http://<host>:8210/file/if007bsh
Any adapter channel need a different port.
Regards
Stefan
Hi ,
XI.httpPort= It is the administration port given in the HTTP service while J2SE installation. It can vary with each installation.
XI.httpService= this path can be anything, whatever u like. The only condition is that it should be same as mentioned in XI adapter (path) in XI and Receiver File adapter in J2SE.
Kulwinder
Reward If helpful
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.