code: public FedoraAPIM getAPIM() throws ServiceException, IOException {
          if (m_apim == null) m_apim = getSOAPStub(FedoraAPIM.class);
          return m_apim;
      }
docs: Get a new SOAP stub for API-M. If the baseURL for this
  <code>FedoraClient</code> specifies "http", regular HTTP communication
  will be attempted first. If the server redirects this client to use HTTPS
  instead, the redirect will be followed and SSL will be used
  automatically.