Using Content Management Public Web Services Schemas
This section presents examples of SOAP requests (this does not represent a complete reference to all available web services):
Add content to Content Management with a Save SOAP request.
Get content in Content Management with a Get SOAP request.
Get content in Content Management with a Find SOAP request.
Following is an example of a Save SOAP request to add content:
<?xml version="1.0"
encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP ENV="http://schemas.xmlsoap.org/soap/envelope"
xmlns:SOAP ENC="HTTP://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header> <Security_Request> <Username>VP1</Username>
<Password>VP1</Password> </Security_Request> </SOAP-ENV:Header>
<SOAP-ENV:Body> <Update_CompIntfc_EPPCM_ADDCONTENT> <OPRID>VP1</OPRID>
<PORTAL_NAME>EMPLOYEE</PORTAL_NAME> <EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE>
<EPPCM_CATGID>1001</EPPCM_CATGID> <EPPCM_CONT_TYPE>U</EPPCM_CONT_TYPE>
<EPPCM_TITLE>Test Sendmaster Content</EPPCM_TITLE> <EPPCM_CONT_LONG>http://www.yahoo.com</EPPCM_CONT_LONG>
</Update_CompIntfc_EPPCM_ADDCONTENT> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
The response from PeopleSoft, which uses a cloned SOAPTOCI message, is:
<?xml version="1.0"
encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header /> <SOAP-ENV:Body> <Updatedata_CompIntf_EPPCM_ADDCONTENTResponse
xmlns= "http://psfttemp.org"> <notification>The Content
saved successfully. New Content ID = 2261.(18025,1738) </notification>
<detail /> </Updatedata_CompIntfc_EPPCM_ADDCONTENTResponse>
</SOAP-ENV:Body> <SOAP-ENV:Envelope>
Following is an example of a Get SOAP request to get content:
<?xml version="1.0"
encoding="UTF-8" ?> <SOAP-ENV:Envelope SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP- ENC:="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
ENV:="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header>
<Security_Request> <Username>PS</Username> <Password>PS</Password>
</Security_Request> </SOAP-ENV:Header> <SOAP-ENV:Body>
<Get_CompIntfc_EPPCM_GETCONTENT> <OPRID>VP1</OPRID>
<PORTAL_NAME>EMPLOYEE</PORTAL_NAME> <EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE>
<EPPCM_CATGID>1001</EPPCM_CATGID> <EPPCM_CONTENTID>2004</EPPCM_CONTENTID>
</Get_CompIntfc_EPPCM_GETCONTENT> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
The response from PeopleSoft is:
<?xml version="1.0"
encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header /> <SOAP-ENV:Body> <Get_CompIntfc_EPPCM_GETCONTENTResponse
xmlns:="http://psfttemp.org"> <OPRID>VP1</OPRID> <PORTAL_NAME>EMPLOYEE</PORTAL_NAME>
<EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE> <EPPCM_CATGID>1001</EPPCM_CATGID>
<EPPCM_CONTENID>2004</EPPCM_CONTENTID> <EPPCM_TITLE>Test
Web Service CI HTML</EPPCM_TITLE> <EPPCM_CONT_TYPE>H</EPPCM_CONT_TYPE>
<EPPCM_CONT_LONG /> </Get_CompIntfc_EPPCM_GETCONTENTResponse>
</SOAP-ENV:Body> </SOAP-ENV:Envelope>
Following is an example of a Find SOAP request to get content:
<?xml version="1.0"
encoding="UTF-8" ?> SOAP-ENV:Envelope SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP- ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header>
<Security_Request> <Username>PS</Username> <Password>PS</Password>
</Security_Request> </SOAP-ENV:Header> <SOAP-ENV:Body>
<Find_CompIntfc_EPPCM_GETCONTENT> <OPRID>VP1</OPRID>
<PORTAL_NAME>EMPLOYEE</PORTAL_NAME> <EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE>
<EPPCM_CATGID>1001</EPPCM_CATGID> </Find_CompIntfc_EPPCM_GETCONTENT>
</SOAP-ENV:Body> </SOAP-ENV:Envelope>
Following is the response from PeopleSoft:
<?xml version="1.0"
encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding">
<SOAP-ENV:Header /> <SOAP-ENV:Body> <Find_CompIntfc_EPPCM_GETCONTENTResponse
xmlsn="http://psfttemp.org"> <EPPCM_GETCONTENT> <OPRID>VP1</OPRID>
<PORTAL_NAME>EMPLOYEE</PORTAL_NAME> <EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE>
<EPPCM_CATGID>1001</EPPCM_CATGID> <EPPCM_CONTENTID>2001</EPPCM_CONTENTID>
<EPPCM_TITLE>Michele<EPPCM_TITLE> </EPPCM_GETCONTENT>
<EPPCM_GETCONTENT> <OPRID>VP1</OPRID> <PORTAL_NAME>EMPLOYEE</PORTAL_NAME>
<EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE> <EPPCM_CATGID>1001</EPPCM_CATGID>
<EPPCM_CONTENTID>2004</EPPCM_CONTENTID> <EPPCM_TITLE>Test
Web Service CI HTML</EPPCM_TITLE> </EPPCM_GETCONTENT> <EPPCM_GETCONTENT>
<OPRID>VP1</OPRID) <PORTAL_NAME>EMPLOYEE</PORTAL_NAME>
<EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE> <EPPCM_CATGID>1001</EPPCM_CATGID>
<EPPCM_CONTENTID>2020</EPPCM_CONTENTID> <EPPCM_TITLE>Test
Web Service CI</EPPCM_TITLE> </EPPCM_GETCONTENT> <EPPCM_GETCONTENT>
<OPRID>VP1</OPRID) <PORTAL_NAME>EMPLOYEE</PORTAL_NAME>
<EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE> <EPPCM_CATGID>1001</EPPCM_CATGID>
<EPPCM_CONTENTID>2023</EPPCM_CONTENTID> <EPPCM_TITLE>Test
URL</EPPCM_TITLE> </EPPCM_GETCONTENT> <EPPCM_GETCONTENT>
<OPRID>VP1</OPRID) <PORTAL_NAME>EMPLOYEE</PORTAL_NAME>
<EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE> <EPPCM_CATGID>1001</EPPCM_CATGID>
<EPPCM_CONTENTID>2024</EPPCM_CONTENTID> <EPPCM_TITLE>Test
URL from View</EPPCM_TITLE> </EPPCM_GETCONTENT> <EPPCM_GETCONTENT>
<OPRID>VP1</OPRID) <PORTAL_NAME>EMPLOYEE</PORTAL_NAME>
<EPPCM_CATG_TYPE>R</EPPCM_CATG_TYPE> <EPPCM_CATGID>1001</EPPCM_CATGID>
<EPPCM_CONTENTID>2025</EPPCM_CONTENTID> <EPPCM_TITLE>Test
URL Derived Record</EPPCM_TITLE> </EPPCM_GETCONTENT> </Find_CompIntfc_EPPCM_GETCONTENTRespone>
</SOAP-ENV:Body> </SOAP-ENV:Envelope>