web analytics
free online training

SOA 11g MDS

SOA Suite 11gR1 has a provision for sharing SOA artifacts through – Meta Data Store. This facilitates greater re-use of SOA artifacts such as XML Schemas, EBMs, WSDLs, Fault Policies, Rule repositories and Service Data Objects (SDOs) among others. can be file-based or database-based. Here are the steps to create and use file-based in JDeveloper.

MDS is created under <jdeveloper-home>/integration/seed directory. Default folder “soa” is used to store common system soa artifacts. All custom artifacts are supposed to be stored under a folder called “apps”, since this folder already exists in server.

Create directory structure under apps folder. In this example, I’ve created folder structure ../apps/com/wordpress/orafmw/training/xsd to store XML schema files. This ideally should match your schema structure.

image

In JDeveloper, expand Descriptors/ADF META-INF and open adf-config.xml.

image

Create an entry for metadata store location.

<metadata-namespaces>

<namespace metadata-store-usage=”mstore-usage_1″ path=”/soa/shared”/>

<namespace metadata-store-usage=”mstore-usage_2″ path=”/apps/com”/>

</metadata-namespaces>

Specify MDS storage location.

<metadata-store-usage id=”mstore-usage_2″>

<metadata-store class-name=”oracle.mds.persistence.stores.file.FileMetadataStore”>

<property value=”D:\PROGRAMS\OracleMiddleware11g\jdeveloper\integration” name=”metadata-path”/>

<property value=”seed” name=”partition-name”/>

</metadata-store>

</metadata-store-usage>

Use defined artifacts directly from MDS.

<xsd:schema elementFormDefault=”qualified”>

<xsd:import namespace=”http://orafmw.wordpress.com/training/mediator/ebm/OrderProcessing”

schemaLocation=”oramds:/apps/com/wordpress/orafmw/training/xsd/OrderProcessingEBM.xsd“/>

</xsd:schema>

Deploy MDS Repository to Weblogic Server

First, we need to create JAR file bundle to include schemas we need. Then we need to include this jar file into a SOA bundle that can be deployed to the SOA Server.

Create Generic Application – MediatorMetaData

orafmwschool_mediator_68

orafmwschool_mediator_69

Create a project – MediatorLib

orafmwschool_mediator_70

Right click on MediatorLib and select New –> Deployment Profile –> JAR File

orafmwschool_mediator_73

Enter mediatorlib as the deployment profile name.

orafmwschool_mediator_74

In the JAR deployment properties dialog, click on Contributors, click on Add button and select apps directory from JDeveloper seed location – <jdeveloper_home>/integration/seed/apps.

orafmwschool_mediator_75

orafmwschool_mediator_76

orafmwschool_mediator_77

orafmwschool_mediator_78

Click on Filters and select the schemas you would like to be deployed.

orafmwschool_mediator_79

Click on OK. This completes creation of JAR file. We now need to create an application deployment profile to install these schemas in SOA Server.

Right click on MediatorMetaData application and select Deploy –> New Deployment Profile. Select “SOA Bundle” as Profile type.

orafmwschool_mediator_80

Enter mediatorlib for Deployment Profile Name. From the properties dialog, open Dependencies and select mediatorlib.

orafmwschool_mediator_82

To deploy MediatorLib to SOA Server, right click on MediatorMetaData and select Deploy –> mediatorlib.

orafmwschool_mediator_83

VN:F [1.9.17_1161]
Rating: 9.6/10 (5 votes cast)
VN:F [1.9.17_1161]
Rating: +3 (from 3 votes)
SOA 11g MDS, 9.6 out of 10 based on 5 ratings

Related posts

62 Comments
  1. Hi,

    When I tried the above I got error while deploying the composite

    12:27:12 PM] Error deploying archive sca_MDSProject_rev1.0.jar to partition “default” on server soa_server1 [KTALASIL-LAP.idc.oracle.com:8001]
    [12:27:12 PM] HTTP error code returned [500]
    [12:27:12 PM] Error message from server:
    Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/MDSSample_jws/MDSProject/MDSBPEL}mdsbpel_client_ep and port MDSBPEL_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
    [12:27:12 PM] Check server log for more details.
    [12:27:12 PM] Error deploying archive sca_MDSProject_rev1.0.jar to partition “default” on server soa_server1 [KTALASIL-LAP.idc.oracle.com:8001]
    [12:27:12 PM] #### Deployment incomplete. ####
    [12:27:12 PM] Error deploying archive file:/D:/Jdeveloper/mywork/MDSSample/MDSProject/deploy/sca_MDSProject_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Krishna

      Please ensure you’ve deployed XML artefacts to MDS if you are referring to MDS xsds, wsdls. Otherwise, please look at composite.xml’s tag and ensure interface and binding tags have valid values.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: +1 (from 1 vote)
  2. Hi,

    Your post is good. I tried this. Initially i dint find a folder ‘apps’ under jdeveloper/integration/seed. So i created a folder jdeveloper/integration/seed/sabari_apps. I hav my fault policy and fault binding file in it.

    Since u hav mentioned FileBasedMDS. I also created a connection in my resource palatte for the same FileBasedMDS. I can see my faultpolicy and faultbinding file in it.

    Now i hav three doubts .

    1. I have made the new entry for mstore-usage-2 in my Descriptors->ADF-META-INF. ->adf-config.xml. Do I require to deploy this to my server.Or wil the change to this file wil automatically be communicated to the server?

    2. I have deployed that jar file for MDS repository to my server. the deployment showed successful in the jdeveloper. But kindly tell me how to find its success from the server?

    3 While entering the property name for the faultpolicy and the faultbinding files in my composite.xml, I am confused in giving the path for the files.

    jdev.rc:oracle.jdeveloper.rescat2.ResourcePalette/SabariAppsFileBasedMDS/faulthandling/fault-policies.xml

    jdev.rc:oracle.jdeveloper.rescat2.ResourcePalette/SabariAppsFileBasedMDS/faulthandling/fault-bindings.xml

    U have suggested to give the path like ‘oramds:/apps/com/wordpress/orafmw/training/xsd/OrderProcessingEBM.xsd’
    what does this oramds represent?

    I have given my path like ‘jdev.rc:oracle.jdeveloper.rescat2.ResourcePalette/SabariAppsFileBasedMDS/faulthandling/fault-bindings.xml’ . bcz when browsing it from the FileBasedMDSconnection i hav created in the resource palatte.. this is the path i can see for my faultpolicy and faultbinding files.

    Kindly help me!!

    Thanks..
    Sabarisri. N

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Sabarisri

      Couldn’t reply earlier as I was tied up with work. In case you still haven’t found answers:

      oramds:/apps/com/wordpress/orafmw/training/xsd/OrderProcessingEBM.xsd

      oramds in the above statement indicates that the location is MDS on the server. It is the relative location on the server. The directory apps doesn’t exist by default. For design time use in JDeveloper, it should be created under /jdeveloper/integration/seed.

      Once you deploy jar file to the server, all XML artifacts from JDeveloper’s design time MDS will be deployed to the server. Subsequently, we can refer to the deployed XML artifacts using mds convention – oramds:/apps/.

      jdev.rc:oracle.jdeveloper.rescat2.ResourcePalette will not be valid once your SOA process is deployed to the server since it is still referring to the local machine remote to the server. Deployed SOA artifacts will be available from soa-infra partition of MDS. Please see this post for more details.

      VN:F [1.9.17_1161]
      Rating: 5.0/5 (1 vote cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
      • Sir,I have fault policy and fault bindings file to be stored in mds…so that at run time i can make use of it…
        I followed all your steps..

        1>created folder structure as–>C:\SOA_MIDDLEWARE1\jdeveloper\integration\seed\apps\com\wordpress\orafmw\training\FaultHandling..placed my files here.

        2>then went jdeveloper and created a dummy project under a soa application..in the application resourses descripters i made changes in namespace and usage…

        3>created generic app and project.in foolowed all d steps till the creation of soa bundle and deployed.it is getting deployed…

        QUESTIONS:-
        1-to which server it is getting deployed..as it is not asking me fr any server????
        2- how can i access from my soa project..
        3-what i need to do in composite XML so that i accesss this MDS???
        4-What is the need of creation of MDSConnection which the above guy has created..???
        5- what are descripters..are dey specific to any project..????

        VA:F [1.9.17_1161]
        Rating: 0.0/5 (0 votes cast)
        VA:F [1.9.17_1161]
        Rating: 0 (from 0 votes)
        • Aryashree,

          Here are answers to your questions.

          QUESTIONS:-
          1-to which server it is getting deployed..as it is not asking me fr any server????
          Once you hit on deploy, a series of standard deployment screens should be displayed allowing you to select target server.

          2- how can i access from my soa project..
          3-what i need to do in composite XML so that i accesss this MDS???

          You need to define MDS store details through adf-config.xml as explained in this article. During run-time, once the XML artifacts are available in MDS store, you can refer to them using “oramds:” protocol.

          4-What is the need of creation of MDSConnection which the above guy has created..???
          MDSConnection is a handle to your infrastructure server’s MDS repository. See http://www.orafmwschool.com/browsing-mds-repository-from-soa-server/ to understand how to create one and browse MDS repository.

          5- what are descripters..are dey specific to any project..????
          In the context of this example, descriptors are specific to a project. They contain declarative instructions that gets resolved in run time. For example, ”oramds:/apps/com/wordpress/orafmw/training/xsd/OrderProcessingEBM.xsd“ would fetch OrderProcessingEBM.xsd from MDS storage on server in run-time.

          Hope this answers your questions.

          VN:F [1.9.17_1161]
          Rating: 0.0/5 (0 votes cast)
          VN:F [1.9.17_1161]
          Rating: +1 (from 1 vote)
          • Thanks very much for your reply…i got it and now i hav completed the deployment..

            Now i have placed my fault policies and fault bindings file inside MDS in soa-infra partition..
            Incase,my policies chage how can i change it from der..OR how can i delete the policies folder so that i can add new updated fault policies..Because policies will keep on changing depending on the requirement…
            ????

            VA:F [1.9.17_1161]
            Rating: 0.0/5 (0 votes cast)
            VA:F [1.9.17_1161]
            Rating: 0 (from 0 votes)
  3. OR how can i EDIT my fault policies and bindings files from MDS-server?????

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Aryashree

      Since each MDS is a partition in Database, the best way to edit MDS artifacts is to redeploy the MDS library from JDeveloper and it will overwrite the components on server. However, in production instances, you may want to version control various XML artifacts and may want to maintain different folder structures. Unless you are overwriting XML in the same folder structure, there will be an impact on rest of SOA components are MDS import statements would change. So, version controlling needs to be carefully balanced with the change required to your SOA deployments.

      You can also use ANT scripts to deploy/undeploy MDS artifacts. See following article for details:
      http://www.orafmwschool.com/ant-scripts-for-database-based-mds/

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
      • Hello Amjad,
        Thanks very much for your reply..But each time my policies change..again making a project and redeploying sounds tedious…is there no other way out..I mean cant we edit the policy.xml file from em console.Please let me know..

        VA:F [1.9.17_1161]
        Rating: 0.0/5 (0 votes cast)
        VA:F [1.9.17_1161]
        Rating: 0 (from 0 votes)
        • Aryashree

          Since we are using database based mds, all XML files are stored in database. However, you can also base MDS on file system as explained here.
          http://download.oracle.com/docs/cd/E12839_01/core.1111/e10105/repos.htm#CIHDJFIA

          This approach is not recommended in production environments for obvious reasons. As for the frequency of change, you can always have customized ant-scripts to avoid multi-step deployment process used in JDeveloper. As a best practice, you should avoid frequent changes to policies in production by carefully thinking through all possible fault scenarios in the first place.

          Hope that helps.

          VN:F [1.9.17_1161]
          Rating: 0.0/5 (0 votes cast)
          VN:F [1.9.17_1161]
          Rating: 0 (from 0 votes)
  4. Hello Amzad,
    See i have now created a file based MDS-from em console.by following dese steps..
    1-given file name a mds_policies
    2.directory path as C:SOA_MIDDLEWARE1jdeveloperintegrationseedappscomwordpressorafmwtrainingFaultHandling…
    3.Now how can my project deployed from Jdeveloper can access it..what code i need to write in composite .xml.Will this work??in the property tags can i give the path as—->
    mds_mds_policies/fault_policies.xml

    mds_mds_policies/fault-bindings.xml

    4.IF yes,den how to further edit the files..
    5-if no,den how to proceed further??Please reply.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  5. Hello Amzad,
    I had a faultpolicy file which i had deployed to MDS.Now i made changes to the policies,added some more conditions and redeployed…though by setting a connection to the server i can see those changes but server or our projcet is not catching dose changes..Any suggestions??????
    Changes are caught by the server only wen it is restarted.But it is not a suitable practise …please suggest a suitable method.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • How do you know server is not catching the changes? I just deployed modified XSD files to the server and could see updated payload document. JDeveloper excel mapping tool something wouldn’t pickup latest files from MDS. So, in such cases creating new mapping file would fix the issue. However, I didn’t face any such issues. Give me exact steps to replicate this issue.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  6. Hello Amzad,
    Actually I added two more conditions in my fault policies and deployed it to the server.Now,server should catch this..but it dint as such and my service got faulted..after the server was restarted it reflected the changes and faulty policies were working…before server restart the service was getting faulted.hence,we concluded that new codes in fault policies are not caught by server.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  7. Helloo Amzad,
    Actually I added two more conditions in my fault policies and deployed it to the server.Now,server should catch this..but it dint as such and my service got faulted..after the server was restarted it reflected the changes and faulty policies were working…before server restart the service was getting faulted.hence,we concluded that new codes in fault policies are not caught by server.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Did you have to restart the server or just the composite?

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  8. Hello Amzad,
    Am describing u the steps in details:
    1-I had a fault policies file in MDS already deployed by me which had actions for 3 fault types OSB00X,OSB00Y,OSb00Z.
    2-Now i added three more actions for fault types OSB00M,OSB00N,OSB00P…
    3-I edited the already deployed file in my local JDEVELOPER and deployed it making a connection to the server.
    4-NOW,Making a SOAMDS connection and viewing the files is showing me the updated file.BUT the PROBLEM is even after adding actions for the fault codes my services got faulted..
    5-NOW restarting the server is making my job and service is not getting faulted
    6-IS RESTARTing the SERVER THE ONLY OPTION..ELSE What CAN BE THE ALTERNATIVE.????

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  9. Hello Amzad,
    Waiting for your reply on the above issue…

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Which version of JDeveloper & SOA Suite are you using? I could replicate it using 11.1.1.3. Just trying to make sure it is not version limitation before looking for work-arounds.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
      • Hey amzad,
        I tried doin it using 11.1.1.3 which is not happening…can it happen if i use the above version that 11.1.1.4.???

        VA:F [1.9.17_1161]
        Rating: 0.0/5 (0 votes cast)
        VA:F [1.9.17_1161]
        Rating: 0 (from 0 votes)
        • You could be running into version specific issue. Please run this through Oracle Support so that you can get patches, if any.

          VN:F [1.9.17_1161]
          Rating: 0.0/5 (0 votes cast)
          VN:F [1.9.17_1161]
          Rating: 0 (from 0 votes)
  10. Hi, I have followed the steps you mentioned to configure the mds onto jdeveloper. now when i try to build the project, it throws error : error loading wsdl- wsdlname- with message part abc failed. All the other wsdls defined in the bpel are loaded except for those which are of exposed webservices.These webservices are on remote machine. Please guide.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  11. Hello People;

    It was great to visit this web site relating to OFM. I am an apps technical consultant for 10 years wanting to upgrade/learn OFM. I would be humbled if you can guide me where and how to start.
    Just to give an idea of me, I am a beginner on BPEL, OAF.

    Many Thanks!

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Thanks for the good words Prashanth. Our lessons are tailored to provide a structured learning path for beginners. So far, we have covered most of the areas of SOA Suite: BPEL, Mediator, Human Workflow, Oracle Service Bus, BAM etc., Each section has an introduction to the product followed by simple tutorials/examples. We’ll be happy to assist you if you are stuck up with any of the information posted on the blog.

      Alternatively, we also offer personal training that can help you jump start with SOA Suite development in short time. Please contact us if you are interested in this option.

      Amjad.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  12. Thanks for the Response!
    I have requested for training schedules, and hoping to get needed info.
    Meanwhile I’m trying to install Oracle SOA Suite 11g to get a feel of OFM.

    And also thanks for providing such a good blog for SOA aspirants.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Glad that you liked the blog. We’ve just replied to your mail.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  13. Hi,
    Thanks for the article, it is really helpful. Have a question… I have a project I am able to deploy through JDeveloper, but I like to find a way to deploy it on the server directly, by either creating zip or jar file from JDeveloper.

    I tried to deply to bundle in JDeveloper, but when I go to EM, try to deploy it, I get an error “Failed to retrieve the composite details from the archive. Invalid SOA archive file.”. Appreciate your help. Also helps if you can explain how to deploy it using ant scripts.

    Please also email me your training details.

    Thanks

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Babu

      You need to first create deployable JAR file by selecting “Deploy to SAR” option in JDeveloper’s Deployment menu. It will generate a .JAR file that looks like -
      [11:51:15 PM] Wrote Archive Module to D:\PROGRAMS\JDEV_PROJECTS\Training\Helloworld\deploy\sca_HelloworldBPEL_rev1.0.jar

      You can then deploy sca_HelloworldBPEL_rev1.0.jar through Enterprise Manager. Alternatively, you can use ant-sca-compile.xml available under SOA_HOME/bin directory to compile and deploy SOA composites.

      Usage :
      ant -f ant-sca-package.xml -DcompositeName=Helloworld -DcompositeDir=%PROJ_DIR% -Drevision=1.0

      More details on training are available from here.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
      • Hi Amjad,
        The above process is working for the composites I deploy to the applicaiton server, but not the ones that need to be deployed to MDS.

        IN JDeveloper I navigate to Application –> Deploy. I see two options Deploy to Application Server and Deploy to SOA Bundle. I choose deploy to “SOA Bundle”, and I get a message
        [09:12:28 AM] Wrote Archive Module to C:\GMT\soa\SOASharedApp\SOASharedApp\SharedAppProject\deploy\SharedApp_JAR.jar
        [09:12:28 AM] Wrote Archive Module to C:\GMT\soa\SOASharedApp\SOASharedApp\deploy\SharedApp_bundle.zip

        I then try to deploy from the EM (tried both jar and zip), it says Failed to retrieve the composite details from the archive. Invalid SOA archive file.

        Thanks

        VA:F [1.9.17_1161]
        Rating: 0.0/5 (0 votes cast)
        VA:F [1.9.17_1161]
        Rating: 0 (from 0 votes)
        • Same here, MDS deployment works inside Jdeveloper, but if i take the zip file from the MDSapp/deploy catalog – i recieve Invalid SOA archive file.

          VA:F [1.9.17_1161]
          Rating: 0.0/5 (0 votes cast)
          VA:F [1.9.17_1161]
          Rating: 0 (from 0 votes)
  14. Hi,

    I have created a DB-based MDS and i have wdls and xsd in the /apps/folder.. I wanted to refer the wsdl from the DB-Based MDS repository that means i want to have a partner link in jdeveloper which i need to import the wsdl from the repository.while creating a partner link when i try to access that wsdl it is giving me the error:

    Exception: oracle.mds.exception.MDSException: MDS-02501: cannot load the ORAMDS URL “oramds:/apps/folder/AIAComponents/EnterpriseObjectLibrary/EBO/SupplierParty/V1/SupplierParty.wsdl” because MDS session could not be created or resolved
    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_2″ is invalid.
    MDS-00918: Connection details for the MDS repository are incomplete. The values for “userName, password, jdbcURL” are invalid

    Is there something i am missing?

    Please let me know, Thanks!

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Looks like MDS connection parameters are invalid. Please use below information to browse MDS repository and make sure connection works.
      http://www.orafmwschool.com/browsing-mds-repository-from-soa-server/

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
      • I checked the connection it is working fine as i see all my xsd and wsdl in the SOA MDS connection. But still when i create a partner link in External References in the composite and try to refer the wsdl from the connection it is giving me the above mentioned error. On the other hand the when i create a partner link in the exposed services the wsdl as a service provider it is working fine, it is giving me all the operations in the service.

        My question is can i use the wsdl from the MDS connection as the External References as the reference type wsdl not as a service type wsdl.Please let me know

        VA:F [1.9.17_1161]
        Rating: 0.0/5 (0 votes cast)
        VA:F [1.9.17_1161]
        Rating: 0 (from 0 votes)
      • I checked the connection it is working fine as i see all my xsd and wsdl in the SOA MDS connection. But still when i create a partner link in External References in the composite and try to refer the wsdl from the connection it is giving me the above mentioned error.

        My question is can i use the wsdl from the MDS connection as the External References as the reference type wsdl not as a service type wsdl.Please let me know

        VA:F [1.9.17_1161]
        Rating: 0.0/5 (0 votes cast)
        VA:F [1.9.17_1161]
        Rating: 0 (from 0 votes)
        • Purna, not sure if you were able to resolve this issue. You can refer to WSDL files from MDS. That is how entire Fusion Demo application is created by Oracle. AIA Foundation Pack also uses the same concept. Please check your soa diagnostics log file for any relevant error messages.

          VN:F [1.9.17_1161]
          Rating: 0.0/5 (0 votes cast)
          VN:F [1.9.17_1161]
          Rating: 0 (from 0 votes)
  15. Hello Amzad,
    After i completed implementing DVM lookups after deploying to MDS and giving the link in composite.XML.
    Now,i want to do the same in OSB.Meaning,i will deploy all my DVms to MDS and access it through OSB.How to go..Can u give some Idea.???

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: +1 (from 1 vote)
  16. Hey Amzad,
    waiting for yor reply…How to access deployed DVM lookups in MDS from OSB ecclipse…is it feasible??

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Aryashree, there is currently no built-in support for DVMs in OSB. I believe 11gR2 will have this feature. Until then, you’ll have to figure out an alternative. I am sure you have already googled for alternative solutions.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  17. Hi ,

    I need to subscribe events from edl and publish events to JMS topic and i need to apply some business rules by using business rules enegine , how to plugin the business rules enegine, please let me know asap,any any suggestion is really apreciated

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  18. Nice articles and efforts. Keep it up.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  19. HI ,Can you please help me by providing details of how to set up database based MDS.As we are starting a new project so we need to set up a MDS repository.

    Please help me out how to set up and then how to use the MDS based repository for my Project.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Chiranjib, I am not sure I understood your question. The article on SOA 11g MDS explains how to copy your artifacts to the MDS partition on the server. I presume you have already read and understood these details. Are you looking for creating new partitions?

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  20. Hi,

    Thanks for posting this blog, it was very much useful!!

    I want to know how we could delete the xsd’s and wsdls in mds from the server without using ant scripts.

    Can you tell the server location where these mds repositories are present?

    Thanks

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  21. Hi,

    As you have mentioned I have created FileBasedMDS and created soabundle.zip and tried to deploy the same at EM console but its failing.

    given following error:
    “Failed to retrieve the composite details from the archive. Invalid SOA archive file.”

    What is that I missed.

    Please do help
    thanks in Advance
    Ramakrishna

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Ramakrishna
      You can deploy it only through JDeveloper.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  22. Thanks for this post.

    I am new Oracle Fusion and i have created MDS based on File system.

    The SOA – MDS connection is fine in jdeveloper and i am able to see all XSD’s placed in ../apps/xsd folder in the Resource Palette MDS Connection.

    STEPS followed to access xsd as a bpel process input

    1. Drag BPEL component on composite
    2. Click on Browse input
    3. Click on Import schema on Type Chooser dialogue box
    4. Click on Browse Resources
    5. Selected Resource Pallete on SOA Resource Browser
    6. Select the XSD from MDS Connection.

    But when i am trying to access the XSD’s it is giving me following error

    Exception : Unable to parse schema ReadXML.xsd.

    Please help me fix this and is there any other way to access or refer to xsd’s in Jdeveloper from file System.

    Thanks

    Sachin

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Sachin, are you able to see ReadXML.xsd through a text editor? I presume you’ve put this file under JDeveloper’s apps/xsd folder.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  23. hi Amjad,

    awesome post. i really liked it

    i have a question… we created the jar file and insert the the xsd in the mds

    may i know how can we delete particular.. xsd or wsdl from the mds.. if that is not required.

    thanks in advance.

    sailesh.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  24. Hi,

    Its a good post. I am implementing this for the first time. We have have two bpel processes (A and B). B is invoked form A and its a direct binding method. I was able to import WSDL A and B to MDS, but I when I am trying to access the WSDL B in process A, its asking me to choose binding.direct address. Can I use the oramds path here?

    Thanks
    Ramu.

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Ramu, you should be able to use MDS as long as the MDS store is defined in configuration files. Please update this thread if you encounter any errors with error details.

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  25. Hi,

    I have the same issue as Sachin. When I try to import the xsd file for input parameter I am getting the below error. Can you please help me fix the issue

    Exception : Unable to parse schema empSchema.xsd

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Girish,

      Make sure that you have put the file under correct folder to start with. If you have, just make sure that if the empSchema.xsd is referencing other XSD’s, those XSD’s are also reachable by JDeveloper. Have you validated your XSD?

      VN:F [1.9.17_1161]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  26. Hi,

    I am facing a very weird issue and am struggling to find the solution. I have several Partitions created inside EM. One of the partition i.e. Shared have Processes that refers to MDS for schemas, wsdls. Inside EM Console when I click on any of the process that refers MDS and then click Test btton–>Parse WSDL I am getting the below error:

    The WSDL document could not be parsed
    The following error occured while parsing the WSDL location -
    WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL

    If I copy and paste the wsdl url inside a browser get the below error:

    Error 404–Not Found

    Now if I go and check any other Process deployed in other Partitions that does not refer to MDS all works fine.

    My MDS connections are fine can browse through with no problems through JDeveloper and also do see all the referring wsdls,xsd artificats. But some how am not able to access the wsdl in EM nor in a browser. I don’t see any errors in log files either.

    I even tried deploying the Processes that refer MDS in other Partitions but still the same issue. If I deploy a sample Process inside the Partition where all the Processes refers MDS this process also doesn’t work even though I am not referring to MDS but if I deploy the same Process in other Partition if works fine. Have no clue whats going on. Partition plus MDS referring not working. Have spent so much time with no luck so wondering if anyone can give some leads to this. I don’t want to re-install everything as it’s our UAT environment.

    So facing 2 issues why anything deployed in that particular partition doesn’t work and second why any process that reference MDS for any objects doesn’t work regardless of which Partition it gets deployed.

    I have deleted, re-imported MDS artificats, deleted created the Partiton several times undeploy deploy processes, started server several time but no luck.

    Any help is appreciated.

    Thanks

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
Leave a Reply