org.apache.axis.wsdl

Class SkeletonImpl

Implemented Interfaces:
Serializable, Skeleton

public class SkeletonImpl
extends java.lang.Object
implements Skeleton

Provides Base function implementation for the Skeleton interface

Constructor Summary

SkeletonImpl()
Constructor

Method Summary

void
add(String operation, String[] names, ParameterMode[] modes, String inputNamespace, String outputNamespace, String soapAction)
Convenience method which allows passing an array of Strings which will be converted into QNames with no namespace.
void
add(String operation, QName[] names, ParameterMode[] modes, String inputNamespace, String outputNamespace, String soapAction)
Add operation name and vector containing return and parameter names.
String
getInputNamespace(String operationName)
Used to return the namespace of the input clause of the given operation.
String
getOutputNamespace(String operationName)
Used to return the namespace of the output clause of the given operation.
ParameterMode
getParameterMode(String operationName, int n)
Used to return the mode of the n-th parameter of the specified operation.
QName
getParameterName(String operationName, int n)
Used to return the name of the n-th parameter of the specified operation.
String
getSOAPAction(String operationName)
Used to return the SOAPAction of the given operation.

Constructor Details

SkeletonImpl

public SkeletonImpl()
Constructor

Method Details

add

public void add(String operation,
                String[] names,
                ParameterMode[] modes,
                String inputNamespace,
                String outputNamespace,
                String soapAction)
Convenience method which allows passing an array of Strings which will be converted into QNames with no namespace.
Parameters:
operation -
names -
modes -
inputNamespace -
outputNamespace -
soapAction -

add

public void add(String operation,
                QName[] names,
                ParameterMode[] modes,
                String inputNamespace,
                String outputNamespace,
                String soapAction)
Add operation name and vector containing return and parameter names. The first name in the array is either the return name (which should be set to null if there is no return name)
Parameters:
operation -
names -
modes -
inputNamespace -
outputNamespace -
soapAction -

getInputNamespace

public String getInputNamespace(String operationName)
Used to return the namespace of the input clause of the given operation. Returns null if problems occur.
Parameters:
operationName -
Returns:

getOutputNamespace

public String getOutputNamespace(String operationName)
Used to return the namespace of the output clause of the given operation. Returns null if problems occur.
Parameters:
operationName -
Returns:

getParameterMode

public ParameterMode getParameterMode(String operationName,
                                      int n)
Used to return the mode of the n-th parameter of the specified operation. Use -1 to get the return mode. Returns null if problems occur or the parameter is not known.
Parameters:
operationName -
n -
Returns:

getParameterName

public QName getParameterName(String operationName,
                              int n)
Used to return the name of the n-th parameter of the specified operation. Use -1 to get the return type name Returns null if problems occur or the parameter is not known.
Parameters:
operationName -
n -
Returns:

getSOAPAction

public String getSOAPAction(String operationName)
Used to return the SOAPAction of the given operation. Returns null if problems occur.
Parameters:
operationName -
Returns:

Copyright © 2005 Apache Web Services Project. All Rights Reserved.