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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.