|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Service class acts as a factory for:
| Method Summary | |
Call |
createCall()
Creates a Call object not associated with specific operation or target service endpoint. |
Call |
createCall(javax.xml.namespace.QName portName)
Creates a Call instance. |
Call |
createCall(javax.xml.namespace.QName portName,
javax.xml.namespace.QName operationName)
Creates a Call instance. |
Call |
createCall(javax.xml.namespace.QName portName,
String operationName)
Creates a Call instance. |
Call[] |
getCalls(javax.xml.namespace.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(javax.xml.namespace.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 |
javax.xml.namespace.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. |
| Method Detail |
public URL getWSDLDocumentLocation()
public Iterator getPorts() throws ServiceException
ServiceException - If this Service class does not have access to the required WSDL metadatapublic javax.xml.namespace.QName getServiceName()
public Call createCall() throws ServiceException
ServiceException - If any error in the creation of the Call objectpublic TypeMappingRegistry getTypeMappingRegistry()
UnsupportedOperationException - if the Service class does not support the configuration of TypeMappingRegistry.public HandlerRegistry getHandlerRegistry()
UnsupportedOperationException - if the Service class does not support the configuration of a HandlerRegistrypublic Remote getPort(Class seiClass) throws ServiceException
ServiceExceptionpublic Call createCall(javax.xml.namespace.QName portName) throws ServiceException
portName - Qualified name for the target service endpoint
ServiceException - If any error in the creation of the Call objectpublic Call[] getCalls(javax.xml.namespace.QName portName) throws ServiceException
portName - Qualified name for the target service endpoint
ServiceException - If this Service class does not have access to the required WSDL metadata or if an illegal portName is specified.public Remote getPort(javax.xml.namespace.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 instance
ServiceException - This exception is thrown in the following cases:
public Call createCall(javax.xml.namespace.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 objectpublic Call createCall(javax.xml.namespace.QName portName, javax.xml.namespace.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 object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||