| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Step-by-step guide to develop Adapter Module to read Excel file in PI/XIAfter saving the class it will create EJB Candidate EJB Candidate à Right Click on it à select Add to ejb jar.xml
EJB Module Project à ejb-j2ee-engine.xml à Session Bean à Select Bean à Give JNDI Name
Right Click on EJB Module Project à Build EJB Archive Now .jar file will be created with the same name
as EJB Module Project name Creating
an Enterprise Application Archive (EAR) In order to deploy your adapter module to the SAP J2EE engine, you have
to Create an EAR file: Create a new project as File à
New à Project à J2EE ->
Enterprise Application Project.
Select your EJB project(s) as reference by pressing Next in the above
screen. In this project, you need to assign references in application-j2ee-engine.xml. Open this file, choose the source tab page, and apply the following code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd"> <application-j2ee-engine> <reference reference-type="hard"> <reference-target provider-name="sap.com" target-type="library">com.sap.aii.af.lib</reference-target> </reference> <reference reference-type="hard"> <reference-target provider-name="sap.com" target-type="service">com.sap.aii.adapter.xi.svc</reference-target> </reference> <reference reference-type="hard"> <reference-target provider-name="sap.com" target-type="service">com.sap.aii.af.svc</reference-target> </reference> <reference reference-type="hard"> <reference-target provider-name="sap.com" target-type="service">com.sap.aii.af.cpa.svc</reference-target> </reference> <fail-over-enable mode="disable"/> </application-j2ee-engine> Right Click on Enterprise Application Project à Build Application Archive
Now EAR File will be created Deploy the EAR file from the deploy service in the Visual
Administrator tool, or with the
Software Deployment Manager (SDM).
Now we have
the module ready. Designing in Integration Repository
Import the Software component into Integration repository Create
the name space Create a Data
Type as shown below.
Create a Message
Type and assign the
data type created earlier Create
Outbound and Inbound Message Interfaces
|
|
|
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 |
||