on 04-15-2013 12:04 PM
Hello,
We are configuring IDOC to SOAP synchronous scenario where we need to send Web Service response back to SAP ECC through an IDOC. Due to stringent deadlines, we are not in a position to change IDoc to Proxy on the ECC side for making it a synchronous scenario.
We are on SAP PI 7.3 and trying to use ResponseOnewayBean in the sender IDOC_AAE channel for sending the web service response to IDOC_AAE receiver channel.
However, after specifying RequestResponseBean and ResponseOnewayBean in the Module tab of Sender IDOC_AAE channel, while executing the scenario from ECC system the message is getting failed while processing ResponseOnewayBean module with error “MP: exception caught with cause java.lang.Exception: IDoc : No channel Found for incoming XI Message”.
We are successfully getting response from Web Service and response mapping is also getting called however while sending the response message to IDOC_AAE receiver channel through Module configuration the scenario is failing.
We tried replacing IDOC_AAE adapter with File as well as SOAP Adapter in Module Configuration and both are working absolutely fine on the receiver side however for IDOC_AAE adapter type in Module configuration the scenario is failing.
SDN Links Referred –
Any help on this would be highly appreciated.
Regards,
Mugdha
Hi Mugdha, were you able to find a solution to the above problem?
We have the same scenario to work upon and are getting similar error.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mugdha,
Not sure how this response one way bean will work . May be it would require some patch or BASIS help.
Check the note Note 1384520 - ResponseOnewayBean at the sender may not find channel
I can suggest you another work around sorry a bit troublesome , As you said it is giving response to a file channel . keep a file channel and store it in a directory on PI itself .
Run scenario 2- which will pick file from this directory ( scheduled channel ) and map it to the IDoc .
To convert Idoc flat file to xml , you can refer this blog
Do let us know if you find any other solution .
Thanks
Ninad Sane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mugdha,
We use the ResponseOnewayBean module to convert an inbound message to an asynchronous message. Is this what you want to do? if yes, try to read the below links.
http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/20cc5dc2180733e10000000a155369/content.htm
Can you place some screenshots of ur config and error message/logs.
Regards,
Lakshmi Naik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mugdha,
We had also tried having Request Response bean as per the below document along with documents posted by you:
http://wiki.sdn.sap.com/wiki/display/XI/Using+Request+Response+Bean+Module+in+FILE+Adapter
But the issue is that when we have a synchronous mapping for IDoc, we have to create a synchronous service Interface for the Sender IDoc whose response message is the IDoc which we want to receive as response, say ALEAUD IDoc for acknowledgement. Now since the IDoc name does not match the service interface, the IDoc's would get stuck in sm58.
For your scenario, the error seems to be different from the one we faced. Could you please explain as to how the configuration has been done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.