Baoyuantop commented on issue #11556:
URL: https://github.com/apache/apisix/issues/11556#issuecomment-2908364759
Can you try again with the following configuration?
```
{% if Envelope.Body.Fault == nil then %}
{
"status":"{{_ctx.var.status}}",
"return":"{{Envelope.Body.messageResponse['return']}}"
}
{% else %}
{
"message":{*_escape_json(Envelope.Body.Fault.faultstring[1])*},
"code":"{{Envelope.Body.Fault.faultcode}}"
{% if Envelope.Body.Fault.faultactor ~= nil then %}
, "actor":"{{Envelope.Body.Fault.faultactor}}"
{% end %}
}
{% end %}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]