cancel
Showing results for 
Search instead for 
Did you mean: 

Async-Sync conversion: JMS-SOAP-MAIL

Former Member
0 Kudos

Hi all,

I'm making a async-sync scenario:

JMS-SOAP-MAIL

The SOAP interface is synchronous and JMS and MAIL are asynchrnouse.

I have configured the sender JMS adapter as following:

Modules

<b>1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1

2- CallSapAdapter-Local Enterprise Bean - 2

3-AF_Modules/ResponseOnewayBean-3</b>

Parameters

<b>1 - passThrough - true

3-receiverChannel - Receiver Mail Adapter Name

3-receiverService - Receiver Business Service/ System</b>

But I got such errors in the adapter:

<i>2007-08-29 18:56:13 Success Using connection JMS_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

2007-08-29 18:56:13 Success The XI response message for message bf7c9ea0-5650-11dc-8fae-001438c505fb(INBOUND) was successfully returned to the calling application.

2007-08-29 18:56:13 Success The message status set to DLVD.

2007-08-29 18:56:13 Success ROB: entering ResponseOnewayBean

2007-08-29 18:56:13 Success ROB: resuming the transaction

2007-08-29 18:56:13 Success ROB: calling the module processor ...

2007-08-29 18:56:13 Success MP: Entering module processor

2007-08-29 18:56:13 Error MP: Exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId

2007-08-29 18:56:13 Error ROB: error during processing: com.sap.aii.af.mp.processor.ModuleProcessorException: Processing Error caused by: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId</i>

Any idea?

Thanks!

Regards,

Hui

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

<b>3-AF_Modules/ResponseOnewayBean-3</b>

Also, make sure that Local Enterprise Bean is selected for this as well.

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Instead of using a JMS adapter can you try this with a File Adapter on the sender side?

It worked for me with a File adapter or alternately try looking into this blog if it helps ( not sure if it will tho)

/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19

Regards

Bhavesh