org.apache.axis.wsdl

Class SkeletonImpl

public class SkeletonImpl extends Object implements Skeleton

Provides Base function implementation for the Skeleton interface
Constructor Summary
SkeletonImpl()
Constructor
Method Summary
voidadd(String operation, QName[] names, ParameterMode[] modes, String inputNamespace, String outputNamespace, String soapAction)
Add operation name and vector containing return and parameter names.
voidadd(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.
StringgetInputNamespace(String operationName)
Used to return the namespace of the input clause of the given operation.
StringgetOutputNamespace(String operationName)
Used to return the namespace of the output clause of the given operation.
ParameterModegetParameterMode(String operationName, int n)
Used to return the mode of the n-th parameter of the specified operation.
QNamegetParameterName(String operationName, int n)
Used to return the name of the n-th parameter of the specified operation.
StringgetSOAPAction(String operationName)
Used to return the SOAPAction of the given operation.

Constructor Detail

SkeletonImpl

public SkeletonImpl()
Constructor

Method Detail

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

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

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 B) 2005 Apache Web Services Project. All Rights Reserved.