org.objectweb.jonas_ws.wsgen.generator.axis
Class AxisWsClientGenerator
java.lang.Object
org.objectweb.jonas_lib.genbase.generator.AbsGenerator
org.objectweb.jonas_ws.wsgen.generator.Generator
org.objectweb.jonas_ws.wsgen.generator.WsClientGenerator
org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsClientGenerator
public class AxisWsClientGenerator
- extends WsClientGenerator
Generate WebServices client files dedicated to axis.
-
client-config.wsdd : if needed
- java sources : from WSDL
- Author:
- Guillaume sauthier
Methods inherited from class org.objectweb.jonas_ws.wsgen.generator.Generator |
compile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisWsClientGenerator
public AxisWsClientGenerator(Config config,
ServiceRefDesc srd,
WsClientDDModifier ddm,
Archive archive)
throws GenBaseException,
WsGenException
- Creates a new AxisWsClientGenerator
- Parameters:
config
- Generator Configurationsrd
- WebService Endpoint descriptionddm
- Web DD Modifierarchive
- client archive containing WSDL
- Throws:
GenBaseException
- When instanciation fails
WsGenException
- When instanciation fails
generate
public void generate()
throws WsGenException
- generate axis specific files
- Specified by:
generate
in class Generator
- Throws:
WsGenException
- if WSDL cannot be found in archive
addFiles
public void addFiles(Archive archive)
throws WsGenException
- Add generated files in given archive
- Specified by:
addFiles
in class AbsGenerator
- Parameters:
archive
- archive where generated fils will be added.
- Throws:
WsGenException
- when files cannot be added
getI18n
public static I18n getI18n()
- Returns:
- Returns the i18n.