Configuration Objects for the Adapter
Test
In the following configuration example, a loop is defined in which the JCA example adapter is both the sender and receiver of a message.
Using this as a basis, you can configure the exchange of messages for your own adapter and then test it just in the PCK.
Using this configuration, you can also carry out tests with binary attachments and text attachments.
● To configure the loop, you must create one communication party in the PCK with one communication component. You also require a sender and receiver channel with the adapter type to be tested.
● You must create one sender agreement and one receiver agreement.

For an
additional configuration example that includes the Integration Server, see:
Configuration
Example: Message Exchange
Make the following changes to the following properties in service XPI Adapter XI in the NetWeaver Administrator:
Property Name |
Value |
xiadapter.internal |
devModePCK |
xiadapter.isconfig.url |
Enter the URL for the inbound channel for the PCK Adapter Framework. http://<AS Java Host>:<AS Java http port>/MessagingSystem/receive/AFW/XI
http://localhost:50000/MessagingSystem/receive/AFW/XI
|
xiadapter.isconfig.username |
Enter the user for the PCK inbound channel. This must be the same user as the one who assigned the Security Role xi_af_receive in the Security Provider sap.com/com.sap.aii.af.ms.app*MessagingSystem. |
xiadapter.isconfig.password |
Enter the password. |
Create the following objects.
● Party (Party_A) and communication component (Component_A) as the sender and receiver
● Create a communication channel (From_A) that uses the JCA example adapter Sender.
● Create a communication channel (To_A) that uses the JCA example adapter Receiver.
Sender Agreement
Attribute |
Value |
Sender party |
Party_A |
Sender component |
Component_A |
Sender interface |
IF_XML |
Sender interface namespace |
http://IF |
Receiver party |
Party_A |
Receiver component |
Component_A |
Communication channel |
From_A ● Sender ● JCA example adapter |
Receiver Agreement
Attribute |
Value |
Receiver party |
Party_A |
Receiver component |
Component_A |
Receiver interface |
IF_XML |
Receiver interface namespace |
http://IF |
Sender party |
Party_A |
Sender component |
Component_A |
Communication channel |
To_A ● Receiver ● JCA example adapter |