Modifying the Configuration Files for RAR

Context

Change the configuration files used to build the RAR file.

Procedure

  1. In NWDS, create project AdapterYOURADAPTER_RAR .
  2. Extract and copy the META-INF directories to the appropriate project directories.
  3. Use a text editor and change the contents of the files.
    1. Change the namespace from com.sap.aii.af.sample.adapter.ra to com.test.YourAdapter.adapter.ra .

    2. Change the adapter display file name references from sample_ra to YourAdapter_ra.

      More information: Stand-Alone Deployment as RAR

  4. Change the content of the ra.xml file. Change the adapter type from JCA to YOURADAPTERFile.
    1. Change the adapter namespace from: http://sap.com/xi/XI/sample to http://sap.com/xi/XI/YourAdapter

    2. Change the adapter display name from sample_ra to YourAdapterName_ra.

      More information: Stand-Alone Deployment as RAR

  5. Rename file from com.sap.aii.af.sample.adapter.ra-dd.xml to com.test.YourAdapter.adapter.ra-dd.xml .

    Verify that the reference in SAP_MANIFEST.MF has also been changed from com.sap.aii.af.sample.adapter.ra-dd.xml to com.test.YourAdapter.adapter.ra-dd.xml . (This should have already been done with step 3.1 above.)

    More information: Stand-Alone Deployment as RAR

  6. Refresh the projects in NWDS.