Friday 28 June 2013

How to Remove Contents from MDS Repository



How to Remove Contents from MDS Repository

There are two Approaches you can remove contents from MDS.
Approach 1: Offline mode
Approach 2: Online mode

Steps for Approach 1: Offline mode
Step1 : Run wlst.cmd from the following location
            Oracle_Home\Oracle_SOA1\common\bin
Step 2: At wlst command prompt (wls:/offline>) execute the following

sca_removeSharedData('http://yourhost:yourport', 'directory', 'adminuser', 'adminpassword')
sca_removeSharedData('http://localhost:8001', 'common_Artifacts', 'weblogic', 'welcome1')
Here Common_Artifacts is MDS folder which I have taken as example.


Steps for Approach 2: Online mode

Step1 : Run wlst.cmd from the following location
            Oracle_Home\Oracle_SOA1\common\bin
Step 2: Connect to SOA server
At wlst command prompt (wls:/offline>) execute the following
connect('adminuser', 'adminpassword', 't3://hostname:port')

ex:
connect('weblogic', 'weblogic1', 't3://localhost:8001')

Step 2: Remove Content from MDS

deleteMetadata(application='soa-infra',server='soa_server1',docs='/apps/common_Artifacts')

Friday 21 June 2013

Server status in SOA 10g


Create New Partition in SOA 11g



1                           Login to em console.
                              Select soa-infra(Admin Server) under Farm_soadev à SOA.





                  Select Managed Partitions from SOA Infrastructure.



  Click on create Icon 





        Provide the new domain name and click on create button

 
   BPEL domain is created with specified name.