Hi all, I have implemented messageformatters and messageBuilders for REST. The following message formatters have been set in the default axis2.xml.
<messageFormatter contentType="application/x-www-form-urlencoded" class=" org.apache.axis2.transport.http.XFormURLEncodedFormatter"/> <messageFormatter contentType="multipart/form-data" class=" org.apache.axis2.transport.http.MultipartFormDataFormatter"/> <messageFormatter contentType="application/xml" class=" org.apache.axis2.transport.http.ApplicationXMLFormatter"/> I have added builders for the respective content Types as well. I have not added the MultipartFormDataBuilder to the default axis2.xml because all modules using the default axis2.xml will have to add the dependancy of servlet-api. But I have added it to the default axis2.xml of the war. <messageBuilder contentType="application/xml" class=" org.apache.axis2.builder.ApplicationXMLBuilder"/> <messageBuilder contentType="application/x-www-form-urlencoded" class=" org.apache.axis2.builder.XFormURLEncodedBuilder"/> <messageBuilder contentType="multipart/form-data"> <class=" org.apache.axis2.builder.MultipartFormDataBuilder"/> Thanks, Keith -- Keith Chapman WSO2 Inc. Oxygen for Web Services Developers. http://wso2.org/