cancel
Showing results for 
Search instead for 
Did you mean: 

custom adapter outbound implementation

Former Member
0 Kudos

Hello,

I'm working currently on sample adapter code.

Unfortunatelly it seems that outbound (receiver) is not implemented.

Could you help me find materials about such implementation?

Example perhapse?

Very gratefull for any help

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

The sample adapter is a simple file adapter. The inbound and the outbound part is implemented.

You find the implementations in CCIInteraction and SPIManagedConnectionFactory

Check for reading and writing files.

Regards

Stefan

Former Member
0 Kudos

Thank you for answering me.

Unfortunatelly it doesn't work for receiver.

I get an exception: Adapter call failed. Reason: null.

From this info I cannot deduce what is wrong. I thought that maybe configuration is wrong - I changed adapterType and adapter namespace. Maybe that is the problem?

How do you think?

stefan_grube
Active Contributor
0 Kudos

When you change adapter type and adapter namespace, you have to adjust

- the ra.xml

- the reference in the adapter code (SPIManagedConnectionFactory.java and XIConfiguration.java)

- the adapter meta meta data object

All references must be identical

Former Member
0 Kudos

Ok. Thank you very much.

I was woring in pi 7.1 so there were small adjustments in code to be made in ConnectionFactory.

Now it works:)

Former Member
0 Kudos

My question was answered

Answers (0)