protected Definition parseWSDLDefinition() throws WSDLException {
  WSDLFactory wsdlFactory=WSDLFactory.newInstance();
  WSDLReader reader=wsdlFactory.newWSDLReader();
  reader.setFeature("javax.wsdl.verbose",false);
  reader.setFeature("javax.wsdl.importDocuments",true);
  Definition definition=reader.readWSDL(this.wsdlLocation);
  return definition;
}

protected Definition parseWSDLDefinition ( ) throws WSDLException { WSDLFactory wsdlFactory = WSDLFactory . newInstance ( ) ; WSDLReader reader = wsdlFactory . newWSDLReader ( ) ; reader . setFeature ( "javax.wsdl.verbose" , false ) ; reader . setFeature ( "javax.wsdl.importDocuments" , true ) ; Definition definition = reader . readWSDL ( this . wsdlLocation ) ; return definition ; }
parse the wsdl definition using wsdl4j .
