Modules
Module soap
API
Declarations
ballerina/soap Ballerina library
Functions
applyInboundConfig
function applyInboundConfig(InboundConfig inboundSecurity, xml envelope, boolean soap12) returns xml|ErrorapplySecurityPolicies
function applySecurityPolicies(OutboundSecurityConfig|OutboundSecurityConfig[] security, xml envelope, boolean soap12) returns xml|Error|ErrorParameters
- security OutboundSecurityConfig|OutboundSecurityConfig[] -
- envelope xml -
- soap12 boolean (default true) -
assertSignatureWithoutX509
function assertSignatureWithoutX509(string securedEnvelope)Parameters
- securedEnvelope string -
assertSymmetricBinding
assertUsernameToken
function assertUsernameToken(string envelopeString, string username, string password, PasswordType passwordType, string body) returns error?Parameters
- envelopeString string -
- username string -
- password string -
- passwordType PasswordType -
- body string -
getReadOnlyClientConfig
function getReadOnlyClientConfig(ClientConfig original) returns readonly & ClientConfigParameters
- original ClientConfig -
sendOnly
sendReceive
validateTransportBindingPolicy
function validateTransportBindingPolicy(ClientConfig config) returns Error?Parameters
- config ClientConfig -
Enums
soap: CanonicalizationAlgorithm
Represents enums for all the supported canonicalization algorithms.
Members
soap: DigestAlgorithm
Represents enums for all the supported digest algorithms.
Members
soap: EncryptionAlgorithm
Represents enums for all the supported encryption algorithms.
Members
soap: PasswordType
Represents enums for all the supported password types.
Members
soap: SignatureAlgorithm
Represents enums for all the supported signature algorithms.
Members
Records
soap: ClientConfig
SOAP client configurations.
Fields
- httpConfig ClientConfiguration(default {}) - HTTP Configuration
- outboundSecurity OutboundSecurityConfig|OutboundSecurityConfig[](default NO_POLICY) - Web service security configurations for SOAP requests
- inboundSecurity InboundSecurityConfig(default {}) - Web service security configurations to decrypt and verify SOAP responses
Errors
soap: Error
Defines the common error type for the module.
Simple name reference types
soap: InboundSecurityConfig
InboundSecurityConfig
Represents the record for outbound security configurations to verify and decrypt SOAP envelopes.
soap: OutboundSecurityConfig
OutboundSecurityConfig
Union type of all the outbound web service security configurations.
Import
import ballerina/soap;Metadata
Released date: 11 months ago
Version: 2.2.0
License: Apache-2.0
Compatibility
Platform: java21
Ballerina version: 2201.11.0-20241209-162400-0c015833
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
soap
Contributors