Class ProviderBasedWsdl4jDefinition
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,Wsdl11Definition
,WsdlDefinition
Wsdl11Definition
that uses a provider-based mechanism to populate a WSDL4J
Definition
.
All providers are optional, indicating that a particular part of the WSDL will not be created. Providers can be set
via various properties. The providers are invoked
in the following order:
This definition requires the target namespace to be set via setTargetNamespace(String)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The prefix used to register the target namespace in the WSDL. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns theBindingsProvider
for this definition.Returns theImportsProvider
for this definition.Returns theMessagesProvider
for this definition.Returns thePortTypesProvider
for this definition.Returns theServicesProvider
for this definition.Returns the target namespace for the WSDL definition.Returns theTypesProvider
for this definition.void
setBindingsProvider
(BindingsProvider bindingsProvider) Sets theBindingsProvider
for this definition.void
setImportsProvider
(ImportsProvider importsProvider) Sets theImportsProvider
for this definition.void
setMessagesProvider
(MessagesProvider messagesProvider) Sets theMessagesProvider
for this definition.void
setPortTypesProvider
(PortTypesProvider portTypesProvider) Sets thePortTypesProvider
for this definition.void
setServicesProvider
(ServicesProvider servicesProvider) Sets theServicesProvider
for this definition.void
setTargetNamespace
(String targetNamespace) Sets the target namespace used for this definition.void
setTypesProvider
(TypesProvider typesProvider) Sets theTypesProvider
for this definition.Methods inherited from class org.springframework.ws.wsdl.wsdl11.Wsdl4jDefinition
getDefinition, getSource, setDefinition, toString
-
Field Details
-
TARGET_NAMESPACE_PREFIX
The prefix used to register the target namespace in the WSDL.- See Also:
-
-
Constructor Details
-
ProviderBasedWsdl4jDefinition
public ProviderBasedWsdl4jDefinition()
-
-
Method Details
-
getImportsProvider
Returns theImportsProvider
for this definition.Default is
null
, indicating that no<import>
will be created- Returns:
- the import provider; or
null
-
setImportsProvider
Sets theImportsProvider
for this definition.Default is
null
, indicating that no<import>
will be created- Parameters:
importsProvider
- the import provider
-
getTypesProvider
Returns theTypesProvider
for this definition.Defaults to
null
, indicating that no<types>
will be created- Returns:
- the types provider; or
null
-
setTypesProvider
Sets theTypesProvider
for this definition.Defaults to
null
, indicating that no<types>
will be created- Parameters:
typesProvider
- the types provider; ornull
-
getMessagesProvider
Returns theMessagesProvider
for this definition.Defaults to
null
, indicating that no<message>
will be created- Returns:
- the messages provider; or
null
-
setMessagesProvider
Sets theMessagesProvider
for this definition.Defaults to
null
, indicating that no<message>
will be created- Parameters:
messagesProvider
- the messages provider; ornull
-
getPortTypesProvider
Returns thePortTypesProvider
for this definition.Defaults to
null
, indicating that no<portType>
will be created- Returns:
- the port types provider; or
null
-
setPortTypesProvider
Sets thePortTypesProvider
for this definition.Defaults to
null
, indicating that no<portType>
will be created- Parameters:
portTypesProvider
- the port types provider; ornull
-
getBindingsProvider
Returns theBindingsProvider
for this definition.Defaults to
null
, indicating that no<binding>
will be created- Returns:
- the binding provider; or
null
-
setBindingsProvider
Sets theBindingsProvider
for this definition.Defaults to
null
, indicating that no<binding>
will be created- Parameters:
bindingsProvider
- the bindings provider; ornull
-
getServicesProvider
Returns theServicesProvider
for this definition.Defaults to
null
, indicating that no<service>
will be created- Returns:
- the services provider; or
null
-
setServicesProvider
Sets theServicesProvider
for this definition.Defaults to
null
, indicating that no<service>
will be created- Parameters:
servicesProvider
- the services provider; ornull
-
getTargetNamespace
Returns the target namespace for the WSDL definition.- Returns:
- the target namespace
- See Also:
-
Definition.getTargetNamespace()
-
setTargetNamespace
Sets the target namespace used for this definition. Required.- Parameters:
targetNamespace
- the target namespace- See Also:
-
Definition.setTargetNamespace(String)
-
afterPropertiesSet
public void afterPropertiesSet() throws javax.wsdl.WSDLException- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
javax.wsdl.WSDLException
-