diff --git a/APPL/MARX/API_mareon_opdracht.asp b/APPL/MARX/API_mareon_opdracht.asp index b2dd4e4cb7..6ede766797 100644 --- a/APPL/MARX/API_mareon_opdracht.asp +++ b/APPL/MARX/API_mareon_opdracht.asp @@ -27,6 +27,7 @@ Session.Codepage = 65001; Response.Charset = 'utf-8'; +var contenttype = getQParam("contenttype", "text/xml"); // of "application/soap+xml" function marx_get_mld_opdr_key (p_xml) { var l_mld_opdr_key; @@ -305,7 +306,7 @@ if (v_API) } __Log("xmldoc.xml:" + xmldoc.xml); - Response.ContentType = "application/soap+xml"; + Response.ContentType = contenttype; // default text/xml if (API.apidata.stylesheet_out) { // Niet super efficient dat we eerst naar tekstuele xml gaan maar ach...