I created a RESTfule webservice using Jersey2.0 API, which can produce and consume json MediaType.
@Path( "/PortfolioSummary" )
public class RESTWSService
{
public RESTWSService()
{
}
@POST
@Consumes( { MediaType.APPLICATION_JSON } )
@Produces( { MediaType.APPLICATION_JSON } )
public String getportfolioSummary( String req )
{
----
}
}
When I deploy the service or invoke the service, temp file like MIME43756487865.tmp is created in my AppData/local/Temp
folder.
How to avoid this MIME****.tmp file creation in /Temp
folder?