The “auth” document is used to pass login credentials to the soap server hosting the service you are attempting to invoke.
For basic authentication, set “type” to “Basic” and fill in your username and password in the “user” and “pass” parameters.
“_port” is used to direct your request to a particular soap port type as specified in the WSDL describing the service you are invoking. Some WSDL’s use different endpoint addresses (URLs) for different port types.
I generally delete the branch for “_port” and retrieve the endpoint address from a properties file rather than take it from the WSDL at design time. That makes finding and changing the endpoint URL easier.
Better yet, register multiple instances of the service you need to invoke in ServiceNet (aka Fabric) and let it redirect you seemlessly to another valid provider when one goes offline.