String wsdlStr = getWsdl( axisConfig, webservice );
InputStream in = new ByteArrayInputStream( wsdlStr.getBytes() );
InputSource source = new InputSource( in );
WSDLFactoryImpl factory = new WSDLFactoryImpl();
WSDLReader reader = factory.newWSDLReader();
Definition def = reader.readWSDL( "", source ); //$NON-NLS-1$
return def;
}
public static String getWsdl( AxisConfiguration axisConfig, IServiceConfig webservice ) throws Exception {