cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP respond payload based on request payload parameter

former_member568822
Active Participant
0 Kudos

Hi,

I have a requirement to repond the soap payload based on the sender request payload. For example

if sender payload

<a1>11</a1>

<b1>22</b1>

<c1>33<c1/>

the respond must be

<a1>value</a1>

<b1>value</b1>

<c1>value</c1>

There was a lists of parameter that may require based on the sender payload. How can i achieve this?

Thanks.

Edited by: fcgan on Feb 26, 2010 5:35 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

if it is not dynamic you can use value mapping....

Former Member
0 Kudos

Use value Mapping or Fixed Values in the Message mapping .

In the message mapping under the function type - conversions you will find the type Fixed Values or Value Map .

Fixed values is more simple and easy to use . Add the request value as the key and response value as the target.

former_member568822
Active Participant
0 Kudos

Hi,

Thanks for reply. The request payload will be dynamic. Fro example 1st time is <a1> <b1> , 2nd time maybe <b1> <c1>. Currently i already create the data type for a to z the my abap proxy will search the value and return the value a to z. but the requirement is only respond the value that requested.

thanks.