public class SoapWebServiceConfigurationBuilder extends Object
SoapWebServiceConfiguration instances.| Modifier and Type | Method and Description |
|---|---|
SoapWebServiceConfiguration |
build() |
SoapWebServiceConfigurationBuilder |
enableMtom(boolean mtomEnabled)
Specifies that the Web Service is MTOM enabled.
|
SoapWebServiceConfigurationBuilder |
withAddress(String address)
Sets the address of the Web Service, if none specified it will be fetched from the wsdl file, if possible.
|
SoapWebServiceConfigurationBuilder |
withEncoding(String encoding)
Sets the encoding of the messages send and retrieved by the .
|
SoapWebServiceConfigurationBuilder |
withPort(String port)
Sets the port of the service that describes the set of operations that can be performed.
|
SoapWebServiceConfigurationBuilder |
withResourceLocator(TransportResourceLocator locator)
Sets a
TransportResourceLocator instance to fetch the wsdl resources. |
SoapWebServiceConfigurationBuilder |
withSecurities(List<SecurityStrategy> security)
Sets a list of
SecurityStrategies to connect with a Secured Soap Web Service. |
SoapWebServiceConfigurationBuilder |
withSecurity(SecurityStrategy security)
Sets a new
SecurityStrategy to connect with a Secured Soap Web Service. |
SoapWebServiceConfigurationBuilder |
withService(String service)
Sets the service of the WSDL we want to perform operations from.
|
SoapWebServiceConfigurationBuilder |
withVersion(SoapVersion version)
Sets the
SoapVersion of the Web Service. |
SoapWebServiceConfigurationBuilder |
withWsdlLocation(String wsdlLocation)
Sets the location of the WSDL that describes the SOAP web service.
|
public SoapWebServiceConfigurationBuilder withWsdlLocation(String wsdlLocation)
public SoapWebServiceConfigurationBuilder withAddress(String address)
public SoapWebServiceConfigurationBuilder withService(String service)
public SoapWebServiceConfigurationBuilder withPort(String port)
public SoapWebServiceConfigurationBuilder withEncoding(String encoding)
public SoapWebServiceConfigurationBuilder withVersion(SoapVersion version)
SoapVersion of the Web Service. defaults to SOAP 1.1public SoapWebServiceConfigurationBuilder enableMtom(boolean mtomEnabled)
public SoapWebServiceConfigurationBuilder withSecurity(SecurityStrategy security)
SecurityStrategy to connect with a Secured Soap Web Service.
Multiple Security Strategies can be configured.
public SoapWebServiceConfigurationBuilder withSecurities(List<SecurityStrategy> security)
SecurityStrategies to connect with a Secured Soap Web Service.public SoapWebServiceConfigurationBuilder withResourceLocator(TransportResourceLocator locator)
TransportResourceLocator instance to fetch the wsdl resources.public SoapWebServiceConfiguration build()
SoapWebServiceConfiguration instance with the attributes specified.Copyright © 2020. All rights reserved.