public class JAXWSRIWSDLGenerator extends Object implements org.apache.axis2.dataretrieval.SchemaSupplier, org.apache.axis2.dataretrieval.WSDLSupplier
| Constructor and Description |
|---|
JAXWSRIWSDLGenerator(org.apache.axis2.description.AxisService axisService) |
JAXWSRIWSDLGenerator(org.apache.axis2.description.AxisService axisService,
org.apache.axis2.engine.AxisConfiguration axisConfig) |
| Modifier and Type | Method and Description |
|---|---|
static String |
expandDirs(String dirPaths)
Expand a directory path or list of directory paths (File.pathSeparator
delimited) into a list of file paths of all the jar files in those
directories.
|
void |
generateWsdl(String className,
String bindingType)
This method will drive the call to WsGen to generate a WSDL file for
applications deployed without WSDL.
|
void |
generateWsdl(String className,
String bindingType,
JAXWSCatalogManager catalogManager)
This method will drive the call to WsGen to generate a WSDL file for
applications deployed without WSDL.
|
static JAXWSCatalogManager |
getCatalogManager(org.apache.axis2.description.AxisService service)
Get the CatalogManager associated with an AxisService
|
String |
getDefaultClasspath(String webBase)
Get the default classpath from various thingies in the message context
|
org.apache.ws.commons.schema.XmlSchema |
getSchema(org.apache.axis2.description.AxisService service,
String xsd) |
javax.wsdl.Definition |
getWSDL(org.apache.axis2.description.AxisService service) |
static boolean |
isJar(InputStream is)
Check if this inputstream is a jar/zip
|
public JAXWSRIWSDLGenerator(org.apache.axis2.description.AxisService axisService)
public JAXWSRIWSDLGenerator(org.apache.axis2.description.AxisService axisService,
org.apache.axis2.engine.AxisConfiguration axisConfig)
public void generateWsdl(String className, String bindingType) throws WebServiceException
WebServiceExceptionpublic void generateWsdl(String className, String bindingType, JAXWSCatalogManager catalogManager) throws WebServiceException
WebServiceExceptionpublic javax.wsdl.Definition getWSDL(org.apache.axis2.description.AxisService service)
throws org.apache.axis2.AxisFault
getWSDL in interface org.apache.axis2.dataretrieval.WSDLSupplierorg.apache.axis2.AxisFaultpublic org.apache.ws.commons.schema.XmlSchema getSchema(org.apache.axis2.description.AxisService service,
String xsd)
throws org.apache.axis2.AxisFault
getSchema in interface org.apache.axis2.dataretrieval.SchemaSupplierorg.apache.axis2.AxisFaultpublic static String expandDirs(String dirPaths)
dirPaths - The string containing the directory path or list of
directory paths.public static boolean isJar(InputStream is)
is - public static JAXWSCatalogManager getCatalogManager(org.apache.axis2.description.AxisService service)
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.