public class SoapProvider extends Object implements BindingsProvider, ServicesProvider
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.
Constructor and Description |
---|
SoapProvider() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
public void setCreateSoap11Binding(boolean createSoap11Binding)
Defaults to true
.
public void setCreateSoap12Binding(boolean createSoap12Binding)
Defaults to false
.
public void setSoapActions(Properties soapActions)
binding operation
names
; values are SOAP Action URIs
.soapActions
- the soappublic void setTransportUri(String transportUri)
public void setLocationUri(String locationUri)
public void setServiceName(String serviceName)
public void addBindings(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException
addBindings
in interface BindingsProvider
javax.wsdl.WSDLException
public void addServices(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException
addServices
in interface ServicesProvider
javax.wsdl.WSDLException
Copyright © 2018 Pivotal Software. All rights reserved.