Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to remove folder structure in MDS

918216May 16 2012 — edited Jul 25 2013
Hi,

I want to remove folders including files from MDS. This is my folder structure in MDS:

1 apps
1.1 com
1.1.1 wsdl
1.1.1.1 ...
1.2 xsd
1.2.1 ...
2 deployed-composites
3 soa

"apps", "deployed-composites" and "soa" are there to begin with. "com" and "xsd" are folders that were created when I deployed my mds-jar. I now want to remove "com" and "xsd" including all of their contents.

I have found two wlst commands:

- deleteMetadata: "Deletes the selected documents from the application repository". This seems to mean that it can only delete files, not folders. At least, that's all I can do when executing the command.

- sca_removeSharedData: "Removes a top-level shared data folder". But what is a "top-level shared data folder"?? I've tried to write:
sca_removeSharedData('http://k75830:21840','xsd','weblogic','weblogic11g')

But I get the error:
SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
---->Response code=404, error:null

Is "xsd" not a top-level folder or is there some other error?

In this blog post they suggest that I should be able to remove a folder under /apps:
http://victor-jan.blogspot.se/2012_03_25_archive.html

But here they seem to be removing the entire /apps folder:
http://yatanveersingh.blogspot.se/2011/07/mds-implementation-in-oracle-soa-11g.html

Since /apps seems to be an important folder where all mds deployed files end up I'm not too keen on removing it. Does anyone know how to remove folders in MDS or is this not possible??

I'm using SOA Suite 11.1.1.5.

Thanks in advance!
Kerstin
This post has been answered by Neeraj Sehgal on May 22 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2013
Added on May 16 2012
10 comments
5,115 views