Snippets

Mythics WebCenter Content - SOAP - Delete content item

Created by Jonathan Hult

File delete_content_item.xml Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
+    <soapenv:Header>
+        <ns1:Security>
+            <ns1:UsernameToken>
+                <ns1:Username>USERNAME GOES HERE</ns1:Username>
+                <ns1:Password>PASSWORD GOES HERE</ns1:Password>
+            </ns1:UsernameToken>
+        </ns1:Security>
+    </soapenv:Header>
+    <soapenv:Body>
+        <ucm:GenericRequest webKey="cs">
+            <ucm:Service IdcService="DELETE_DOC">
+                <ucm:Document>
+                    <ucm:Field name="dID">dID OF CONTENT ITEM GOES HERE</ucm:Field>
+                    <ucm:Field name="dDocName">dDocName (CONTENT_ID) OF CONTENT ITEM GOES HERE</ucm:Field>
+                </ucm:Document>
+            </ucm:Service>
+        </ucm:GenericRequest>
+    </soapenv:Body>
+</soapenv:Envelope>
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.