public class LocalJaxWsServiceFactory extends Object
Service
references.
Uses the JAX-WS Service.create(java.net.URL, javax.xml.namespace.QName)
factory API underneath.
Serves as base class for LocalJaxWsServiceFactoryBean
as well as
JaxWsPortClientInterceptor
and JaxWsPortProxyFactoryBean
.
Service
,
LocalJaxWsServiceFactoryBean
,
JaxWsPortClientInterceptor
,
JaxWsPortProxyFactoryBean
Constructor and Description |
---|
LocalJaxWsServiceFactory() |
Modifier and Type | Method and Description |
---|---|
Service |
createJaxWsService()
Create a JAX-WS Service according to the parameters of this factory.
|
String |
getNamespaceUri()
Return the namespace URI of the service.
|
protected QName |
getQName(String name)
Return a QName for the given name, relative to the namespace URI
of this factory, if given.
|
String |
getServiceName()
Return the name of the service.
|
URL |
getWsdlDocumentUrl()
Return the URL of the WSDL document that describes the service.
|
void |
setExecutor(Executor executor)
Set the JDK concurrent executor to use for asynchronous executions
that require callbacks.
|
void |
setHandlerResolver(HandlerResolver handlerResolver)
Set the JAX-WS HandlerResolver to use for all proxies and dispatchers
created through this factory.
|
void |
setNamespaceUri(String namespaceUri)
Set the namespace URI of the service.
|
void |
setServiceFeatures(WebServiceFeature... serviceFeatures)
Specify WebServiceFeature objects (e.g.
|
void |
setServiceName(String serviceName)
Set the name of the service to look up.
|
void |
setWsdlDocumentResource(Resource wsdlDocumentResource)
Set the WSDL document URL as a
Resource . |
void |
setWsdlDocumentUrl(URL wsdlDocumentUrl)
Set the URL of the WSDL document that describes the service.
|
public void setWsdlDocumentUrl(@Nullable URL wsdlDocumentUrl)
setWsdlDocumentResource(Resource)
public void setWsdlDocumentResource(Resource wsdlDocumentResource) throws IOException
Resource
.IOException
@Nullable public URL getWsdlDocumentUrl()
public void setNamespaceUri(@Nullable String namespaceUri)
public void setServiceName(@Nullable String serviceName)
public void setServiceFeatures(WebServiceFeature... serviceFeatures)
Service.create(QName, WebServiceFeature...)
public void setExecutor(Executor executor)
public void setHandlerResolver(HandlerResolver handlerResolver)
public Service createJaxWsService()
protected QName getQName(String name)
setNamespaceUri(java.lang.String)