on 06-24-2013 9:35 AM
Hi Experts,
I have a scnerio of RFC TO SOAP synchronous...Here in the Response_output(sender) i have 3 fields in the sender side response...To that 3 fields i need to get complete xml payloads....
1st field:i have to get the whole xml format of the request xml payload generated at the receiver side which we ping to the web service
2nd field: i have to get the whole xml format of the response from the web service
3rd field: i have to get a single field value which exist in the request xml payload generated at the receiver side which we ping to the web service
your suggestions are more valuable
Thanks,
Hi,
Please use SOAP Lookup to achieve this functionality. So the design would be:
RFC Request --> SOAP Request -> Lookup from UDF --> SOAP Response --> RFC Response.
In this design you need to use only 1 message mapping and Sender Payload would be available through out the mapping. So you can easily use 'Return as XML' functionality and populate Receiver RFC Response structure.
For more information: http://scn.sap.com/community/pi-and-soa-middleware/blog/2006/11/20/webservice-calls-from-a-user-defi...
Regards,
Nabendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Your requirement is not clear can you share the screenshot of message mapping.
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The whole XML can be inserted into a single field by using Return as XML functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The easiest way to have access to request message in response mapping is to implement a (cc)BPM, there you have both request and response in the process container, and can use them in a mapping step. The drawback is the higher complexity and lower performance of BPM for the synchronous call.
Why do you actually need request data in response? Isn't the request data is available in the RFC? What RFC is it? Please also refer to Re: Store value from request message to be processed in response mapping
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.