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