Exactly to my point. I think. Let me clarify what I understand your question to be and my answer.
Question: Why you can't use "localhost" to load the WSDL?
Answer: Because when you specify "localhost" you are pointing to gateway's local loopback, and there is no wsdl on the gateway, nor a listener port for the number specified. It doesn't matter that you have it all installed on the same system, you installed the gateway as a virtual machine that is its own entity and is logically (and in network terms) independent of the rest of your workstation. Doesn't matter they are on the same physical system. Your access to policy manager illustrates this. I suspect if you find the ip address of ssg.l7tech.com it will be different from the ip address of your workstation (or wherever you have this installed).
Maybe I don't understand your question, but if I do hopefully this helps. Otherwise, I'd need a lot more information about what you're doing.