Showing posts with label mds. Show all posts
Showing posts with label mds. Show all posts

Monday, 23 December 2013

Metadata Error : Error while opening project

While trying to open some sample soa project in Jdeveloper,Icame across with following errors as listed below :- 

Error: oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document  
  
MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.    

MDS-00503: The metadata path "C:\Oracle\Middleware\jdeveloper\integration" does not contain any valid directories.

: MDS-01330: unable to load MDS configuration document  
  
MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid. 
   
MDS-00503: The metadata path "C:\Oracle\Middleware\jdeveloper\integration" does not contain any valid directories.

: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document    

MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.    

MDS-00503: The metadata path "C:\Oracle\Middleware\jdeveloper\integration" does not contain any valid directories.

: MDS-01330: unable to load MDS configuration document 
   
MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.    

MDS-00503: The metadata path "C:\Oracle\Middleware\jdeveloper\integration" does not contain any valid directories.
--------------------------------------------------------------------------------------------




FIX: solution - open the .adf\META-INF in your project and give th ecorrect path of j developer integration folder 
eg in my case it was   : C:\Oracle\Middleware\Jdeveloper\jdeveloper\integration

It works in my case hope it also help you out.

Wednesday, 11 December 2013

Creating an MDS connection through JDeveloper 11g


3. Choose Database Connection:

 4. Enter your database information to your MDS as follows:
5. Go back and create a new connection, this time, choose SOA-MDS Connection:
 6. Choose "DB Based MDS", choose the connection created in the previous step, and select the "soa-infra" MDS partition:

Now, under the Resource Palette, you will notice the SOA-MDS connection under IDE Connections:
You can now reference artifacts in the MDS through your code.

Referencing DVMs (through attributes or XSL)
dvm:lookupValue('oramds:/apps/AIAMetaData/dvm/hello.dvm','Name','Jack','ID','')

Fault bindings in composite.xml
<property name="oracle.composite.faultBindingFile">oramds:/apps/AIAMetaData/faultPolicies/fault-bindings.xml</property>

Schema or WSDL import
<xsd:import namespace="http://xmlns.oracle.com/bpel" schemaLocation="oramds:/apps/AIAMetaData/AIAComponents/hello.xsd"/>