on 07-08-2008 10:10 PM
I heard you can now have async-sync communication outside of BPM by utilizing adapter modules?
My scenarios are:
proxy (async) -> SOAP WS (sync)
proxy (async) -> JDBC (sync)
I will like to capture the synchronous responses in XI and perform some basic error handling.
I read h[|] and the release notes for 2004s SP19 and there is no reference to JDBC or SOAP.
tia
HI Megha,
AFAIK, the adapter module configuration is not dependent upon the type of adapter.
Did you try the adapter confguration for your JDBC/SOAP adapters, as described by bhavesh?
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi
I cant find that how-to guide anywhere (have you seen it?) I am not sure what to populate in the parameters as he referenced in his thread (Bhavesh).
Regards,
Megha
From Bhavesh thread -
Module config
Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true -- what is the value here for other adapters?
3-receiverChannel - Receiver File Adapter Name -- what is the value here for other adapters?
3-receiverService - Receiver Business Service/ System -- what is the value here for other adapters?
I'm not 100% sure but you can try.
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true -- what is the value here for other adapters?
Same as above, nothing changes.
3-receiverChannel - Receiver File Adapter Name -- what is the value here for other adapters?
Replace the Receiver File Adapter Name with the Adapter name of the JDBC/SOAP Adapter.
3-receiverService - Receiver Business Service/ System -- what is the value here for other adapters?
The Reciever BS in which the JDBC/SOAP adapter is defined.
Hi Ravi
He is describing File -- RFC -- File
Where it's Async/Sync
He says:
"4. We need to add a few modules in the Sender File Adapter. "
....
...
....
....
With this configuration, you can now handle the requirement without a BPM
My scenario is Proxy -- JDBC -- XI or Proxy -- SOAP -- XI
His file scenario = proxy meaning the config is entered on the sender side.
Hi Megha,
It is Aysnc to Sync Scenario. File is one sender system which is sending data asynchronously, rfc a synchonous sap system which will recieve the data and send the response, File is another File system where the target file will be sent asynchronously. These two File are different File servers/system and not the same. I hope it is clear to you now.
You can use the same in your scenario as well.
thanks
amit
reward point if answer is useful
Hi Amit
Bhavesh and the blogger from 5590 are doing the same thing:
Async --> Sync --> Async
In once case (blog) it;s JMS
In Bhavesh's case it's File
The primary difference between my scenario and theirs is they are adapter-based (file and JMS respectively) whereas in my scenario - the sender is asyncproxy_ (abap).
Where will the module configuration go? Those modules convert the async message to a sync one and thats what I need to do.
tia
The guide is somehow missing on service market place. I do have a copy of it somewhere in one of my backup's.
The value for other adapters will continue to be the same and so will the name of the business service , nothing changes!
Just make sure that the Receiver adapter can support sync calls and ofcourse the sender doesn't as if it did, no need to use these modules.
Regards,
Bhavesh
Havent tried it with the XI adapter as this is asynch but I dont see any reason as to why it wont work., After all XI adapters also run on the java stack.
Do let me know if you need any further help, tried this a long time back and hence it would be fun to revisit the same.
As for monitoring, you will have see the synch message in SXMB_MONI and the adapters will the log in the comm channel monitoring.
There is no custom error handling that you can do here.
Regards,
Bhavesh
Hello Bhavesh,
I am doing similar interface, ECC to PI Aync proxy and PI to 3rd party Sync.......So ESR I configured as regular synchronous scenario. But In ID
Q1. Where Do we specify Module configuration in sender Xi communication channel and we will not option to specify Processing Parameters also ?
Q2. I tried doing switching ECC to PI as web service also but its giving below error
class com.sap.aii.af.sdk.xi.mo.MessageContext:library:com.sap.aii.af.sdk.lib@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@1f31f576@alive incompatible with interface com.sap.engine.interfaces.messaging.api.Message:interface:com.sap.aii.af.ms.ifc@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@300fa532@alive
Hi Deep,
You cannot enhance XI adapter with your own modules on the Module tab page in the module processor. Ref: http://help.sap.com/saphelp_nw04/helpdata/en/4f/0a1640a991c742e10000000a1550b0/content.htm
You need to make the Proxy as Synchronous and need to perform required mapping with Synchronous Web Service at Target side.
Otherwise change the design:
Async Proxy ECC ---> Web Service Lookup (Sync) --> Async Proxy ECC
Check the below blog for WS Lookup from UDF:
So for testing purpose, I publish WSDL from SAP PI.. and trying to test from soupUI......then getting bellow error .......Any help here
class com.sap.aii.af.sdk.xi.mo.MessageContext:library:com.sap.aii.af.sdk.lib@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@1f31f576@alive incompatible with interface com.sap.engine.interfaces.messaging.api.Message:interface:com.sap.aii.af.ms.ifc@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@300fa532@alive
Vinod - your links are not addressing my problem. They speak to IDoc, JMS, File and some dont even refer to bridging.
I specifically asked for SOAP and JDBC - Async to Sync and how to handle monitoring. And I was asking for some more detailed information.
In addition, a lot of the links are repeated - I think to you need to make your responses useful or if you need more clarification ask.. or if you dont know, then monitor the post till someone who knows contributes.
Not to pick on you but these kind of responses ruin the SDN experience for lots of people.
Regards,
Megha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Megha,
Plz do refer the below links u will get an idea:
Sync/Async communication in Adapter without BPM (SP19)
Async/Sync Communication using JMS adapter without BPM (SP 19)
also try this
Have a look
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
Do refer this thread:
Reward if found useful
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.