But sometimes, we want to have some other webservices based on an existing content server service that service may be created by you. Next I will show you how to create a webservice that can create a virtual folder, the new webserice name will be CreateFolder, where that webservice will be based on COLLECTION_ADD -content server service.
Note all WSDL files are saved under the following path
1- Login as sysadmin user
6- Inside Wsdl Information Page, from Actions menu choose Add Service
7- Next add the Webservice Name, which will be CreateFolder, and IdcService Name which will be Collection_ADD
9- Click on Edit for the webservice CreateFolder, you will be directed to the Service Information Page
Note: The request (input) parameters for COLLECTION_ADD IdcService are divided to three parts, the first part is related to folder information (first five parameters), the second part is the default metadata fields for the folder where any content added to the folder will inherent the metadata values, we can add them one by one or we can use another predefined type (d:CommonDocMetaFields) that holds all of them, and the third part is the custom metadatafields, also we have a predefined type (propertylist:CustomDocMeta) that will define them to be taken dynamically with specific names (you can add them one by one but in that case they will be static so if you deleted any custom metadata field you need to remove it manually from the Wsdl file)
14- Now you are in Wsdl List Page, from Actions menu, choose Generate Wsdls
Next after creating the webservice, we need to test it, we can do this using a Webservice testing tool, I am using SoapUI.