Removing unused files from Oracle SOA Suite MDS repository

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

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s