--- title: "Develop custom response or request handler class" slug: "develop-custom-response-or-request-handler-class-web-service-validation" tags: ["Task topic"] updated: 2026-03-20T08:46:45Z published: 2026-03-20T17:44:40Z canonical: "docs.staedean.com/develop-custom-response-or-request-handler-class-web-service-validation" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Develop custom response or request handler class For a web service, you can use a custom class to define the: - Request that you send to the web service. You can, for example, use a custom class to add some binary code or other logic to the web service request. Use the **PostData** method to define web service requests. - Response that you expect from the web service. You can, for example, use a custom class to add some binary code or other logic to the web service response. Use the **parseResponse** method to define web service response. The custom class must extend the **DQSWebServiceCustomFormatBase** base class. ## Related - [Set up web service configuration](/set-up-web-service-configuration-enrichment.md)