Looking at the discussions here: https://github.com/DigDes/SoapCore/issues/903 it seems as what I want is currently explicitly not possible. The only other thing I can think of doing is to simply craft the WSDL myself and add it manually like this: https://github.com/DigDes/SoapCore#using-with-external-wsdl--xsd-schemas