Log in
Model

XmlValidator

Magento\Dhl\Model\Validator\XmlValidator

What it does

This validator class ensures XML responses from DHL's shipping web service are secure and error-free.

Developers use it when processing DHL API responses for rate quotes and shipping labels to validate the XML structure, check for security vulnerabilities, and detect error conditions in the response before proceeding with shipment operations.

Public Methods

  • validate()