dhl-business-shipping icon indicating copy to clipboard operation
dhl-business-shipping copied to clipboard

Custom WSDL to fix known bugs

Open iMusicJJ opened this issue 1 year ago • 4 comments

Hi,

We've been implementing DHL Paket through this package, and found a few bugs in DHLs WSDL file.

However, DHL has two errors in the WSDL (which they have confirmed), but tells us that they no longer maintain the SOAP API. (Albeit they still suggest us to use it, as it's more stable than the REST-API 🤦 ).

Would you be interested in a PR, that offers the ability to use another set of WSDLs (via a config), that have this custom patch applied?

Specifically the bugs are:

  1. Sending to Hong Kong. As Hong Kong does not have zipcodes. DHLs underlying system needs the zipcode field to be omitted, but it is mandatory in the WSDL.
image
  1. PostNumber in both Postfiliale and Packstation. These optionally take an email, if no PostNumber is supplied, however the WSDL limits the length to 10 characters. image
image

iMusicJJ avatar Apr 29 '23 12:04 iMusicJJ