on 10-04-2011 2:21 PM
Hi all,
Is it possible to get XML into the tab Original Response after sproxy execution with error?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.