|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cuba.util.AxisUtils
public class AxisUtils
AxisUtils.
QS-Note: The axis-utils "wsdl2java" and "java2wsdl" are called via a system.exex because they do system.exit internally. :(
Constructor Summary | |
---|---|
AxisUtils()
|
Method Summary | |
---|---|
static void |
generateSOAPStubs(CUBAComponent pComponent,
java.lang.String pOutputDirectory)
Generates the Axis stubs for the given component. |
static void |
generateWSDD(CUBAComponent pComponent,
java.lang.String serviceName,
java.lang.String pOutputDirectory)
Generates the WSDD-Files for the given component. |
static java.lang.String |
generateWSDL(CUBAComponent pComponent,
java.lang.String serviceName,
java.lang.String pOutputDirectory,
java.lang.String pAxisStyle,
java.lang.String pAxisVersion,
java.lang.String pInterfaceName)
Generates a wsdl file for the given component. |
protected static java.lang.String |
getWSDLFileName(java.lang.String serviceName,
java.lang.String pOutputDirectory)
Returns the file-name of the WSDL-file for the given component in the output-directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxisUtils()
Method Detail |
---|
public static java.lang.String generateWSDL(CUBAComponent pComponent, java.lang.String serviceName, java.lang.String pOutputDirectory, java.lang.String pAxisStyle, java.lang.String pAxisVersion, java.lang.String pInterfaceName) throws GeneratorException
pComponent
- component to generate wsdl forpOutputDirectory
- Output-directory for generated WSDLpAxisStyle
- Axis-StylepAxisVersion
- Axis-versionpInterfaceName
- Full-qualified class-name of the java-interface, if null
, the external
component-interface is used.
GeneratorException
protected static java.lang.String getWSDLFileName(java.lang.String serviceName, java.lang.String pOutputDirectory)
public static void generateWSDD(CUBAComponent pComponent, java.lang.String serviceName, java.lang.String pOutputDirectory) throws GeneratorException
pComponent
- Component to generate WSDD-files forpOutputDirectory
- Output-directory for WSDD-files
GeneratorException
public static void generateSOAPStubs(CUBAComponent pComponent, java.lang.String pOutputDirectory) throws GeneratorException
Note: make sure no such directory exists in the output directory.
pComponent
- Component to generate stubs forpOutputDirectory
- Output-directory for stub files
GeneratorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |