Functions of org.wso2.ballerina.connectors.soap package
function constructSoapRequest(xml payload, string namespace, xml[] headers) (xml )
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
payload | xml | |
namespace | string | |
headers | xml[] |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
xml |
Connectors of org.wso2.ballerina.connectors.soap package
connector ClientConnector (string url)
The SOAP client connector
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
url | string | The url |
action send()
Call a soap endpoint
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
headers | xml[] | Headers of the SOAP request |
payload | xml | The payload to request |
soapAction | string | The soap action |
url | string | The soap endpoint url |
soapVersion | string | The soap version |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
xml | response xml |