cancel
Showing results for 
Search instead for 
Did you mean: 

GET XML in Sproxy

former_member193964
Active Participant
0 Kudos

Hi all,

Is it possible to get XML into the tab Original Response after sproxy execution with error?

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

This will give you clear picture.

Former Member
0 Kudos

Let me re-phrase your question.

You want to have a mechanism by which the request message ( in xml format ) can be passed to one of the fields of the response message.

Solution 1:-

1. If you have an inbound synchronous proxy, design the response structure in such a way that the response message will have a root element which is 0.. unbounded. It helps when you don't have an error you don't need to populate the fields.

2. The second part of the synch inbound proxy would be the response message structure containing the error, you can also use the standard fault message structure. So your response proxy would look like this.

Root ( 1... unbounded )

Response ( 1... unbounded )

faulttext

faulturl

faultDetail ( 0... unbounded )

severity

text

url

id

RequestMsg ( 0... unbounded)

<messg structure>

Solution 2:-

1. You can include a field in the response message to contain the entire source xml.

2. To do that you need to generate the xml format data and then convert the xml xstring into string and pass it on the field data.

Regards,

Indranil