on 06-19-2007 10:39 AM
Hi,
My scenario is RFC to SOAP sync.
RFC has only import and export paramters (Exception is part of Export Parameter)
SOAP message has Request,Response and fault messages.
I want to map both SOAP response and fault messages to RFC Response message in this <b>synchronous scenario</b>.
Can any one help me to solve this problem.
Note: I have already referred related blogs.
Thanks,
Uma
Hi Uma,
you can use a wrapper Function Module with exception.
So, you can fetch your fault message as exception pretty easily.
No BPM ..no complexity..:)
Regards
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, In this case you have two options.
Either you create an adapter module to copy the fault message in your response and map your response to ur RFC response .
Else use BPM.
Regards
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uma,
this is pretty easy.
you define an exception in ur RFC.
When you import ur RFC in IR, you get three message types attached.
Request, Response & Fault.
Similarly when you import a WSDL for ur webservice , you have a request , response and fault message attached.
now you define three message mappings .(req res & fault).
And you have one interface mapping where you need to specify all these 3 message mappings.
And whenever your webserver sends any fault message that is sent back as an exception to ur RFC.
If you need any more input from me please let me know.
n dont forget my sdn points..:)
Regards
Pushkar
Message was edited by:
Pushkar Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One way would be for you to use a BPM between the RFC and the SOAP. Inside the BPM, put a switch based on whether the response or fault message is populated, and have the mappings between the response -> response and fault-> response messages on separate branches. That way either one of the messages will populate the response message to your RFC.
Cheers
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.