Manage Web Service Sample Payloads
This example demonstrates how to add and edit a sample payload XML for a web service operation. It also describes how to delete a user-defined sample payload XML.
Adding a Sample Payload XML
Follow these steps to add
a sample payload XML for the getEntityList operation of Help Topic Abstract Service:
- 
               From the Navigator menu, select . 
- 
               On the Web Service overview page, search for Help Topic AbstractService, and click the service display name.
- 
               On the Summary page, click the Sample Payloads tab, and then click Add Sample Payload. 
- 
               Select getEntityListoperation from the list, and enter a brief description.
- 
               Enter the payload XML, and click OK. 
Editing a Sample Payload XML
The Developer Connect portal
displays predefined and user-defined payloads of the web services.
You can edit only the user-defined payloads. Follow these steps to
edit a user-defined sample payload of the getEntityList operation of Help Topic Abstract Service:
- 
               On the Web Service overview page, select Help Topic AbstractService.
- 
               On the Summary page of the web service, click the Sample Payloads tab and select getEntityListoperation.
- 
               In the Edit Sample Payload dialog box, edit the payload XML and click OK. 
Deleting a Sample Payload XML
You can delete only user-defined
payloads, and not predefined payloads. Follow these steps to delete
a user-defined sample payload of the getEntityList operation of Help Topic Abstract Service:
- 
               On the Web Service overview page, select Help Topic AbstractService.
- 
               On the Summary page of the web service, click the Sample Payloads tab and select getEntityListoperation.
- 
               Click the delete icon for the selected operation and click OK.