use of com.ibm.wsdl.factory.WSDLFactoryImpl in project pentaho-platform by pentaho.
the class AxisUtil method getWsdlDefinition.
public static Definition getWsdlDefinition(AxisConfiguration axisConfig, IServiceConfig webservice) throws Exception {
String wsdlStr = getWsdl(axisConfig, webservice);
InputStream in = new ByteArrayInputStream(wsdlStr.getBytes());
InputSource source = new InputSource(in);
WSDLFactoryImpl factory = new WSDLFactoryImpl();
WSDLReader reader = factory.newWSDLReader();
// $NON-NLS-1$
Definition def = reader.readWSDL("", source);
return def;
}
Aggregations