public interface Service
Modifier and Type | Method and Description |
---|---|
Call |
createCall()
Creates a Call object not associated with specific operation or target service endpoint.
|
Call |
createCall(QName portName)
Creates a Call instance.
|
Call |
createCall(QName portName,
QName operationName)
Creates a Call instance.
|
Call |
createCall(QName portName,
String operationName)
Creates a Call instance.
|
Call[] |
getCalls(QName portName)
Gets an array of preconfigured Call objects for invoking operations on the specified port.
|
HandlerRegistry |
getHandlerRegistry()
Returns the configured HandlerRegistry instance for this Service instance.
|
Remote |
getPort(Class seiClass)
The getPort method returns either an instance of a generated stub implementation class or a dynamic proxy.
|
Remote |
getPort(QName portName,
Class seiClass)
The getPort method returns either an instance of a generated stub implementation class or a dynamic proxy.
|
Iterator |
getPorts()
Returns an Iterator for the list of QNames of service endpoints grouped by this service
|
QName |
getServiceName()
Gets the name of this service.
|
TypeMappingRegistry |
getTypeMappingRegistry()
Gets the TypeMappingRegistry for this Service object.
|
URL |
getWSDLDocumentLocation()
Gets the location of the WSDL document for this Service.
|
Remote getPort(QName portName, Class seiClass) throws ServiceException
portName
- Qualified name of the service endpoint in the WSDL service descrseiClass
- Service endpoint interface supported by the dynamic proxy or stub instanceServiceException
- This exception is thrown in the following cases:
Remote getPort(Class seiClass) throws ServiceException
ServiceException
Call[] getCalls(QName portName) throws ServiceException
portName
- Qualified name for the target service endpointServiceException
- If this Service class does not have access to the required WSDL metadata or if an illegal portName is specified.Call createCall(QName portName) throws ServiceException
portName
- Qualified name for the target service endpointServiceException
- If any error in the creation of the Call objectCall createCall(QName portName, QName operationName) throws ServiceException
portName
- Qualified name for the target service endpointoperationName
- Qualified name of the operation for which this Call object is to be created.ServiceException
- If any error in the creation of the Call objectCall createCall(QName portName, String operationName) throws ServiceException
portName
- Qualified name for the target service endpointoperationName
- Name of the operation for which this Call object is to be created.ServiceException
- If any error in the creation of the Call objectCall createCall() throws ServiceException
ServiceException
- If any error in the creation of the Call objectQName getServiceName()
Iterator getPorts() throws ServiceException
ServiceException
- If this Service class does not have access to the required WSDL metadataURL getWSDLDocumentLocation()
TypeMappingRegistry getTypeMappingRegistry()
UnsupportedOperationException
- if the Service class does not support the configuration of TypeMappingRegistry.HandlerRegistry getHandlerRegistry()
UnsupportedOperationException
- if the Service class does not support the configuration of a HandlerRegistryCopyright © 2017 JBoss by Red Hat. All rights reserved.