org.apache.axis.client
public class ServiceFactory extends ServiceFactory implements ObjectFactory
Field Summary | |
---|---|
static String | MAINTAIN_SESSION |
static String | SERVICE_CLASSNAME |
static String | SERVICE_IMPLEMENTATION_NAME_PROPERTY |
static String | SERVICE_LOCAL_PART |
static String | SERVICE_NAMESPACE |
static String | WSDL_LOCATION |
Method Summary | |
---|---|
Service | createService(URL wsdlDocumentLocation, QName serviceName)
Create a Service instance. |
Service | createService(QName serviceName)
Create a Service instance. |
Object | getObjectInstance(Object refObject, Name name, Context nameCtx, Hashtable environment) |
static Service | getService(Map environment)
Obtain an AxisClient reference, using JNDI if possible, otherwise
creating one using the standard Axis configuration pattern. |
Service | loadService(Class serviceInterface)
Create an instance of the generated service implementation class
for a given service interface, if available.
|
Service | loadService(URL wsdlDocumentLocation, Class serviceInterface, Properties properties)
Create an instance of the generated service implementation class
for a given service interface, if available.
|
Service | loadService(URL wsdlDocumentLocation, QName serviceName, Properties properties)
Create an instance of the generated service implementation class
for a given service, if available.
|
static void | setThreadDefaultConfig(EngineConfiguration config) |
Parameters: wsdlDocumentLocation URL for the WSDL document location for the service serviceName QName for the service.
Returns: Service.
Throws: ServiceException If any error in creation of the specified service
Parameters: serviceName QName for the service
Returns: Service.
Throws: ServiceException If any error in creation of the specified service
Parameters: environment
Returns: a service
Parameters: serviceInterface Service interface
Returns: Service.
Throws: ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
Parameters: wsdlDocumentLocation URL for the WSDL document location for the service or null serviceInterface Service interface properties A set of implementation-specific properties to help locate the generated service implementation class
Returns: Service.
Throws: ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
Parameters: wsdlDocumentLocation URL for the WSDL document location for the service or null serviceName Qualified name for the service properties A set of implementation-specific properties to help locate the generated service implementation class
Returns: Service.
Throws: ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located