cancel
Showing results for 
Search instead for 
Did you mean: 

AF Sample Adapter

Former Member
0 Kudos
283

Hi All -

I am just getting started with the adapter framework in XI 3.0. I understand from the help that SAP is shipping in a sample adapter and a sample module.

Can someone help me to find steps that can be used to use this sample adapter in XI.

I just have sample_ra.jar and am not able to figure out whats next. The help does tell me that I can make the modification's at a certain places to include my own processing requirements.

However, I just want to deploy this sample adapter and try and use it.

Regards,

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

The sample adapter is only a collection of documentation and source fragments. It is not possible to configure and run the adapter.

Extract the sample_ra.jar and you receive Javadoc for the required APIs and some sample classes.

Regards

Stefan

sivakup
Explorer
0 Kudos

Search for sample_ra.sda on /usr/sap.. folder and deploy it. Once you deploy it, import the ra.xml in the design repostitory as adapter metadata. Then you will see a JCA adapter type. You can then use it in the comm. channels.

I played around with the code and was able to add code to connect to MSMQ to build a custom adapter, and deploy it. works ok.

Regards

siva

Former Member
0 Kudos

Hi Sivakumar,

I guess you have successfully implemented a custom adapter. Can you please send me the Javadoc file which explains how to do custom development for adapters? You can send me email to dineshmysore@yahoo.com

Thanks in Advance,

Thanks and Best Regards,

Dinesh.

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Ashish,

I've never had an oportunity to use a self made adapter but in my links library I've found a few links:)

<b>Example Adapter and Example Module</b>

http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/content.htm

<b>Adapter and Module Development</b>

http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm

<b>Session ID: XI301

Development of Adapters for the SAP XI Adapter Framework</b>

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/development of adapters for the sap xi adapter framework.pdf

it may be a good start:)

Regards,

michal

Former Member
0 Kudos

Hi Michal,

Thanks a lot for your reply. I already had a look at these posting's but was not able to make out much.

My problem is to make the sample adapter run.

The sample adapter is by default deployed in the AF. (I presume so). So once that adapter is there, we should be able to use that adapter.

However, that adapter does not appear when we go ahead and try to configure the receiver and sender communication channels.

Please note that I have not configured the adapter meta data or the communications channel data in the Integration Repository. (and do not know if that is to be done for the sample adapter)

All the documentation talks about accessing the adapter using the PCK. However, if an adapter is available I should be able to use the same in the normal configurational scenario's also.

Can you please help.

Ashish

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

As i said I've never had an oportunity to use it yet but if I do I'll try to update this post

Regards,

michal