code: public void processWSDLXML(String strWSDL)
      {
          GetWSDLBase getWSDLBase = null;
          boolean bVersion20 = true;
          if (strWSDL.lastIndexOf("definitions>") >= strWSDL.length() - 20)
              bVersion20 = false; // wsdl1.1
          if (bVersion20)
              getWSDLBase = new GetWSDL20(this, null, null);
          else
              getWSDLBase = new GetWSDL11(this, null, null);
          getWSDLBase.processWSDLXML(strWSDL);
      }
docs: ProcessWSDLXML Method.