Saturday, March 28, 2015

Unable to edit DB/File Adapter in JDeveloper

Problem :
                Unable to Edit DB/File Adapter in JDEV

Cause :
             It happens when you export Project from em console and import it in Jdeveloper .

Solution :

  • For File Adapter : 
                             Add  <?binding.jca jcafilename_file.jca?>  in corresponding wsdl below
                            <?xml version= '1.0' encoding= 'UTF-8' ?> tag generated when creating file adapter.

  • For DB Adapter :
                            Add  <?binding.jca jcafilename_db.jca?>  in corresponding wsdl below
                          <?xml version= '1.0' encoding= 'UTF-8' ?> tag  generated when creating DB adapter.



In case of DB Adapter Polling(Inbound), if you add <?binding.jca jcafilename_db.jca?>  tag and edit the db adapter then it is editable but with some error like below :



This error gives when you use Polling db records, in this case db adapter creates mapping and property files.

To overcome this issue you need to add below line in your properties.xml file above properties tag.

<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">


1 comment: