RequestDataConverter x Code Injection

hi,

how do i implement the RequestDataConverter interface to prevent Code Injection ?

Where should I put my package “com.my.RequestDataConverter”?

See the image below.

Thanks,
Sávio.

Hi Savio.

You need to implement the IRequestDataConverter interface in your own class - for instance com.mycompany.MyDataConverter.
Then you need to configure this own class in the cisconfig.xml
This is described here:
http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/application_designer/cit837/devtopics/dev-security.htm#dev-security

For development in ONE the recommendation is to have some kind of “Global User Interface Component” to hold configuration files and other “global” data/code. In this global User Interface Component: Create a subfolder src and make it a Java Source Folder. You need to Java enable your project.
This is described here:
http://techcommunity.softwareag.com/ecosystem/documentation/naturalONE/natONE837/core/ajaxdev/ad-start.htm#ad-start-ajaxconf

If you follow the subfolder recommendations, everything will be packaged for you from the ant war deployment scripts automatically.

Best Regards,
Christine

Thanks Christine !!!

Sávio