org.apache.axis2.jaxws.description
Interface ServiceDescription


public interface ServiceDescription

A ServiceDescription corresponds to a Service under which there can be a collection of enpdoints. In WSDL 1.1 terms, then, a ServiceDescription corresponds to a wsdl:Service under which there are one or more wsdl:Port entries. The ServiceDescription is the root of the metdata abstraction Description hierachy.

The Description hierachy is:

 ServiceDescription
     EndpointDescription[]
         EndpointInterfaceDescription
             OperationDescription[]
                 ParameterDescription[]
                 FaultDescription[]
 

ServiceDescription details

CORRESPONDS TO: On the Client: The JAX-WS Service class or generated subclass.

On the Server: The Service implementation. Note that there is a 1..1 correspondence between a ServiceDescription and EndpointDescription on the server side.

AXIS2 DELEGATE: None

CHILDREN: 1..n EndpointDescription

ANNOTATIONS: None

WSDL ELEMENTS: service


Method Summary
 ConfigurationContext getAxisConfigContext()
           
 EndpointDescription[] getEndpointDescription(java.lang.Class seiClass)
          Return the EndpointDescriptions corresponding to the SEI class.
 EndpointDescription getEndpointDescription(QName portQName)
           
 java.util.Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
           
 EndpointDescription[] getEndpointDescriptions()
           
 HandlerChainsType getHandlerChain()
           
 java.util.List<QName> getPorts()
          Returns a list of the ports for this serivce.
 ServiceClient getServiceClient(QName portQName)
           
 QName getServiceQName()
           
 ServiceRuntimeDescription getServiceRuntimeDesc(java.lang.String name)
           
 boolean isServerSide()
           
 void setServiceRuntimeDesc(ServiceRuntimeDescription ord)
           
 

Method Detail

getEndpointDescriptions

EndpointDescription[] getEndpointDescriptions()

getEndpointDescriptions_AsCollection

java.util.Collection<EndpointDescription> getEndpointDescriptions_AsCollection()

getEndpointDescription

EndpointDescription getEndpointDescription(QName portQName)

getEndpointDescription

EndpointDescription[] getEndpointDescription(java.lang.Class seiClass)
Return the EndpointDescriptions corresponding to the SEI class. Note that Dispatch endpoints will never be returned because they do not have an associated SEI.

Parameters:
seiClass -
Returns:

getAxisConfigContext

ConfigurationContext getAxisConfigContext()

getServiceClient

ServiceClient getServiceClient(QName portQName)

getServiceQName

QName getServiceQName()

getHandlerChain

HandlerChainsType getHandlerChain()

getPorts

java.util.List<QName> getPorts()
Returns a list of the ports for this serivce. The ports returned are the - Ports declared ports for this Service. They can be delcared in the WSDL or via annotations. - Dynamic ports added to the service

Returns:

getServiceRuntimeDesc

ServiceRuntimeDescription getServiceRuntimeDesc(java.lang.String name)

setServiceRuntimeDesc

void setServiceRuntimeDesc(ServiceRuntimeDescription ord)

isServerSide

boolean isServerSide()


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