Is it really a wrong case when both magentoUrl and wsdlUrl start with a '/' ?
In that case you should explain why in the docblock as usage of xor is quite rare.