In this post we will see how to remove unused files from oracle soa suite MDS repository.
For removing the files you need to connect to your server using wlst scripts.
we have to use the deleteMetaData function of wlst to remove the files.
Follow the below steps to remove the files from repository.
Login to your unix box and navigate to the below path.
$FMW_HOME/ORACLE_SOA1/common/bin/wlst.sh
[testuser@soaserver]$ cd /u01/oracle/SOAInstall/soa/common/bin
[testuser@soaserver]$ ./wlst.sh
[testuser@soaserver]$ ./wlst.sh
wls:/fmw_domain/serverConfig>connect(‘username,’pwd’, ‘hostname:7001’)
wls:/fmw_domain/serverConfig>deleteMetadata(application=’soa-infra’,server=’soa_server1′,docs=’/apps/wsdl/oracle/customer/*’)
Executing operation: deleteMetadata.
Operation “deleteMetadata” completed. Summary of “deleteMetadata” operation is:
List of documents successfully deleted:
/apps/wsdl/oracle/customer/custfile.wsdl
1 documents successfully deleted.
It is very help full for studens and developers
ReplyDeleteThanks for good info Oracle SOA Online Training
Oracle SOA Online Training Bangalore
Oracle SOA Online Course Hyderabad
Thanks...!
ReplyDelete