code: public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
          if (portName == null) {
              return getPort(serviceEndpointInterface);
          }
          java.lang.String inputPortName = portName.getLocalPart();
          if ("NetworkServiceInterfacePort".equals(inputPortName)) {
              return getNetworkServiceInterfacePort();
          }
          else  {
              java.rmi.Remote _stub = getPort(serviceEndpointInterface);
              ((org.apache.axis.client.Stub) _stub).setPortName(portName);
              return _stub;
          }
      }
docs: For the given interface, get the stub implementation.
  If this service has no port for the given interface,
  then ServiceException is thrown.