diff --git a/src/core/api_product/nodo_pagamenti_api/on_error_soap_req.xml b/src/core/api_product/nodo_pagamenti_api/on_error_soap_req.xml index d14dcc248..c8dd96c47 100644 --- a/src/core/api_product/nodo_pagamenti_api/on_error_soap_req.xml +++ b/src/core/api_product/nodo_pagamenti_api/on_error_soap_req.xml @@ -7,6 +7,7 @@ execute on-error request ("soapAction", "")!= "")"> + @{return ((string) context.Variables["baseUrl"]+"/webservices/input"); } @@ -26,6 +27,7 @@ + @{return (string) context.Variables["baseUrl"] + "/" + (string)context.Request.Url.Path; } @@ -44,13 +46,9 @@ (preserveContent: true))" /> - - - - @(context.Response.Headers.GetValueOrDefault("Content-Type","") - - - + + @((string)context.Variables["contentType"]) + @{ string message = (string)context.Variables["leggirisposta"]; return message;