protected Service createService(ServiceFactory serviceFactory) throws ServiceException(Code)
Actually create the JAX-RPC Service instance,
based on this factory's settings.
Parameters: serviceFactory - the JAX-RPC ServiceFactory to use the newly created JAX-RPC Service throws: ServiceException - if thrown by JAX-RPC methods See Also: javax.xml.rpc.ServiceFactory.createService See Also: javax.xml.rpc.ServiceFactory.loadService
Create a JAX-RPC ServiceFactory, either of the specified class
or the default.
throws: ServiceException - if thrown by JAX-RPC methods See Also:LocalJaxRpcServiceFactory.setServiceFactoryClass See Also: javax.xml.rpc.ServiceFactory.newInstance
The default implementation delegates to all registered
JaxRpcServicePostProcessor JaxRpcServicePostProcessors .
It is usually preferable to implement custom type mappings etc there rather
than in a subclass of this factory, to allow for reuse of the post-processors.
Parameters: service - the current JAX-RPC Service(can be cast to an implementation-specific class if necessary) See Also:LocalJaxRpcServiceFactory.setServicePostProcessors See Also: javax.xml.rpc.Service.getTypeMappingRegistry
setJaxRpcServiceInterface
public void setJaxRpcServiceInterface(Class jaxRpcServiceInterface)(Code)
Set the JAX-RPC service interface to use for looking up the service.
If specified, this will override a "serviceName" setting.
The specified interface will usually be a generated JAX-RPC service
interface that directly corresponds to the WSDL service declaration.
Note that this is not a port interface or the application-level service
interface to be exposed by a port proxy!
Only supported by JAX-RPC 1.1 providers.
See Also:LocalJaxRpcServiceFactory.setServiceName See Also: javax.xml.rpc.ServiceFactory.loadService(Class) See Also: javax.xml.rpc.ServiceFactory.loadService(java.net.URLClassjava.util.Properties)
setJaxRpcServiceProperties
public void setJaxRpcServiceProperties(Properties jaxRpcServiceProperties)(Code)
Set JAX-RPC service properties to be passed to the ServiceFactory, if any.
Only supported by JAX-RPC 1.1 providers.
See Also: javax.xml.rpc.ServiceFactory.loadService(java.net.URLjavax.xml.namespace.QNamejava.util.Properties) See Also: javax.xml.rpc.ServiceFactory.loadService(java.net.URLClassjava.util.Properties)
setNamespaceUri
public void setNamespaceUri(String namespaceUri)(Code)
Set the namespace URI of the service.
Corresponds to the WSDL "targetNamespace".
setServiceFactory
public void setServiceFactory(ServiceFactory serviceFactory)(Code)
Set the ServiceFactory instance to use.
This is an alternative to the common "serviceFactoryClass" property,
allowing for a pre-initialized ServiceFactory instance to be specified.
See Also:LocalJaxRpcServiceFactory.setServiceFactoryClass
setServiceFactoryClass
public void setServiceFactoryClass(Class serviceFactoryClass)(Code)
Set the ServiceFactory class to use, for example
"org.apache.axis.client.ServiceFactory".
Does not need to be set if the JAX-RPC implementation has registered
itself with the JAX-RPC system property "SERVICEFACTORY_PROPERTY".
See Also: javax.xml.rpc.ServiceFactory
setServiceName
public void setServiceName(String serviceName)(Code)
Set the name of the service to look up.
Corresponds to the "wsdl:service" name.
See Also: javax.xml.rpc.ServiceFactory.createService(javax.xml.namespace.QName) See Also: javax.xml.rpc.ServiceFactory.createService(java.net.URLjavax.xml.namespace.QName) See Also: javax.xml.rpc.ServiceFactory.loadService(java.net.URLjavax.xml.namespace.QNamejava.util.Properties)
Set the JaxRpcServicePostProcessors to be applied to JAX-RPC Service
instances created by this factory.
Such post-processors can, for example, register custom type mappings.
They are reusable across all pre-built subclasses of this factory:
LocalJaxRpcServiceFactoryBean, JaxRpcPortClientInterceptor,
JaxRpcPortProxyFactoryBean.
See Also:LocalJaxRpcServiceFactoryBean See Also:JaxRpcPortClientInterceptor See Also:JaxRpcPortProxyFactoryBean
setWsdlDocumentUrl
public void setWsdlDocumentUrl(URL wsdlDocumentUrl)(Code)
Set the URL of the WSDL document that describes the service.