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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBindings(javax.wsdl.Definition definition) voidaddServices(javax.wsdl.Definition definition) voidsetCreateSoap11Binding(boolean createSoap11Binding) Indicates whether a SOAP 1.1 binding should be created.voidsetCreateSoap12Binding(boolean createSoap12Binding) Indicates whether a SOAP 1.2 binding should be created.voidsetLocationUri(String locationUri) Sets the value used for the SOAP Address location attribute value.voidsetServiceName(String serviceName) Sets the service name.voidsetSoapActions(Properties soapActions) Sets the SOAP Actions for this binding.voidsetTransportUri(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:
addBindingsin interfaceBindingsProvider- Throws:
javax.wsdl.WSDLException
-
addServices
public void addServices(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException - Specified by:
addServicesin interfaceServicesProvider- Throws:
javax.wsdl.WSDLException
-