You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation in axis2.xml.j2 for setting the defaultContentType parameter in the Axis2 configuration file (axis2.xml) includes unnecessary quotation marks around the parameter attribute value. This practice prevents the utilization of the defined builder for the defaultContentType parameter.
For example,
In the axis2.xml.j2 file contains the following instruction to set the defaultContentType parameter value,
{% if transport.default_content_type is defined %}
<parameter name="defaultContentType" locked="false">"{{transport.default_content_type}}"</parameter>
{% endif %}
So if we add the following configuration snippet to the deployment.toml file,
Because of the quotation marks around the parameter attribute value, the builder for defaultContentType is not being used. But, when we remove the quotation marks from the axis2.xml.j2 file as shown below, the defined builder gets used.
{% if transport.default_content_type is defined %}
<parameter name="defaultContentType" locked="false">{{transport.default_content_type}}</parameter>
{% endif %}
This needs to be rectified.
The text was updated successfully, but these errors were encountered:
The current implementation in
axis2.xml.j2
for setting thedefaultContentType
parameter in the Axis2 configuration file (axis2.xml) includes unnecessary quotation marks around the parameter attribute value. This practice prevents the utilization of the defined builder for thedefaultContentType
parameter.For example,
In the axis2.xml.j2 file contains the following instruction to set the
defaultContentType
parameter value,So if we add the following configuration snippet to the
deployment.toml
file,Then the above config would reflect in the
axis2.xml
file as shown below,Because of the quotation marks around the parameter attribute value, the builder for defaultContentType is not being used. But, when we remove the quotation marks from the axis2.xml.j2 file as shown below, the defined builder gets used.
This needs to be rectified.
The text was updated successfully, but these errors were encountered: