Error when reading WSDL

Fabrício <[email protected]> Wed, 11 Jan 2006 06:41:49 -0200
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
Hello all,

 

I have to read a WSDL from a servlet. I’m doing this using the commands:

 

      WSDLFactory factory = new WSIFWSDLFactoryImpl();

WSDLReader wsdlReader = factory.newWSDLReader();

      wsdlReader.setFeature("javax.wsdl.verbose", true);

      wsdlReader.setFeature("javax.wsdl.importDocuments", true);

      Definition WsdlDefinition = wsdlReader.readWSDL(urlWsdl);

 

But when the line “Definition WsdlDefinition =
wsdlReader.readWSDL(urlWsdl);” arrives, the following error occurs:

 

      WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating
factory implementation.: org.apache.wsif.wsdl.WSIFWSDLFactoryImpl

 

Do you have any idea why this is happening?

 

Thanks a lot,

 

Fabricio.