SCA view in Migrated OSB Projects not showing correctly

February 19, 2016

Reading time ~1 minute

SCA view in Migrated OSB Projects not showing correctly

After migrating OSB projects from versions 11 to 12.1.3 or to 12.2.1 - I have seen some of the Project views (same as the Composite view in SOA) having problems to work. Here is what it looked like:

Empty View

I think me and Christopher fould the solution today. In the JPR-file, there is a part:

  <hash n="oracle.ide.model.TechnologyScopeConfiguration">
      <list n="technologyScope">
         <string v="Maven"/>
		 <string v="SOA"/>
         <string v="ServiceBusTechnology"/>
         <string v="WSDL"/>
         <string v="WSPolicy"/>
         <string v="XML"/>
         <string v="XML_SCHEMA"/>
      </list>
   </hash>

If we created a new Project - we saw that the SOA-technology scope was not there. So we deleted that line, and restarted JDeveloper - and that made it work. Here is the fixed version:

  <hash n="oracle.ide.model.TechnologyScopeConfiguration">
      <list n="technologyScope">
         <string v="Maven"/>
         <string v="ServiceBusTechnology"/>
         <string v="WSDL"/>
         <string v="WSPolicy"/>
         <string v="XML"/>
         <string v="XML_SCHEMA"/>
      </list>
   </hash>

Oracle has verified this as a workaround, and gave me quick feedback with details. This can also happen in new 12.2.1 project - if you add an XQuery - see details here on MOS: Adding XQuery converts Service Bus projects onto SOA projects (Doc ID 2090174.1) - with a patch.

If it does not work fine - do the following - Clear the cache of Jdeveloper with the following steps:

  1. Open the About Oracle Jdeveloper Dialog from menu, Help -> About
  2. In the Properties tab , search for ide.system.dir
  3. Stop Jdeveloper and delete/rename this folder
  4. Restart Jdev
  5. When restart Jdev, you will get a confirmation message to accept the preferences of the old version,then you have to press No.
Jon Petter is Department Manager for Middleware at SYSCO. Building an organization of skilled Oracle Middleware experts, with a focus on Oracle SOA Suite, Weblogic, Oracle Service Bus, BPM Suite, BAM, Oracle Event Processing. He has worked with Oracle products since 1997, and has worked with some of the larger SOA customers in Norway. Board member of the Oracle User Group Norway (OUGN), and Oracle ACE Associate.

Get “non XML” file on request based on a file name and send it via HTTP POST with OSB 12c

Requirement is fairly simple, there is a need to transfer a “non XML” file (in this specific case .pdf document) based on the file name w...… Continue reading