This behavior is harder to implement then I thought it would be.
Looking at the code, it seems like service wsdl is used on core.py#L127. This in turn is used for core_1_1.py#L704.
Currently, I would be able to get URLPATH from the .cfg file, but I cannot get the actual address for the server (the root url). If anyone has any suggestions please let me know. Thanks.