Package org.apache.axis.description
Interface ServiceDesc
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JavaServiceDesc
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOperationDesc
(OperationDesc operation) get the documentation for the servicegetName()
the name of the servicegetOperationByElementQName
(QName qname) Map an XML QName to an operation.getOperationByName
(String methodName) Return an operation matching the given method name.get all the operations as a list of OperationDescs.getOperationsByName
(String methodName) get all overloaded operations by namegetOperationsByQName
(QName qname) Return all operations which match this QName (i.e.getProperty
(String name) getStyle()
What kind of service is this?getUse()
What kind of use is this?the wsdl file of the service.boolean
boolean
Determine whether or not this is a "wrapped" invocation, i.e.void
removeOperationDesc
(OperationDesc operation) void
setAllowedMethods
(List allowedMethods) void
setDefaultNamespace
(String namespace) void
setDisallowedMethods
(List disallowedMethods) void
setDocumentation
(String documentation) set the documentation for the servicevoid
setEndpointURL
(String endpointURL) void
the name of the servicevoid
setNamespaceMappings
(List namespaces) void
setProperty
(String name, Object value) void
void
void
void
void
setWSDLFile
(String wsdlFileName) set the wsdl file of the service; this causes the named file to be returned on a ?wsdl, probe, not introspection generated wsdl.
-
Method Details
-
getStyle
Style getStyle()What kind of service is this?- Returns:
-
setStyle
-
getUse
Use getUse()What kind of use is this?- Returns:
-
setUse
-
getWSDLFile
String getWSDLFile()the wsdl file of the service. When null, it means that the wsdl should be autogenerated- Returns:
- filename or null
-
setWSDLFile
set the wsdl file of the service; this causes the named file to be returned on a ?wsdl, probe, not introspection generated wsdl.- Parameters:
wsdlFileName
- filename or null to re-enable introspection
-
getAllowedMethods
List getAllowedMethods() -
setAllowedMethods
-
getTypeMapping
TypeMapping getTypeMapping() -
setTypeMapping
-
getName
String getName()the name of the service -
setName
the name of the service- Parameters:
name
-
-
getDocumentation
String getDocumentation()get the documentation for the service -
setDocumentation
set the documentation for the service -
removeOperationDesc
-
addOperationDesc
-
getOperations
ArrayList getOperations()get all the operations as a list of OperationDescs. this method triggers an evaluation of the valid operations by introspection, so use sparingly- Returns:
- reference to the operations array. This is not a copy
-
getOperationsByName
get all overloaded operations by name- Parameters:
methodName
-- Returns:
- null for no match, or an array of OperationDesc objects
-
getOperationByName
Return an operation matching the given method name. Note that if we have multiple overloads for this method, we will return the first one.- Returns:
- null for no match
-
getOperationByElementQName
Map an XML QName to an operation. Returns the first one it finds in the case of mulitple matches.- Returns:
- null for no match
-
getOperationsByQName
Return all operations which match this QName (i.e. get all the overloads)- Returns:
- null for no match
-
setNamespaceMappings
-
getDefaultNamespace
String getDefaultNamespace() -
setDefaultNamespace
-
setProperty
-
getProperty
-
getEndpointURL
String getEndpointURL() -
setEndpointURL
-
getTypeMappingRegistry
TypeMappingRegistry getTypeMappingRegistry() -
setTypeMappingRegistry
-
isInitialized
boolean isInitialized() -
isWrapped
boolean isWrapped()Determine whether or not this is a "wrapped" invocation, i.e. whether the outermost XML element of the "main" body element represents a method call, with the immediate children of that element representing arguments to the method.- Returns:
- true if this is wrapped (i.e. RPC or WRAPPED style), false otherwise
-
getDisallowedMethods
List getDisallowedMethods() -
setDisallowedMethods
-