public interface SoapServiceProvider
WebServiceDefinitions.
Implementations can also add a level of security by overriding the getSecurities() method.
| Modifier and Type | Method and Description |
|---|---|
default Map<String,String> |
getCustomHeaders(WebServiceDefinition definition,
String operation)
|
default List<SecurityStrategy> |
getSecurities() |
List<WebServiceDefinition> |
getWebServiceDefinitions() |
default void |
validateConfiguration()
This method is a hook for
SoapServiceProvider instances to validate the configured parameters and fail gracefully
before attempting to create a connection avoiding misleading and confusing error messages. |
List<WebServiceDefinition> getWebServiceDefinitions()
List with all the WebServiceDefinitions that the provider implementation handles.default List<SecurityStrategy> getSecurities()
List with all the Soap Securities that should be added for the services described by the provider impl.default Map<String,String> getCustomHeaders(WebServiceDefinition definition, String operation)
It returns a Map with String keys representing the name of the headers and String values representing
the actual XML soap header value.
definition - the WebServiceDefinition of the service being called.operation - the name of the operation that is going to be consumed.Map of soap headers to be bundled in the generated envelope.default void validateConfiguration()
throws SoapServiceProviderConfigurationException
SoapServiceProvider instances to validate the configured parameters and fail gracefully
before attempting to create a connection avoiding misleading and confusing error messages.SoapServiceProviderConfigurationException - if any configured parameter has an invalid value.Copyright © 2025 MuleSoft, Inc.. All rights reserved.