transport.vfs.ContentType

Content type of the files is processed, while encoding split with a semi-colon character is optional.

Consider this example:

<parameter name="transport.vfs.ContentType">    text/xml;charset=UTF-8</parameter>  

If we want to change the content type of the file after processing it, we can use the following property in our service:

<property name="CHARACTER_SET_ENCODING" value="UTF-8" scope="axis2" type="STRING"/>  

Get WSO2 Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.