Class SoapProvider
java.lang.Object
org.springframework.ws.wsdl.wsdl11.provider.SoapProvider
- All Implemented Interfaces:
BindingsProvider
,ServicesProvider
Implementation of the
BindingsProvider
and ServicesProvider
interfaces that supports SOAP 1.1 and
SOAP 1.2. Delegates to Soap11Provider
and Soap12Provider
.
By setting the soapActions
property, the SOAP Actions defined in the
resulting WSDL can be set. Additionally, the transport uri can be changed from the default HTTP transport by using
the transportUri
property.
The createSoap11
and createSoap12
properties indicate whether a SOAP 1.1 or SOAP 1.2 binding should be created. These properties default to
true
and false
respectively.
- Since:
- 1.5.0
- Author:
- Arjen Poutsma
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBindings
(javax.wsdl.Definition definition) void
addServices
(javax.wsdl.Definition definition) void
setCreateSoap11Binding
(boolean createSoap11Binding) Indicates whether a SOAP 1.1 binding should be created.void
setCreateSoap12Binding
(boolean createSoap12Binding) Indicates whether a SOAP 1.2 binding should be created.void
setLocationUri
(String locationUri) Sets the value used for the SOAP Address location attribute value.void
setServiceName
(String serviceName) Sets the service name.void
setSoapActions
(Properties soapActions) Sets the SOAP Actions for this binding.void
setTransportUri
(String transportUri) Sets the value used for the binding transport attribute value.
-
Constructor Details
-
SoapProvider
public SoapProvider()
-
-
Method Details
-
setCreateSoap11Binding
public void setCreateSoap11Binding(boolean createSoap11Binding) Indicates whether a SOAP 1.1 binding should be created.Defaults to
true
. -
setCreateSoap12Binding
public void setCreateSoap12Binding(boolean createSoap12Binding) Indicates whether a SOAP 1.2 binding should be created.Defaults to
false
. -
setSoapActions
Sets the SOAP Actions for this binding. Keys arebinding operation names
; values areSOAP Action URIs
.- Parameters:
soapActions
- the soap
-
setTransportUri
Sets the value used for the binding transport attribute value. Defaults to HTTP. -
setLocationUri
Sets the value used for the SOAP Address location attribute value. -
setServiceName
Sets the service name. -
addBindings
public void addBindings(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException - Specified by:
addBindings
in interfaceBindingsProvider
- Throws:
javax.wsdl.WSDLException
-
addServices
public void addServices(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException - Specified by:
addServices
in interfaceServicesProvider
- Throws:
javax.wsdl.WSDLException
-