| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
File-to-File scenario using J2SE EngineStep2:
Configuring Plain J2SE File Adapter for both Sender and Receiver a)
First let’s Configure Sender Adapter : file_sender2is
Below mentioned Parameters are Mandatory while configuring a Sender
PlainJ2SE Adapter. classname=com.sap.aii.messaging.adapter.ModuleFile2XMB version=30 ##Here we are using a Simple Row Conversion mode=FILE2XMBWITHROWCONVERSION ## Integration Engine address and document settings (example, see docu) XI.TargetURL=<Integration Engine URL of XI to which PlainJ2SE Adapter need to connect> XI.User=<XI UserId> The user must have the authorizations of group SAP_XI_APPL_SERV_USER On the Integration Server. XI.Password=<Password> XI.Client=<XI Client > XI.Language=EN #XI.SenderParty=<Sender Party>
XI.SenderService=<Sender Business Service>
XI.Interface=<Sender Message interface>
XI.InterfaceNamespace=<Namespace>
#XI.ReceiverParty=<Receiver Party>
XI.ReceiverService=<Receiver Business Service>
The below mentioned parameters have to mention according to
our requirement. Here we are doing with row conversion.
After Configuring Adapter follow these steps click Store
Configuration Data next click Restart and then click Reload. If Adapter is working fine then it should be in Green status.
Check View log if it shows Red. b)
Configure the Receiver Adapter :file_receiver It’s better to give the path for XI.httpService as
mentioned below. XI.httpService=http://<TargetIPAddress>:<Service
Number>/file/test Note:
TargetIPAddress
and Service Number are the same details that we mentioned in Receiver XI
Communication Channel. So that our XI Adapter will find the Target system
depending upon these details.
After Configuring Adapter follow these steps click Store
Configuration Data next click Restart
and then click Reload. If Adapter is working fine then it should be in Green status.
Check View log if it shows Red. Step3: Test the Scenario: Now place a file with name
PlainJ2se.txt in Input folder After the poll interval of 30secs as we mentioned
in sender file adapter it should be archived in Archive folder and should place
the target file name PlainJ2se<add timestamp>.txt in Output directory. Check in the View log of sender File plain J2SE after placing a file in Input
folder.
The above screenshot shows the
successful process done by the Sender adapter as it was picked the file from
Input folder sent to Integration Engine and also archived to D:/Archive.
Now check the View log of Receiver File J2SE Adapter.
This screenshots shows that
Receiver FileJ2SE was also processed successfully.
Check the Tcode: SXMB_MONI
in PI System.
Note: 1) We can check this Adapter Engine in RWB of PI system.
2) Here we can only test message
from RWB. Limitations:
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||