|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.generator.AxisWSDL2JavaWrapper
public final class AxisWSDL2JavaWrapper
This is a generator wrapper that wrapps the funcionality of the Apaches Axis2 WSDL2Java generator.
| Field Summary | |
|---|---|
static java.lang.String |
MESSAGE_RECEIVER_IN_ONLY
File Ending of the MessageRecieferIn only java source file |
static java.lang.String |
MESSAGE_RECEIVER_IN_OUT_FRAGMENT
File Ending of the MessageRecieferIn and Out java source file |
static java.lang.String |
SERVICE_STAB_FRAGMENT
Filename fragment for the Stup class |
static java.lang.String |
SERVICE_XML_FILE_NAME
Name of the service.xml file |
| Constructor Summary | |
|---|---|
AxisWSDL2JavaWrapper(IWebservice ws,
IOutputFileModel model)
Initialize the generator with the specific model data |
|
| Method Summary | |
|---|---|
void |
calculateOption(java.lang.String outputFilePath)
Compute the bes generate option and define the files that need to be deleted after the generation |
void |
cleanup()
Remove the undesired artifacts |
void |
generate()
Generate all output that is needed |
AxisService |
getAxisService(java.lang.String wsdlURI)
Reads the WSDL Object Model from the given location. |
java.lang.String |
getBaseUri(java.lang.String wsdlURI)
Retrive the URI of the directory of the WSDL file |
java.util.List<java.lang.String> |
getCorretedPath(java.lang.String outputFile)
Retrieve the output path for an output fragment normaly there is only one path but there may be more |
protected Definition |
getWsdlDefinition(java.lang.String filepath)
public method to get loaded wsdl Definition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MESSAGE_RECEIVER_IN_ONLY
public static final java.lang.String MESSAGE_RECEIVER_IN_OUT_FRAGMENT
public static final java.lang.String SERVICE_XML_FILE_NAME
public static final java.lang.String SERVICE_STAB_FRAGMENT
| Constructor Detail |
|---|
public AxisWSDL2JavaWrapper(IWebservice ws,
IOutputFileModel model)
ws - Webservice modelmodel - Data model
java.lang.NullPointerException - if either argument is null| Method Detail |
|---|
public void calculateOption(java.lang.String outputFilePath)
calculateOption in interface IGeneratorWrapperoutputFilePath - the output file that should not be deletedpublic void cleanup()
cleanup in interface IGeneratorWrapperpublic void generate()
generate in interface IGeneratorWrapper
protected Definition getWsdlDefinition(java.lang.String filepath)
throws WSDLException
filepath - path to the WSDL file
WSDLExceptionpublic java.lang.String getBaseUri(java.lang.String wsdlURI)
wsdlURI -
public AxisService getAxisService(java.lang.String wsdlURI)
throws java.io.IOException
wsdlURI - the filesystem location (full path) of the WSDL file to read in.
java.io.IOException - on errors reading the WSDL filepublic java.util.List<java.lang.String> getCorretedPath(java.lang.String outputFile)
outputFile - last fragment of the absolut path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||