addOperation
public void addOperation(WSDDOperation operation)
Add a WSDDOperation to the Service.
operation
- the operation to add
addTypeMapping
public void addTypeMapping(WSDDTypeMapping mapping)
Add a WSDDTypeMapping to the Service.
mapping
-
getElementName
protected QName getElementName()
- getElementName in interface WSDDElement
getNamespaces
public Vector getNamespaces()
Obtain the list of namespaces registered for this service
- a Vector of namespaces (Strings) which should dispatch to
this service
getProviderQName
public QName getProviderQName()
getServiceDescriptionURL
public String getServiceDescriptionURL()
Get any service description URL which might be associated with this
service.
- a String containing a URL, or null.
getStyle
public Style getStyle()
Get the service style - document or RPC
getTypeMapping
public TypeMapping getTypeMapping(String encodingStyle)
getTypeMappings
public Vector getTypeMappings()
getUse
public Use getUse()
Get the service use - literal or encoded
initTMR
protected void initTMR()
throws WSDDException
Initialize a TypeMappingRegistry with the
WSDDTypeMappings.
Note: Extensions of WSDDService may override
initTMR to popluate the tmr with different
type mappings.
removeNamespaceMappings
public void removeNamespaceMappings(WSDDDeployment registry)
setCachedService
public void setCachedService(SOAPService service)
setProviderQName
public void setProviderQName(QName providerQName)
setServiceDescriptionURL
public void setServiceDescriptionURL(String sdUrl)
Set the service description URL for this service.
sdUrl
- a String containing a URL
setStyle
public void setStyle(Style style)
Set the service style - document or RPC
setTypeMappings
public void setTypeMappings(Vector typeMappings)
setUse
public void setUse(Use use)
Set the service use - literal or encoded
validateDescriptors
public void validateDescriptors()
throws WSDDException
This method can be used for dynamic deployment using new WSDDService()
etc. It validates some standard parameters for some standard providers
(if present). Do this before deployment.deployService().
writeToContext
public void writeToContext(SerializationContext context)
throws IOException
Write this element out to a SerializationContext
- writeToContext in interface WSDDElement