This task executes a given process with the given parameters asynchronously.
Input Parameters
Parameter name | Description | Data type | Example values | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Payload | Data to be written into SOAP server. | String | "<foo>bar</foo>" | ||||||||||||
RequestType | If payload is already soap-format the use RAW otherwise use SOAPMessage then Payload is not wrapped inside the soap-format. | SOAPRequestType | Raw/SOAPMessage | ||||||||||||
ResponseType | How task returns value RAW = string, SOAPMessage = string(but soap envelope has been removed), Dynamic = ExpandoObject, Both is reserved future use and dotn't use this. | SOAPRequestResponseType | Raw / SOAPMessage / Dynamic / Both | ||||||||||||
ServiceAddress | SOAP server address | String | "https://foo.bar/api/v1/" | ||||||||||||
SOAPAction | SOAP action | String | "foo" | ||||||||||||
ContentType | Http header content type value | String | "text/xml" | ||||||||||||
ContentEncoding | Http header for encoding | String | "UTF-8" | ||||||||||||
CertificateFile | File path where is certification file if SOAP server requires this to accept calls. Can be null or empty otherwise. | String | "c:\foo\bar.cer" | ||||||||||||
TimeoutSecond | Second to be wait server response before call is considered as an failure. | ||||||||||||||
Headers | Extra headers for HTTP-message(optional)
| Object collection |
Output
The SOAP response XML.
Example Usage
Payload: "<foo>bar</foo>"
RequestType: SOAPRequestType.Raw
ResponseType: SOAPRequestResponseType.Raw
ServiceAddress: "www.foo.bar/api"
SOAPAction: "foo"
ContentType: "text/xml"
ContentEncoding: "UTF-8"
CertificateFile: null
TimeoutSecond: 30
Headers:
- Header 1
- Name = ""
- Value = ""
Results
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header> <Message></Message> </SOAP-ENV:Header> </SOAP-ENV:Envelope>